You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .gsd/PROJECT.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,21 @@ Milestones M043-M060 are complete in repo history, and M021/S05 remains the olde
16
16
17
17
### M060 status
18
18
19
-
**M060: Knowledge Subsystem Test Backfill is in progress, with S01 complete.** The milestone is closing the highest-value knowledge-layer unit-test gaps without overlapping M027 corpus-integrity work:
19
+
**M060: Knowledge Subsystem Test Backfill is complete.** The milestone backfilled the highest-value knowledge-layer unit-test gaps without overlapping M027 corpus-integrity work:
20
20
21
21
-**S01** added `src/knowledge/test-coverage-exemptions.ts` as the canonical runtime-target and type-only-exemption manifest, added `scripts/verify-m060-s01.ts` plus `scripts/verify-m060-s01.test.ts`, wired `bun run verify:m060:s01`, and backfilled direct same-name tests for `isolation.ts`, `wiki-fetch.ts`, `issue-retrieval.ts`, `wiki-popularity-config.ts`, `wiki-linkshere-fetcher.ts`, `wiki-popularity-scorer.ts`, and `cluster-scheduler.ts`.
22
22
- The new tests prove behavior rather than snapshots, including adaptive retrieval filtering, exact issue-body truncation, MediaWiki URL/header handling, popularity-score normalization and recency weighting, batched `linkshere` pagination with fail-open continuation, overlap guards, and deterministic scheduler timer lifecycle behavior.
23
23
- During S01, `start()` was made idempotent in the popularity scorer and cluster scheduler so duplicate starts cannot leak extra timers under test or production use.
24
+
-**S02** added `scripts/verify-m060-s02.ts` plus `scripts/verify-m060-s02.test.ts`, wired `bun run verify:m060:s02`, registered the new verifier in `scripts/REGISTRY.md`, and established the canonical M060-vs-M027 ownership boundary in `.gsd/milestones/M027/M027-SUMMARY.md`.
25
+
- The S02 ownership contract states that M060 owns direct same-name unit tests for the runtime targets declared in `src/knowledge/test-coverage-exemptions.ts` plus explicit type-only exemptions, while M027 owns persisted-corpus audit, repair/status, and live retriever acceptance proof through `verify:m027:s01` through `verify:m027:s04`.
26
+
- The boundary remains truthful about shared source-file participation when proof classes differ, and preserves the existing M027 constraint that `issue_comments` remains audited and repairable but outside the live retriever.
24
27
25
-
Fresh slice-close verification passed:
28
+
Fresh milestone-close verification passed:
26
29
27
-
-`bun test --max-concurrency=2 src/knowledge/isolation.test.ts src/knowledge/wiki-fetch.test.ts src/knowledge/issue-retrieval.test.ts src/knowledge/wiki-popularity-config.test.ts src/knowledge/wiki-linkshere-fetcher.test.ts src/knowledge/wiki-popularity-scorer.test.ts src/knowledge/cluster-scheduler.test.ts`
28
-
-`bun test ./scripts/verify-m060-s01.test.ts`
29
-
-`bun run check:orphaned-tests`
30
+
-`git diff --stat HEAD $(git merge-base HEAD main) -- ':!.gsd/'`
30
31
-`bun run verify:m060:s01`
31
-
-`bun run verify:m060:s01 --json`
32
+
-`bun run verify:m060:s02`
33
+
-`gsd_milestone_status(M060)` confirmed both slices complete
-**M060 knowledge coverage seam:**`src/knowledge/test-coverage-exemptions.ts` defines the exact S01 runtime-target and type-only-exemption contract for the knowledge-layer backfill.
70
-
-**M060 verifier seam:**`scripts/verify-m060-s01.ts` proves package wiring, registry registration, direct same-name test coverage for the seven selected runtime modules, and that the 11 explicit exemptions remain type-only. `--json` output exposes stable check IDs and localized status codes for future milestone verification.
72
+
-**M060 direct-test verifier seam:**`scripts/verify-m060-s01.ts` proves package wiring, registry registration, direct same-name test coverage for the seven selected runtime modules, and that the 11 explicit exemptions remain type-only. `--json` output exposes stable check IDs and localized status codes for future milestone verification.
73
+
-**M060 ownership-boundary verifier seam:**`scripts/verify-m060-s02.ts` proves package/registry wiring, rendered decision D171 presence, and the canonical M027 summary markers that distinguish M060 unit-test ownership from M027 corpus-level audit/repair/retriever proof without claiming file exclusivity.
71
74
-**Knowledge same-name ownership seam:**`bun run check:orphaned-tests` remains the structural gate that enforces direct same-name ownership across `src/knowledge` and the rest of the repo.
75
+
-**M060/M027 boundary narrative seam:**`.gsd/milestones/M027/M027-SUMMARY.md` now carries the canonical `M060/M027 ownership boundary` section that future verifiers and milestone closers should treat as the durable narrative contract.
72
76
-**Script registry seam:**`scripts/verify-m059-s01.ts` proves `scripts/REGISTRY.md` coverage, duplicate detection, usage-truth validation, scope-contract coverage for tracked shell helpers, and `package.json` wiring for `verify:m059:s01`.
73
77
-**Orphan-audit seam:**`scripts/verify-m059-s02.ts` proves that every `usage: none` row is either explicitly retained with evidence or marked removed in the S02 appendix, and that package wiring remains correct.
74
78
-**Registry inventory seam:**`scripts/REGISTRY.md` is the repo-owned classification surface for all tracked script files and carries the parser-friendly S02 orphan-audit appendix for caller-free script disposition.
@@ -111,9 +115,9 @@ See `.gsd/REQUIREMENTS.md` for the explicit requirement inventory and status map
111
115
-[x] M059: Script Registry & Orphan Audit
112
116
-[x] S01: Create the script registry
113
117
-[x] S02: Sweep orphan scripts
114
-
-[] M060: Knowledge Subsystem Test Backfill
118
+
-[x] M060: Knowledge Subsystem Test Backfill
115
119
-[x] S01: Test the highest-centrality knowledge files
116
-
-[] S02: Reconcile M027 overlap
120
+
-[x] S02: Reconcile M027 overlap
117
121
-[ ] M021: Issue Triage Foundation
118
122
-[x] S01: Issue Corpus Schema Store
119
123
-[x] S02: Issue MCP Tools
@@ -127,4 +131,4 @@ See `.gsd/REQUIREMENTS.md` for the explicit requirement inventory and status map
127
131
- Execute the umbrella in this order: **M029 -> M028 -> M027**.
128
132
- Hold the **M031/M032** portion until **#98** and **#99** are complete.
0 commit comments