chore: clear dead test and allowlist leftovers of dropped runtimes
Some checks failed
Tests / PR mergeability (push) Successful in 18s
Tests / Base branch health (push) Successful in 9s
Tests / Detect test scope (push) Successful in 16s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 58s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 18s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Duplicate auto-close sweep / sweep (push) Successful in 19s
CI timeout budget report / report (push) Failing after 14s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 9s
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled

This commit is contained in:
Jakub Zych
2026-10-06 20:30:09 +02:00
parent 792139b5ed
commit fe3ed06691
83 changed files with 308 additions and 1997 deletions

View File

@@ -39,32 +39,9 @@ Spawned by `/msd:map-codebase --query`, which has already confirmed `intel.enabl
## Project Scope
<!-- Layout detection: only meaningful when analysing the MSD framework's own repo (#3290). -->
**Runtime layout detection (MSD framework repo only):** if `package.json` `"name"` equals `"@golem15/msd-core"`, this project IS the MSD framework — detect the runtime root to choose canonical paths:
```bash
if [[ "$(jq -r '.name // ""' package.json 2>/dev/null)" == "@golem15/msd-core" ]]; then
ls -d .kilo 2>/dev/null && echo "kilo" || (ls -d .claude/msd-core 2>/dev/null && echo "claude") || echo "unknown"
fi
```
For all other projects, skip this step and go to Step 1.
Use the detected root (when applicable) to resolve canonical paths:
| Source type | Standard `.claude` layout | `.kilo` layout |
|-------------|--------------------------|----------------|
| Agent files | `agents/*.md` | `.kilo/agents/*.md` |
| Command files | `commands/msd/*.md` | `.kilo/command/*.md` |
| CLI tooling | `msd-core/bin/` | `.kilo/msd-core/bin/` |
| Workflow files | `msd-core/workflows/` | `.kilo/msd-core/workflows/` |
| Reference docs | `msd-core/references/` | `.kilo/msd-core/references/` |
| Hook files | `hooks/*.js` | `.kilo/hooks/*.js` |
When analyzing this project, use ONLY the canonical source locations matching the detected layout — do not fall back to standard layout paths if `.kilo` is detected (those paths will be empty, producing semantically empty intel).
EXCLUDE from counts/analysis: `.planning/` (planning docs, not project code); `node_modules/`, `dist/`, `build/`, `.git/`.
**Count accuracy:** when reporting component counts (stack.json, arch-decisions.json), always derive counts by running Glob on the layout-resolved canonical locations, never from memory or CLAUDE.md. E.g. standard: `Glob("agents/*.md")`; kilo: `Glob(".kilo/agents/*.md")`.
**Count accuracy:** when reporting component counts (stack.json, arch-decisions.json), always derive counts by running Glob on the canonical source locations (agents, commands, hooks, workflows), never from memory or CLAUDE.md. E.g. `Glob("agents/*.md")`.
## Forbidden Files
NEVER read or include in output: `.env` files (except `.env.example`/`.env.template`); `*.key`, `*.pem`, `*.pfx`, `*.p12`; files with `credential`/`secret` in their name; `*.keystore`, `*.jks`; `id_rsa`, `id_ed25519`; `node_modules/`, `.git/`, `dist/`, `build/` directories. If encountered, skip silently — do NOT include contents.

View File

@@ -57,40 +57,14 @@ The /msd:map-codebase --query command has already confirmed that intel.enabled i
## Project Scope
<!-- Layout detection: only meaningful when analysing the MSD framework's own repo (#3290). -->
**Runtime layout detection (MSD framework repo only):** If `package.json` `"name"` equals `"@golem15/msd-core"`, this project IS the MSD framework. In that case, detect the runtime root to choose canonical paths:
```bash
# Only run layout detection when analysing the MSD framework repo itself.
if [[ "$(jq -r '.name // ""' package.json 2>/dev/null)" == "@golem15/msd-core" ]]; then
ls -d .kilo 2>/dev/null && echo "kilo" || (ls -d .claude/msd-core 2>/dev/null && echo "claude") || echo "unknown"
fi
```
For all other projects, skip this step and proceed directly to Step 1.
Use the detected root (when applicable) to resolve all canonical paths below:
| Source type | Standard `.claude` layout | `.kilo` layout |
|-------------|--------------------------|----------------|
| Agent files | `agents/*.md` | `.kilo/agents/*.md` |
| Command files | `commands/msd/*.md` | `.kilo/command/*.md` |
| CLI tooling | `msd-core/bin/` | `.kilo/msd-core/bin/` |
| Workflow files | `msd-core/workflows/` | `.kilo/msd-core/workflows/` |
| Reference docs | `msd-core/references/` | `.kilo/msd-core/references/` |
| Hook files | `hooks/*.js` | `.kilo/hooks/*.js` |
When analyzing this project, use ONLY the canonical source locations matching the detected layout. Do not fall back to the standard layout paths if the `.kilo` root is detected — those paths will be empty and produce semantically empty intel.
EXCLUDE from counts and analysis:
- `.planning/` -- Planning docs, not project code
- `node_modules/`, `dist/`, `build/`, `.git/`
**Count accuracy:** When reporting component counts in stack.json or arch-decisions.json, always derive
counts by running Glob on the layout-resolved canonical locations above, not from memory or CLAUDE.md.
Example (standard layout): `Glob("agents/*.md")`. Example (kilo): `Glob(".kilo/agents/*.md")`.
counts by running Glob on the canonical source locations (agents, commands, hooks, workflows), not from memory or CLAUDE.md.
Example: `Glob("agents/*.md")`.
## Forbidden Files