docs(crew): refresh shipped state, add anti-drift rule, document the Gate/E2E-shard gap - #124
Merged
Merged
Conversation
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This was referenced Aug 10, 2026
Merged
This was referenced Aug 11, 2026
Merged
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-Authored-By: Oscar Le <oscar.lehuu@gmail.com>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-Authored-By: Oscar Le <oscar.lehuu@gmail.com>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-Authored-By: Oscar Le <oscar.lehuu@gmail.com>
oscarlehuu
force-pushed
the
docs/state-truth-and-gate-audit
branch
from
August 11, 2026 08:47
440d249 to
4a3703d
Compare
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 only. No code, no CI config, no runtime behavior change.
docs/crew/STATE.mdcalls itself "the code truth for what is built today" andIDENTITY.md:39sends every agent there, but it still claimed the0.0.6thread-worktree branch was unmerged andcrew-v0.0.6unpublished — four releases stale. Agents sequence work off that file, so the drift propagates into plans. This PR makes it true again, adds a rule so the next drift is a review finding, and writes down what a greenNuncioCrew Gatedoes and does not prove about E2E.Follows the approved plan for #117 (
plans/20260810-docs-truth-gate-audit/, on PR #123's branch), phases 01 and 03.STATE.mdcorrections — every claim re-checked against live repo state onorigin/main@35af74019:crew-v0.0.6is not published, the0.0.5 → 0.0.6updater relaunch remains pending"crew-v0.0.9(2026-08-07, Latest); the0.0.6line merged and releasedgh release listcrew-v0.0.6tag or public0.0.6artifact has been created"gh release list0.5.3@3a96acea…0.5.7/desktop-v0.5.7@f167818d…, pointing atupstream-buzz.jsonas the machine-readable source so the line cannot drift againdocs/crew/upstream-buzz.jsonv0.5.3 · Localv0.5.7 · Localdesktop/package.json:4,desktop/src-tauri/tauri.conf.json:46793c86da), #113 (304173e42) and #114 (35af74019)git log origin/maingh pr listThe updater obligation was not silently dropped: no signed install-and-relaunch has been verified on any release pair in the repo's evidence (
docs/crew/verification/has no such record;RELEASING.md:160-170describes it as a post-merge publication gate), soSTATE.mdnow says that plainly instead of naming a superseded0.0.5 → 0.0.6pair.Anti-drift rule — one checkbox in the implementation checklist agents already read, plus a decision entry. This PR is itself the rule's first exercise: it changes shipped state and updates
STATE.mdin the same PR.Gate / E2E-shard audit —
docs/crew/verification/0007-gate-e2e-shard-relationship.md(new) and aCI.mdcorrection. The issue asked whether the Gate ignores the smoke shards or reported on a different run. It is the first, by design and contract-asserted — so this is not a CI bug report:The actual defect was documentation:
CI.md's job table never mentionedDesktop Smoke E2Eat all, so a green gate read as "E2E passed". Fixed, mirroring the existing honest boundary atCI.md:66-70.Related issue
Closes #117. Related: #109 and #110 (the two known-broken smoke lanes, not fixed here), #114 (source of the check-run evidence, already merged), PR #123 (the plan this follows), PR #112 (already closed by the founder — see DoD 3 below).
DECISIONS.md numbering: took D-031 and D-032, not D-028.
origin/main's tail is D-027, but open PR #120 already uses D-028/D-029/D-030 and issue #122 proposes another D-028. D-031/D-032 are the next genuinely free numbers.No upstream files touched (D-001 thin-fork budget: 0 upstream lines).
.github/workflows/ci.ymlis inherited and read-only. D-025 generic-ACP check: N/A — no wire contract, event kind, or engine-specific behavior introduced.Definition of Done → change
STATE.mdrefreshed, via a PR that follows the new anti-drift ruleSTATE.mdtable above; this PR changes shipped state and updatesSTATE.mdin the same PRAGENT-WORKING-AGREEMENT.mdimplementation checklistAGENT-WORKING-AGREEMENT.md:87, recorded as D-031FOUNDER-PRODUCT.md, D-025–D-027 and #116 and I agree with the closure: #112's value was a sequencing index, and sequencing is exactly what the north star lock (#115) and #116 invalidated, while its status half is already historical (#105/#108, #113 merged). I did not reopen or revise it. Its one durable artifact — thechannels.spec.ts:500root-cause bisect, which corrects #110's own stated cause — existed only in the closed PR's body, so I copied it onto issue #110 to preserve the evidence.verification/0007-gate-e2e-shard-relationship.md+CI.md. The founder chose to keep the shards advisory until #109 and #110 close; that posture and its revisit trigger are now recorded inCI.mdand as D-032. The gate wiring itself is unchanged.DoD 5, honestly: the 38 worktrees the issue describes (
.worktrees/…,/private/tmp/crew-*, ~26 leakedbuzz-ae-e2e-*temp entries) live in the founder's macOS checkout. On this session's Linux clonegit worktree listshows exactly one entry andgit worktree prune -vis a no-op, so there is nothing here to prune and no commit can carry this. The safe command to run on the founder's machine isgit worktree prune -v(it only drops registrations whose directory is already gone; it cannot delete a live checkout or any branch)..worktrees/bring-hermes-chat-into-crewmust not be removed. The issue calls it merged-branch residue; it is not — its branch carries 6 commits with no equivalent onmainor on #114's head.git cherryis unusable as the safety check here because squash-merge rewrites patch-ids (it flags even17b4353bc, which demonstrably merged as #113). The recurringbuzz-ae-e2e-*leak comes fromdesktop/tests/e2e/helpers/twoRelayHarness.ts:36, which does not clean up on aborted runs — that file is upstream-shared, so fixing the recurrence is a separate issue, not this one.Testing
Docs-only; no tests apply to the content. Ran on the branch:
pnpm --filter buzz check,pnpm --filter buzz typecheck,git diff --check— all clean. Docs-only paths mean the desktop jobs skip and the Gate accepts the deliberate skips (CI.md:11-13).Gate audit evidence — concrete check-run, PR #114's
mainrun31362178966on35af74019:NuncioCrew GateDesktop Smoke E2E (1)Desktop Smoke E2E (2)Desktop Smoke E2E (3)Desktop Smoke E2E (4)The Gate reported green 22 minutes before shard 4 even finished — it does not wait on the shards, let alone consume them. Across the 8 desktop-touching
NuncioCrew CIruns onmainsince 2026-08-07: shard 1 failed 8/8, shard 4 cancelled at the timeout 8/8, shard 3 failed 2/8, shard 2 passed 8/8, and the Gate succeeded 10/10. Shard 1 ischannels.spec.ts:500 › channel question card accepts an answer(#110, failing since25263120e/#96); shard 4 is the timeout lane (#109). Both are preexisting onmainand out of scope here. Full per-run table in the verification record.Link to Devin session: https://app.devin.ai/sessions/49189481f3f6406fb6ce1bdfa883620a
Requested by: @oscarlehuu