Repository navigation
Description
Problem
At origin/launchpad revision cad6c375fdcc590158c1456c9fc7875f0f84a844, a full
python3 launchpad/project-intelligence/corpus/validate.py run (no --root, so it
validates the whole launchpad/docs/corpus/ tree) exits 1 with 21 FAIL lines, all
of the form "does not resolve to a real file in the repository". None of these are in
a node I authored or touched — they are pre-existing on origin/launchpad before this
task's change. Found while completing issue #699 (capabilities/activity/activity-feed.md)
and confirmed by stashing that new file and re-running against a clean origin/launchpad
checkout, which reproduces the identical 21 failures.
Related to #1631, which documents that the validator's exit code is corpus-wide and
not a verdict on any single node — this issue is the concrete list of currently-broken
citations that fact implies, so a future corpus-wide validate.py run is not silently
assumed clean.
Affected nodes (FAIL lines at the above revision)
architecture-containers-postgres— evidence entry 9, citation 1; entry 16, citation 2architecture-context-human-user— evidence entry 2, citation 2; entry 3, citation 2; entry 4, citations 2 and 3architecture-flows-event-ingestion— evidence entry 4, citation 2; entry 19, citation 1; entry 21, citation 2architecture-flows-workflow-execution— evidence entry 13, citation 1; entry 31, citation 1architecture-principles-community-is-security-boundary— evidence entry 7, citations 1 and 2; entry 14, citation 2corpus-template-data-entity— evidence entry 16, citation 2; entry 22, citation 2corpus-template-datastore— evidence entry 19, citation 1; entry 22, citation 2corpus-template-invariant— evidence entry 9, citations 1 and 2; entry 13, citation 1
Reproduction
python3 launchpad/project-intelligence/corpus/validate.pyExit code 1; the FAIL lines above are printed among the output (also a long list of
non-fatal UNVERIFIED notices for commit/URL/graph-edge citations, which are expected
and not part of this bug).
Impact
Every corpus-authoring task in the current batch (Feature #613 and siblings) that runs
this validator locally sees a non-zero exit unrelated to its own new node, which is
exactly the false-attribution risk #1631 flags for the corpus-review skill. A human
or agent fixing these 21 citations needs to open each node, find what the citation
meant to point at, and correct or remove it — that is out of scope for any single
document-authoring task and belongs in its own fix.
Impacted components
launchpad/docs/corpus/architecture/containers/postgres.mdlaunchpad/docs/corpus/architecture/context/human-user.mdlaunchpad/docs/corpus/architecture/flows/event-ingestion.mdlaunchpad/docs/corpus/architecture/flows/workflow-execution.mdlaunchpad/docs/corpus/architecture/principles/community-is-security-boundary.mdlaunchpad/docs/corpus/templates/data-entity.mdlaunchpad/docs/corpus/templates/datastore.mdlaunchpad/docs/corpus/templates/invariant.md
Activity
github-actions commentedon Aug 31, 2026
Issue body check failed — this issue is missing required content.
type:label. Every issue needs exactly one.Templates:
.github/ISSUE_TEMPLATE/· Triage rules:launchpad/AGENTS.mdEdit the issue to fix — this check re-runs automatically.
docs(corpus): document capabilities/agents/persona (#715)
fix(corpus): resolve review-final's two Feature #613 findings
github-actions commentedon Sep 1, 2026
Issue body check failed — this issue is missing required content.
Templates:
.github/ISSUE_TEMPLATE/· Triage rules:launchpad/AGENTS.mdEdit the issue to fix — this check re-runs automatically.
github-actions commentedon Sep 1, 2026
Issue body check failed — this issue is missing required content.
Templates:
.github/ISSUE_TEMPLATE/· Triage rules:launchpad/AGENTS.mdEdit the issue to fix — this check re-runs automatically.
github-actions commentedon Sep 1, 2026
Issue body check failed — this issue is missing required content.
Templates:
.github/ISSUE_TEMPLATE/· Triage rules:launchpad/AGENTS.mdEdit the issue to fix — this check re-runs automatically.
github-actions commentedon Sep 1, 2026
Issue body check failed — this issue is missing required content.
Templates:
.github/ISSUE_TEMPLATE/· Triage rules:launchpad/AGENTS.mdEdit the issue to fix — this check re-runs automatically.
serina-mcfall commentedon Sep 1, 2026
Root cause found
Traced this while investigating why "Validate the real corpus" was red on
several open corpus PRs. All 21
FAILlines resolve to the exact same rootcause: upstream commit
a3730784f—refactor(db): extract domain stores from database runtime (#6987), merged 2026-08-28 — movedcrates/buzz-db/src/*.rsinto two new subdirectories:crates/buzz-db/src/store/*.rscrates/buzz-db/src/runtime/*.rsThat refactor was already on
origin/launchpadbefore every affected corpusdocument was authored, so the 21 citations were stale from the moment they
were written, not broken later by a race.
validate.pyis correctlyreporting real breakage — not a validator bug.
Old → current path map (covers all 21 citations)
crates/buzz-db/src/migration.rscrates/buzz-db/src/runtime/migration.rscrates/buzz-db/src/replica_fence.rscrates/buzz-db/src/runtime/replica_fence.rscrates/buzz-db/src/user.rscrates/buzz-db/src/store/user.rscrates/buzz-db/src/channel.rscrates/buzz-db/src/store/channel.rscrates/buzz-db/src/deletion.rscrates/buzz-db/src/store/deletion.rscrates/buzz-db/src/event.rscrates/buzz-db/src/store/event.rscrates/buzz-db/src/workflow.rscrates/buzz-db/src/store/workflow.rscrates/buzz-db/src/thread.rscrates/buzz-db/src/store/thread.rscrates/buzz-db/src/push.rscrates/buzz-db/src/store/push.rsCurrently blocking
I checked live CI status on every open corpus PR. These three are red on
validatewith these exact same 21 errors, and the 8 affected files arebyte-identical across all three branches (confirmed via
git hash-object) — the stale content was carried into all three from ashared point, not authored independently three times:
feature/613-trial-integration)feature/614-runtime-platform-corpus)feature/615-implementation-reference-corpus)Parent features
The 8 affected documents split across two parent Features — worth fixing
under whichever owns the majority, or as a standalone cross-cutting fix
referencing both:
the 8 documents / 14 of the 21 citations:
architecture-containers-postgres,architecture-context-human-user,architecture-flows-event-ingestion,architecture-flows-workflow-execution,architecture-principles-community-is-security-boundary3
templates/*documents / 7 citations:corpus-template-data-entity,corpus-template-datastore,corpus-template-invariantRelated
This is also the reason PR #2001's
test_committed_corpus_json_copies_match_a_fresh_packaging_rundrift-guard test fails — its assertion diff shows the same
migration.rs→runtime/migration.rsfingerprint. That's a separate bug(a stale packaged
corpus.jsonunder Feature #532), tracked as a new issuerather than folded in here since the fix and owning Feature differ.
Also relevant: #1631, which is the process gap that let a corpus-wide
validate.pyfailure like this one go unnoticed by individual node reviews— worth revisiting once these 21 citations are fixed, so the next upstream
refactor doesn't reproduce this silently across another batch of PRs.
serina-mcfall commentedon Sep 1, 2026
Filed the sibling packaging-drift issue: #2004 (same upstream cause, different failure mechanism — #2001's committed
corpus.jsonvs. a freshjust knowledge-packagerun).serina-mcfall commentedon Sep 1, 2026
Also filed #2005 — the deeper process gap this exposed: PR #1952 (Feature #611, unrelated) independently re-drafted these same 8 shared node ids with different, conflicting citations. Its version happened to be more correct (verified against current code) so I used it as the basis for the merge fix here, but that was luck, not a guarantee.
fix(corpus): repoint 21 evidence citations to post-refactor buzz-db p…
serina-mcfall commentedon Sep 4, 2026
Already fixed — 0 FAIL lines at current
origin/launchpadHEADInvestigated per the agentic-debugging / root-cause-analysis process before touching anything.
Re-ran the exact reproduction (
python3 launchpad/project-intelligence/corpus/validate.py, no--root) against currentorigin/launchpadHEAD (aef93f2c2a), in a clean worktree fromorigin/launchpad:Exit code 0, zero
FAIL/ERRORlines. All 21 citations named in this issue (across all 8 affected nodes) currently resolve to real files at valid line ranges — verified each one directly against the filesystem.Root cause of the discrepancy with the 21 originally reported: this issue was filed against revision
cad6c375f, a commit that is an ancestor of currentlaunchpadHEAD but is not a descendant of commit81fd0e120f("docs(corpus): repoint citations broken by sync-upstream-2026-08-31 buzz-db reorg", authored by Serina, Aug 31 13:06). That commit already re-pointed all 21 of these exact citations (same 8 nodes, same evidence-entry numbers) after thesync-upstream-2026-08-31buzz-db reorg (ed133f4c5) movedevent.rs,channel.rs,user.rs,thread.rs,workflow.rs,push.rs,deletion.rs,migration.rs, andreplica_fence.rsintostore//runtime/submodules.cad6c375f's branch forked before81fd0e120flanded, so the issue's reproduction (taken on that stale base) still showed the break; by the time both merged intolaunchpad, the fix was already present.Also checked issue #2004's
migration.rs→runtime/migration.rslead specifically — that move is exactly what81fd0e120falready repointed (architecture-containers-postgresentries 9/16,corpus-template-datastoreentry 19).No code change needed — nothing to fix. Recommend closing as already-resolved-by-81fd0e120f, or as a duplicate/stale report. Leaving that call to a human per this session's process (not closing it myself).