Files
msd-core/docs/features/queryable-codebase-intelligence.md
Jakub Zych a9a7a328e6 refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD
across contents and paths, upstream package/repo coordinates -> @golem15/msd-core
and golem15com/msd-core. Deep links into upstream history, sibling upstream
packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is.

Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line,
package/plugin identity, regenerated lockfile, install-tree fixtures, derived
registries and benchmark baseline; migration checksum baseline re-locked
(MSD keeps its own install state, so no install had applied the old sums);
sort-order and regex-escaped expectations in tests adjusted.
2026-10-06 01:47:40 +02:00

1.3 KiB

id, title, group
id title group
90 Queryable Codebase Intelligence v1.34.0 Features

Command: /msd-map-codebase --query [<term>|status|diff|refresh] Config: intel.enabled

Purpose: Maintain a queryable JSON index of codebase structure, API surface, dependency graph, file roles, and architecture decisions in .planning/intel/. Enables targeted lookups without reading the entire codebase.

Requirements:

  • REQ-INTEL-01: Intel files MUST be stored as JSON in .planning/intel/
  • REQ-INTEL-02: query mode MUST search across all intel files for a term and group results by file
  • REQ-INTEL-03: status mode MUST report freshness (FRESH/STALE, stale threshold: 24 hours)
  • REQ-INTEL-04: diff mode MUST compare current intel state to the last snapshot
  • REQ-INTEL-05: refresh mode MUST spawn the intel-updater agent to rebuild all files
  • REQ-INTEL-06: Feature MUST be opt-in via intel.enabled: true

Intel files produced:

File Contents
stack.json Technology stack and dependencies
api-map.json Exported functions and API surface
dependency-graph.json Inter-module dependency relationships
file-roles.json Role classification for each source file
arch-decisions.json Detected architecture decisions