Skip to content

Preserve two design docs that sat untracked for 11 days - #2346

Merged
joelteply merged 2 commits into
canaryfrom
chore/preserve-untracked-design-docs
Aug 21, 2026
Merged

joelteply merged 2 commits into
canaryfrom
chore/preserve-untracked-design-docs

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Found while auditing the working tree for unsaved work. Both authored 2026-08-09, still untracked on 2026-08-20.

Nothing referenced them, so nothing would have complained when a tree clean took them — which is the class of loss that leaves no trace to investigate afterwards.

File What it is
docs/cognition/TYPED-OBSERVATION-REFACTOR.md Spec for killing the stringly act→observe channel. Output of a 6-agent design workflow that read every seam.
docs/vision/PERSISTENT-CITIZENS-AND-THE-WORLD.md North-star vision doc. States in its own header that it is not a near-term plan and that benchmarks remain the near-term priority.

Content unreviewed and unmodified — this commit is custody, not endorsement. Neither doc is wired into the docs index. If either is stale it should be corrected or deleted deliberately in git, rather than evaporating from an untracked working tree.

Docs only; no code touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…1 days

Both authored 2026-08-09, still untracked on 2026-08-20. Nothing referenced them, so
nothing would have complained when a tree clean took them — which is exactly the class
of loss that leaves no trace to investigate afterwards.

- docs/cognition/TYPED-OBSERVATION-REFACTOR.md — spec for killing the stringly
  act->observe channel, output of a 6-agent design workflow that read every seam.
- docs/vision/PERSISTENT-CITIZENS-AND-THE-WORLD.md — Joel's north-star vision doc.
  Explicitly not a near-term plan; it states in its own header that benchmarks remain
  the near-term priority. Committing it changes no priority.

Content unreviewed and unmodified — this commit is custody, not endorsement. Neither
doc is wired into the docs index; if either is stale, it should be corrected or deleted
deliberately in git rather than evaporating from an untracked working tree.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…t deadlocks this one

This PR is the demonstration. It touches only docs/, so none of the three REQUIRED
contexts (`cargo test --lib`, `cargo check windows-msvc`, `ts-rs binding drift`)
were ever scheduled. A required check that never RUNS never REPORTS: GitHub holds the
PR at "expected" indefinitely and auto-merge waits on a result that cannot arrive.
The PR is not slow — it is permanently unmergeable, with nothing on the page saying so.

This already happened once. On 2026-08-20, PR #2343 (workflow-only edit) hit it, and the
fix was to add `.github/workflows/**` to the filter — recorded in a long comment in this
file. That fixed the INSTANCE. Today a docs-only PR hit the identical deadlock because
`docs/**` was not on the list either. Any path list is a list of the deadlocks already
discovered; the next PR touching something unlisted mints a fresh one, and each costs a
human the time to work out why a green-looking PR will not merge.

So the fix is structural: no `paths:` filter at all. A required check runs on every pull
request, unconditionally. The cost is a cargo build on PRs that could not have broken the
build. That is the cheaper half — the other half is an unmergeable PR nobody can explain.

If this ever needs to be cheap, the gate belongs INSIDE the job (detect a no-op change,
skip the heavy steps, still report success) — never in a trigger that suppresses the
report itself. Noted in the file so the next person reaches for the right lever.

Verified: YAML parses, all three job ids and their `name:` contexts unchanged, so the
required-context names on canary's branch protection still match.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 21, 2026 13:02
@joelteply
joelteply merged commit 8a7e0bc into canary Aug 21, 2026
4 checks passed
@joelteply
joelteply deleted the chore/preserve-untracked-design-docs branch August 21, 2026 13:12
joelteply added a commit that referenced this pull request Aug 21, 2026
Dead on every merge since ~2026-08-05. Two independent breaks stacked, and the
earlier fix cleared only the first — so the job stayed 100% dead while looking
like it had been repaired.

  1. NO BINARY (already fixed): the job checked out airc SOURCE and asserted
     `test -x .airc-src/airc`, a path nothing ever produced. A build step was
     added earlier and that half was genuinely correct.

  2. NO SUCH VERB (this commit): the step then called
     `airc queue close-merged <url>`. That subcommand has never existed. The
     Rust CLI exposes `queue-card close-merged-meta` and
     `queue-card close-merged-refs` — two JSON transforms over `gh pr view`
     output that leave the CLOSING to the caller. Verbatim from the run on
     PR #2346: `error: unrecognized subcommand 'queue'` /
     `tip: a similar subcommand exists: 'queue-card'`.

NOT INVENTED HERE: airc hit this exact bug in its OWN copy of this workflow and
fixed it on 2026-08-13 (airc#576). Continuum's file is a fork of the pre-fix
version that never got the update, so the composition is now aligned with
upstream and the header says to diff against it first next time.

VERIFIED LOCALLY, END TO END, before pushing — built airc-cli from canary and
ran the real sequence against a real merged PR (#2346):
  - `close-merged-meta` → real merge facts (2026-08-21T13:12:13Z, canary,
    8a7e0bc…, url, title/body lengths)
  - `close-merged-refs` → empty + exit 0 (that PR closes no card)
POSITIVE CONTROL, because empty-and-working and empty-and-broken print the
same and that ambiguity is the whole defect class here. Synthetic body with
`Closes #1142` / `Refs #9999` / `Resolves CambrianTech/airc#77` yields exactly:
  #1142
  CambrianTech/airc#77
— closing keywords lift, bare mentions correctly do not, cross-repo is captured
for the report-don't-close branch.

ALSO REMOVED: the post-merge nudge step, deleted rather than repaired. It called
`queue next` (same dead namespace) but probed with `--help` and `exit 0`-ed on
failure, so for two weeks it printed "not available in this airc build;
skipping" — which reads as a capability being off, not a defect. That is why it
outlived the loud break beside it. It is not rewritten because that would mean
guessing: `queue-card next` requires `--owner` and `--raw-json-file` and takes
no `--limit`, while the old call passed a nonexistent `--limit` and omitted both
required args — and a stale comment justified dropping `--owner` on the belief
it might be unsupported, the opposite of true. Restoring it needs a real
invocation verified against a live run, not another soft-failing stub.

Consequence of the whole outage: merged PRs never closed their queue cards, so
the board drifted from reality on every merge — cards whose work shipped days
ago read as idle lanes and drew nudges, the exact litter this job exists to
prevent. Nobody saw the red X because it lands AFTER merge, when attention has
already moved to the next thing.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant