docs: calibrate specs/ to codebase truth (31 files, index restructure) - #350
Merged
Merged
Conversation
Contributor
|
…istorical External-review fixes on PR #350: - reference-knowledge.md: distinguish retained implementation from running service — spawn_refresh_scheduler has zero call sites in crates/ + apps/ (daemon boot path deleted v1.193 P2) and no production caller invokes nexus.reference.refresh; registered sources do not refresh automatically today. Retarget stale 'daemon-side' / 'daemon runtime (periodic task)' anchors and the §5 'in production' pool-dependency clause. - acp-client-tech-spec.md: Appendix B quote-note no longer presents acp-worker children as current; framing fully historical (retired v1.193 P2, current composition per the shipped boundary in the header).
Maintainer-authorized 2026-09-29 (round 2026-09-29-specs-truth-maintenance): - git mv 52 root specs into 10 new dirs: architecture(9), runtime(8), compute(2), cli(1), orchestration(4), agents(6), creator(7), surfaces(5), contracts(3), archived(7); novel-writing/ unchanged; specs/ root keeps only README.md + AGENTS.md - migrate every inbound link: 640 link targets rewritten inside specs/**, 210 path occurrences across 48 external files (knowledge/, root AGENTS/DESIGN/CONCEPTS/STRATEGY, docs/, apps+crates+packages AGENTS.md, modules/README.md) - retarget findings-lifecycle's redirect-stub link to daemon-api-surface-conventions §11 (findings PATCH route) before archiving the stub; retarget its dead daemon-handler link to the current core service home (crates/nexus-core/src/findings.rs) - fix 5 pre-existing stale anchors surfaced by the 100% link gate: creator-workflow §8 (v147-shipped), author-experience §4.6 (F###/E###), orchestration-engine TOC §11, web-ui Entrance -> CONCEPTS.md#entrance, apps/design-studio/AGENTS.md §2 (audiences-and-contributor-jobs) - rewrite specs/README.md (taxonomy layout section, regrouped master index, archived/ records section; two-way index/disk coverage 62/62) and specs/AGENTS.md (domain-subdir convention + archived/ policy + maintainer authorization date 2026-09-29) - verification: 899 specs/** relative links + 47 knowledge spec-links + 50 root AGENTS.md links + 115 other external spec-links all resolve (files and anchors); specs/ root = README + AGENTS + 11 dirs only
…dary QC repair on top of a650cfe: docs/ARCHITECTURE.md:58 still pointed at .mstar/knowledge/schemas-external-consumer-boundary.md — the file moved from the knowledge root to specs on 2026-08-17 and now lives at .mstar/specs/architecture/schemas-external-consumer-boundary.md (post- reorg path). Repointed display text + target; verified the link resolves. Swept the file (and the full touched external surface) for the same stale .mstar/knowledge/ spec pattern: this was the only instance — 127 .mstar-target links in the external surface now 100% resolve; four migration gates re-verified PASS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs-maintenance round
2026-09-29-specs-truth-maintenance: 16 read-only audit seats verified all 65 spec files against the codebase (code = ground truth); 24 drift files fixed across 9 commits by serial single-writer architect waves; specs/README.md + root AGENTS.md indexes restructured.Key corrections
local-cloud-crate-architecture→ historical crate-graph record;local-runtime-boundarydaemon host sections historical; current owners =apps/nexus-service(serves/v1/daemon/*), Electron desktop,nexus-runtimeConnect hostcreator-run-preset-entry→ retired runner record (v1.193 P2-T1, no replacement preset dispatch);creator-workflowauto-chain/resume-chain retiredentity-scope-modelBlockType enum synced to the 19-value wire enum (incl.era); deadnexus-kbanchors →nexus-knowledgenexus.*+ 2fs/*);capability-registryMaster/Draft ambiguity resolvedllm-extract: production preset routing marked unshipped (review-time pathway only);preset-conditional-routing→ shipped normative SSOT framingnovel-writing/sync-contract: shipped-library status with real owner (crates/nexus-orchestration/src/sync_module.rs); StoryBundle cloud transport explicitly unwired; V1.36 historical contract preservedspecs/README.mdtwo-way index/disk diff empty (62/62); 108 links resolve; rootAGENTS.md+7 subdirectory rows; 4 missingDocument classdeclarations addedVerification
84e00ae76→ re-review Approve, findings [] (.mstar/sdd/2026-09-29-specs-truth-maintenance/review/qc-consolidated.md)R-DOCS-001—concurrency.md§6.2 successful-acquire stale-holder detection missing incrates/nexus-local-db/src/file_lock.rs::try_acquire(medium, open)Non-goals
No code/schema/CLI changes; no directory sharding of
specs/(flat layout is canon).