Survey skill body-rendering pass — Codex workstreams + work-area/scaffold/confirm/commission-framing fixes#335
Merged
Conversation
D1 (depth ii): codex-scoped (#321, exec_command.$.workdir prefix — sibling-free, distinct from name-only codex-presence), codex-workstreams (#322, the 3-case clustering rule as a runnable query block), codex-activity (#323). Step-4 fence renders a CODEX section (workdir-attributed count + workstream clusters + activity). C: drop the pre-body confirm/menu of ANY shape — render the body through from the headline; keep ONLY the end commission offer. E: de-narrate SCAFFOLD — usage + checked-in-or-not, drop "recovered from behavior, not files"/"recovered one-offs"; the file-probe/tally JOIN stays. F-CORRECTED (reversed from the prior wrong demote-worktrees design): work-by-area strips a leading .worktrees/<wt>/ (and .claude/worktrees/<wt>/) then buckets by the LOGICAL area, so a worktree src/ edit counts as src ALONGSIDE a main-checkout src/ edit. A kind (product/config) partition + product-first ORDER demotes only genuine config (.claude/.beads/.git/<external>) to a footnote — still counted, not filtered. G (new load-bearing mechanism): mode-classification (#324) labels each git_branch track mechanical/exploration/unlabeled from per-track signals (veto density, gate-pass ratio, issue->worktree->PR loop markers, edit-kind) with a margin guard (neither-dominant -> unlabeled -> generic book-keeping, never a guessed automation pitch). The commission bridge makes TWO mode-keyed offers: automation for mechanical tracks, book-keeping for exploration tracks (no automate-the-human-out framing). Query-smoke (AC-1/2/3/7a/8a): 11/11, TDD with fixture-derived non-vacuous oracles (codex-scoped 4->5 on sibling-repoint; worktree src->.claude flip; mode signal swap). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
clkao
added a commit
that referenced
this pull request
Jun 8, 2026
clkao
added a commit
that referenced
this pull request
Jun 8, 2026
…ged; AC-7b/8b torahmap spot-check deferred per captain)
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.
Make
/spacedock:surveysurface Codex workstreams, attribute worktree edits to their logical area, and offer automation vs book-keeping per the work's mode.What changed
codex-scopedworkdir-attribution query + a workstream-clustering query block + an activity tally; render a Codex section in the body..worktrees/<wt>/); demote only genuine config to a footnote.Evidence
queries.sqlartifacts + a both-mode fixture; this-repo live drive verified AC-4/5/6 + product-first ordering.47