From f1e9bc5ecb40bc18f061ca1355f07aaad8f5b413 Mon Sep 17 00:00:00 2001 From: Han Ngo Date: Thu, 3 Dec 2026 12:08:20 +0700 Subject: [PATCH 1/9] fix(gate): allow quoted parentheses in push-refs parser Check literal parentheses against the quote-masked segment (segMask) while keeping raw text checks for command substitution and backticks. Unquoted parentheses, subshells, grouping, and process substitution stay refused. Closes #1258 --- lib/gate/push-refs.sh | 11 +++++++---- tests/test-ship-gate-refs-block.sh | 10 ++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/lib/gate/push-refs.sh b/lib/gate/push-refs.sh index 09a34719c..8d585c6dd 100644 --- a/lib/gate/push-refs.sh +++ b/lib/gate/push-refs.sh @@ -211,7 +211,7 @@ sawship=0 # redirect, a VAR=value prefix, cd, a group, a subshell) refuses, so a step that rewrites git config, # a hook, the environment or the directory cannot ride along with a push. nseg=0; nshipc=0 -segI=(); segFr=(); segFirst=(); segText=(); segTerm=(); segShip=() +segI=(); segFr=(); segFirst=(); segText=(); segMask=(); segTerm=(); segShip=() while IFS=$'\037' read -r seg mseg wrds fr term; do [ -n "${seg//[[:space:]]/}" ] || continue [ "$nseg" -gt 0 ] && [ "$nshipc" != "$ship0" ] && segShip[$((nseg - 1))]=1 # the previous segment shipped @@ -220,7 +220,7 @@ while IFS=$'\037' read -r seg mseg wrds fr term; do # skip leading VAR=value words i=0; while [ "$i" -lt "${#tok[@]}" ] && printf '%s' "${tok[$i]}" | grep -Eq '^[A-Za-z_][A-Za-z0-9_]*='; do i=$((i+1)); done first="${tok[$i]:-}"; first="${first##*/}" # /usr/bin/git is git - segI[$nseg]="$i"; segFr[$nseg]="$fr"; segFirst[$nseg]="${tok[$i]:-}"; segText[$nseg]="$seg"; segTerm[$nseg]="$term"; segShip[$nseg]=0 + segI[$nseg]="$i"; segFr[$nseg]="$fr"; segFirst[$nseg]="${tok[$i]:-}"; segText[$nseg]="$seg"; segMask[$nseg]="$mseg"; segTerm[$nseg]="$term"; segShip[$nseg]=0 nseg=$((nseg + 1)) has_git_push=0; has_gh_create=0 for ((k=0; k<${#tok[@]}; k++)); do @@ -342,8 +342,11 @@ done <<< "$SEGS" one_ok=1 { [ "$parsed" = 1 ] && [ "$nshipc" = 1 ] && [ "$nseg" -ge 1 ] && [ "$nseg" -le 2 ] && [ "${segShip[0]:-0}" = 1 ]; } || one_ok=0 { [ "${segI[0]:-1}" = 0 ] && [ "${segFr[0]:-1}" = 0 ]; } || one_ok=0 -# no substitution in the push or PR step itself, quoted or not: `gh pr create --title "$(git push ...)"` -case "${segText[0]:-}" in *'$'*|*'`'*|*'('*|*')'*) one_ok=0 ;; esac +# no substitution in the push or PR step itself, quoted or not: `gh pr create --title "$(git push ...)"`. +# Literal parentheses inside quoted arguments (e.g. `gh pr create --title "feat(wrap): ..."`) are +# blanked in segMask; unquoted parentheses (subshells, grouping, process substitution) stay refused. +case "${segText[0]:-}" in *'$'*|*'`'*) one_ok=0 ;; esac +case "${segMask[0]:-}" in *'('*|*')'*) one_ok=0 ;; esac if [ "$nseg" = 2 ]; then [ "${segTerm[0]}" = "|" ] || one_ok=0 case "${segFirst[1]}" in tail|head|cat|grep) ;; *) one_ok=0 ;; esac # the bare word: ../bin/cat is not cat diff --git a/tests/test-ship-gate-refs-block.sh b/tests/test-ship-gate-refs-block.sh index 8e78730c3..8f8bf5786 100644 --- a/tests/test-ship-gate-refs-block.sh +++ b/tests/test-ship-gate-refs-block.sh @@ -127,6 +127,16 @@ expect_block "review S5: export GIT_DIR, then a push" "$A" $'export GIT_DIR=../o expect_block "gh pr create with \$(...) in the title" "$A" 'gh pr create --title "$(git push origin feat/other:master)"' "only command" expect_block "gh pr create with a backtick in the title" "$A" 'gh pr create --title "`git push origin feat/other:master`"' "only command" expect_block "gh pr create with a process substitution" "$A" 'gh pr create --title t --body-file <(git push origin feat/other:master)' "only command" +# Issue 1258: literal parentheses inside quoted PR arguments pass; unquoted parens stay refused. +expect_pass "gh pr create with double-quoted parentheses in title" "$A" 'gh pr create --base master --title "feat(wrap): one-call gather" --body-file /tmp/b.md' +expect_pass "gh pr create with single-quoted parentheses in title" "$A" "gh pr create --base master --title 'feat(wrap): one-call gather' --body-file /tmp/b.md" +expect_pass "gh pr create with quoted parentheses in title and body" "$A" 'gh pr create --title "fix(gate): allow (quoted)" --body "details (ok)"' +expect_block "gh pr create inside a subshell" "$A" '(gh pr create --title "feat(wrap): x")' "wrapper" +expect_block "gh pr create inside a spaced subshell" "$A" '( gh pr create --title "feat(wrap): x" )' "wrapper" +expect_block "gh pr create with unquoted parentheses in title" "$A" 'gh pr create --title feat(wrap):' "only command" +expect_block "gh pr create with trailing unquoted group" "$A" 'gh pr create --title "feat(wrap): x" (echo hi)' "only command" +expect_block "gh pr create with quoted parens plus \$(...)" "$A" 'gh pr create --title "feat(wrap): $(git push origin feat/other:master)"' "only command" +expect_block "gh pr create with quoted parens plus process substitution" "$A" 'gh pr create --title "feat(wrap): x" --body-file <(echo hi)' "only command" expect_block "git push with \$(...) in a refspec" "$A" 'git push origin "$(echo feat/work)"' "variable or command substitution" expect_block "git push with a backtick in a refspec" "$A" 'git push origin "`echo feat/work`"' "variable or command substitution" expect_block "git push with a process substitution" "$A" 'git push origin feat/work -o <(git push origin feat/other:master)' "variable or command substitution" From 672608e23bd107c613759399e93b4819f60c83cc Mon Sep 17 00:00:00 2001 From: Han Ngo Date: Thu, 3 Dec 2026 12:08:20 +0700 Subject: [PATCH 2/9] fix(wrap): session follow-ups, planned writes, speed, land wait and hardening Address wrap follow-ups: - Document wrap session flags in usage text and replace bare NOTHING example in docs/reference/wrap.md with a walked example that passes report-lint. - Compute planned_writes (merge, flip, carry, clean) in wrap session gather and add --gather check to report-lint.sh. - Fix leading-zero PR refs, per-PR GraphQL error attribution, document-level GraphQL error fallback, and glob expansion in --prs. - Fetch open own PR details in one gh pr list call and reuse gh api user login (cutting _session_prs_json from 17.2s to 6.8s on 13 open PRs). - Wait for checks on newly pushed re-merge heads in wrap land when the repo has pull_request workflows. - Skip transcript-derived repos whose local git config sets program-valued keys and pass --ignore-submodules=all to git status. --- bin/wrap | 2 +- commands/wrap.md | 5 +- docs/reference/FEATURES.md | 6 +- docs/reference/wrap.md | 71 +++++------- lib/wrap/report-lint.sh | 86 +++++++++++++- lib/wrap/wrap-land.sh | 15 ++- lib/wrap/wrap-session.sh | 202 ++++++++++++++++++++++++++++----- lib/wrap/wrap.sh | 2 +- tests/test-wrap-land.sh | 77 +++++++++++++ tests/test-wrap-report-lint.sh | 65 ++++++++++- tests/test-wrap-session.sh | 111 ++++++++++++++++++ 11 files changed, 555 insertions(+), 87 deletions(-) diff --git a/bin/wrap b/bin/wrap index 7e2b36a51..9eda58c9a 100755 --- a/bin/wrap +++ b/bin/wrap @@ -6,7 +6,7 @@ # # Usage: # wrap scan [...] report only -# wrap session --json [--follow-mode lanes|all] [...] one read-only session gather +# wrap session --json|--summary [--transcript ] [--prs ,...] [--mark-dir [--since ] [--self ]...] [--follow-mode lanes|all] [...] one read-only session gather # wrap session --writers [--since ] [--check-mark ] [--mark ] [--self ]... [--text] foreign-writer facts # wrap apply [--apply] [--worktrees] [--archive-unmerged] [--archive-worktrees] [--pull-only|--no-pull] [--own ]... [...] gated writes, dry-run by default # wrap sweep [--apply] [--worktrees] [--json] [--no-fetch] [...] sweep repos under roots (or wrap.sweep_roots), dry-run default diff --git a/commands/wrap.md b/commands/wrap.md index a9c7ce131..3c4edc235 100644 --- a/commands/wrap.md +++ b/commands/wrap.md @@ -27,7 +27,7 @@ bin/wrap session --summary [--transcript ] --mark-dir "$scratch" [-- - `--mark-dir` is step 0's check for activity before the wrap, taken per repo before the repo is read. It records each writer mark as `writers_mark="$scratch/writers-.json"`, the repo's absolute path without its leading slash and with `/` as `-`; the `writers` line prints the path. Its `foreign_activity` (an `index.lock`, or a reflog row newer than the session start in any worktree except the session's own, the main checkout included) stops the repo exactly as the landing pass describes. The `--transcript` start epoch is the target session's real start; without a transcript, pass `--since` with the time this wrap started. - `--summary` prints every field this command reads, one fact per line. Read it once. `--json` prints the same gather as one `wrap-session/1` document for a tool; never re-read either with `jq`. -The gather holds config knobs, activity-log state, the named PRs, and per repo the checkout, dirty files, worktrees, writer facts, active board rows, handoffs, own open PRs with check totals and gates, recent merge deploy state, and the sweep report. Treat it as facts, not as proof of intent. Rows this session did not touch stay untouched. +The gather holds config knobs, activity-log state, the named PRs, and per repo the checkout, dirty files, worktrees, writer facts, active board rows, handoffs, own open PRs with check totals and gates, recent merge deploy state, the sweep report, and `plan` lines (what wrap would merge, flip, carry, or clean). Treat it as facts, not as proof of intent. Rows this session did not touch stay untouched. **What the gather replaces.** Run none of these when the gather covers the fact: `git status`, `git log`, `git for-each-ref` or any other git read; `wrap scan` or a `wrap apply` dry run (the summary's `sweep` lines carry its verdicts); a grep, `rg`, `jq`, Glob or Read over the transcript or to find a repo; a re-read of the gather; `gh pr view` or `gh run list` one PR at a time (put the PR in `--prs`); a `--help` call. The target is 10 lead calls per wrap: this file, the digest, the gather with the miner beside it, the one step 7b lookup, one `flick-7b`, and only the writes a decision needs. @@ -84,7 +84,7 @@ When any write step ran, run one final read-only gather over the same repos befo **Where each detail comes from.** Every count, PR number, PR purpose, and actor in the report comes from the gather (a live PR row: `title`, `author`, `merged_by`, state) or a verbatim line of the recall digest. The miner's claims are leads: check each against the gather or the digest before it enters the report. A detail you cannot check stays out; never guess it. A PR's purpose is its live title, not a summary of the transcript. An actor is the gather's `author` or `merged_by`, or the digest line that names who acted: the operator, the session, a bot, or a worker are different actors. -Draft the skim-first report, write it to scratch. Run the lint before printing: `bash lib/wrap/report-lint.sh `. Fix or do what the lint names, then re-run. Never read the lint's source; when it cannot run, say so in one `SKIPPED` FYI row. The shape is: +Draft the skim-first report, write it to scratch. Run the lint before printing: `bash lib/wrap/report-lint.sh [--gather ] `. Fix or do what the lint names, then re-run. Never read the lint's source; when it cannot run, say so in one `SKIPPED` FYI row. The shape is: ```markdown ## Wrap: @@ -129,6 +129,7 @@ Rules that the lint and operator rely on: - Status words stay uppercase: `NOTHING`, `DEPLOYED`, `MERGED, NOT DEPLOYED`, `OPEN`, `PULL BLOCKED`. - Prose is STE-lite: sentences of 20 words or fewer, active voice, one topic per bullet, no filler. - `What happened` quotes real proof output, never only "tests pass". Use `## How I verified it` output where a follow-through commit carries it. +- **Planned writes.** Account for every `plan` line in the gather (merge, flip, carry, clean): state what wrap merged, flipped, carried, or cleaned, or in a dry run / when skipped, what it would do. Never invent a planned write the gather lacks (for example, holding a board flip when `board none`). - `Shipped`, `Left alone`, and `FYI` are tables; `- NOTHING` replaces the whole table. - `Left alone` comes from the final gather, never memory. This pass's residue gets rows; foreign residue collapses to one count row unless `wide`. - Every `FYI` row OPENS WITH ITS TAG in caps: `SKIPPED`, `STATE`, or `INCIDENT`. **`FYI` carries no ask.** A follow-up lives in the report, and the report is its home; it never mints a board row or a staging block. Name a home only when one already exists. diff --git a/docs/reference/FEATURES.md b/docs/reference/FEATURES.md index d16b97074..041618802 100644 --- a/docs/reference/FEATURES.md +++ b/docs/reference/FEATURES.md @@ -20,7 +20,7 @@ GENERATED , do not hand-edit. Regenerate: `bash lib/registry/feature-registry.sh | `/kit:design` | `[H/I]` | Opt-in interactive solution-design beat between /think and /spec. Use when the operator wants to shape HOW to build after the idea passed /… | SPEC-003, SPEC-004, SPEC-005 +162 | test-anomalies-advisor.sh, test-board-mirror-cleanup.sh, test-ceremony-fits-diff.sh +40 | | `/kit:devs-team` | `[H/I]` | Parallel multi-lens critique of a solution design (the active spec if present, else the decision brief). Dispatches 5 engineering lenses, m… | SPEC-016, SPEC-018, SPEC-019 +14 | test-gate-vocab-recording.sh, test-meta-review-verifiers.sh, test-meta-spec-depth.sh +1 | | `/kit:dispatch` | `[H/I]` | Fire several disjoint VALIDATED specs concurrently, each in its own worktree, then converge. Cross-goal fan-out behind a disjointness gate … | SPEC-002, SPEC-016, SPEC-017 +114 | test-advisor.sh, test-agent-effectiveness.sh, test-attempt-state-race.sh +52 | -| `/kit:docs` | `[H/I]` | Update all project documentation to match the current codebase. Cross-references the diff against every doc file and fixes drift. | SPEC-001, SPEC-002, SPEC-003 +292 | conform.sh, test-active-spec-pick.sh, test-adapters.sh +164 | +| `/kit:docs` | `[H/I]` | Update all project documentation to match the current codebase. Cross-references the diff against every doc file and fixes drift. | SPEC-001, SPEC-002, SPEC-003 +292 | conform.sh, test-active-spec-pick.sh, test-adapters.sh +165 | | `/kit:draft-agent` | `[H/I]` | Meta-agent agent-builder. From a one-line description, generates a new subagent definition OR a mega-goal sub-goal file and (by default) in… | SPEC-089, SPEC-108, SPEC-139 +1 | test-agent-effectiveness.sh, test-command-emit-sweep.sh, test-meta-agent.sh +1 | | `/kit:execute` | `[H/I]` | Whole-spec execution with verification. Dispatches one builder for the whole spec, verifies every task's criteria once at the end, retries … | SPEC-001, SPEC-003, SPEC-004 +82 | test-board-work.sh, test-break-it.sh, test-config-registry.sh +29 | | `/kit:explain` | `[H/I]` | Turn a merged change into a literate-diff explainer a human READS to understand: background -> goal + intuition -> a prose-ordered diff -> … | SPEC-050, SPEC-060, SPEC-094 +25 | test-boundary-lint.sh, test-clean-room.sh, test-command-emit-sweep.sh +13 | @@ -37,7 +37,7 @@ GENERATED , do not hand-edit. Regenerate: `bash lib/registry/feature-registry.sh | `/kit:quiz-gate` | `[H/I]` | The ★-tap NUDGE before merging a significant+worthy gate PR: a 5-question quiz built from the ACTUAL diff+tests, handed to the operator's… | SPEC-125, SPEC-127, SPEC-136 +3 | test-boundary-lint.sh, test-install-modules.sh, test-kit-contract.sh +3 | | `/kit:retro` | `[H/I]` | Run a retrospective after shipping. Captures what worked, what didn't, and action items for the next cycle. Outputs to docs/retro/RETRO.md. | SPEC-002, SPEC-003, SPEC-006 +48 | smoke.sh, test-command-emit-sweep.sh, test-gate-vocab-recording.sh +10 | | `/kit:review-team` | `[H/I]` | Parallel code review with 3 specialist lenses plus the kit-default kit:advisor extra lens. Dispatches the security, architecture, and test-… | SPEC-002, SPEC-003, SPEC-007 +50 | test-advisor.sh, test-config-registry.sh, test-every-step-review.sh +10 | -| `/kit:review` | `[H/I]` | Paranoid code review. Security, architecture, regressions, missing tests, edge cases. Produces actionable TODOS. | SPEC-001, SPEC-002, SPEC-003 +155 | smoke.sh, test-adopt.sh, test-advisor.sh +90 | +| `/kit:review` | `[H/I]` | Paranoid code review. Security, architecture, regressions, missing tests, edge cases. Produces actionable TODOS. | SPEC-001, SPEC-002, SPEC-003 +155 | smoke.sh, test-adopt.sh, test-advisor.sh +91 | | `/kit:ship` | `[H/I]` | Ship: review gate, tests, version bump, changelog, conventional commit, docs update, PR. Complete pipeline from done to merged. | SPEC-001, SPEC-002, SPEC-003 +111 | test-active-spec-pick.sh, test-adopt.sh, test-board-mirror.sh +65 | | `/kit:spec-validate` | `[H/I]` | Adversarial review of a spec before implementation. 7 specialist lenses attack the spec from different angles (6 advisory, 1 blocking on th… | SPEC-002, SPEC-003, SPEC-004 +70 | test-command-emit-sweep.sh, test-design-record.sh, test-every-step-review.sh +10 | | `/kit:spec` | `[H/I]` | Generate a development spec from a feature idea or decision brief. Creates docs/specs/ with structured requirements. | SPEC-001, SPEC-002, SPEC-003 +241 | test-active-spec-pick.sh, test-audit-verdict-grammar.sh, test-bin-forwarders.sh +111 | @@ -50,7 +50,7 @@ GENERATED , do not hand-edit. Regenerate: `bash lib/registry/feature-registry.sh | `/kit:verify` | `[H/I]` | Re-run the test levels (kit:task-verifier + kit:integration-verifier + kit:acceptance-verifier, plus kit:system-verifier only with --full) … | SPEC-002, SPEC-003, SPEC-006 +57 | test-board-digest.sh, test-board-hermes.sh, test-board-lock-required.sh +35 | | `/kit:visual-team` | `[H/I]` | Parallel multi-lens critique of a visual/UI design. Dispatches 5 design lenses, merges findings, reports a verdict. Report-only, downstream… | SPEC-016, SPEC-018, SPEC-019 +12 | test-command-emit-sweep.sh, test-meta-review-verifiers.sh, test-meta-spec-depth.sh +1 | | `/kit:wayfind` | `[H]` | Plan a chunk of work too big for one agent session as a shared decision map: map.md + typed decision tickets in the mega-goal folder, resol… | SPEC-206, SPEC-207, SPEC-217 +2 | - | -| `/kit:wrap` | `[H/I]` | The session-scoped landing step after ship: flips board rows, merges green PRs, checks deploys, tidies worktrees, prints the skim-first rep… | SPEC-020, SPEC-060, SPEC-072 +75 | test-bash32-parse.sh, test-bin-forwarders.sh, test-board-lock-required.sh +59 | +| `/kit:wrap` | `[H/I]` | The session-scoped landing step after ship: flips board rows, merges green PRs, checks deploys, tidies worktrees, prints the skim-first rep… | SPEC-020, SPEC-060, SPEC-072 +75 | test-bash32-parse.sh, test-bin-forwarders.sh, test-board-lock-required.sh +60 | ## Agents diff --git a/docs/reference/wrap.md b/docs/reference/wrap.md index cc2891ca3..7d53dc39e 100644 --- a/docs/reference/wrap.md +++ b/docs/reference/wrap.md @@ -36,7 +36,7 @@ Each row below was read from the verb's source in `lib/wrap/`. | Merge one green PR of mine | `wrap merge --apply [--pr ] ` | Squash-merges exactly one PR per call, pinned to the head it gated. It takes exactly one `` path. Only PRs I authored count; `--pr` naming another author's PR is refused. With `--pr`, exit 0 means that PR merged; a SKIP or nothing eligible exits 4. After a merge it fast-forwards the checkout it was handed the way `land` does (`_land_ff_pull`, ff-only, never forced): `pulled : `. `--no-pull` skips it and prints `SKIP pull: --no-pull; not pulled, run: wrap apply --apply --pull-only `; a checkout off the default branch, or a pull that cannot fast-forward, prints `PULL BLOCKED: ...` with the same command. None of these changes the exit code. A dry run, `--repo /` (no checkout) and a call that merged nothing never pull. | | The PR is a draft | `wrap merge --apply --pr ` | Runs `gh pr ready` first. Without `--pr`, a draft is skipped. | | Report repo state | `wrap scan [...]` | Prints ahead and behind counts, dirty files, worktrees, local branches, and my open PRs. It refreshes with `git fetch --prune`, so it is report-only for the worktree, not a no-write gather. | -| Gather the session-close facts as JSON | `wrap session --json [--follow-mode lanes\|all] [...]` | Read-only. Prints one `wrap-session/1` document: config knobs, activity-log state, and per repo checkout state, active board rows, handoffs, the origin and GitHub slug, own open PRs with links, check totals and gates, recent merge deploy state, and the sweep report. It prefers `wrap sweep --json` and otherwise falls back to read-only local inventory text; neither path fetches. | +| Gather the session-close facts as JSON or summary | `wrap session --json\|--summary [--transcript ] [--prs ,...] [--mark-dir [--since ] [--self ]...] [--follow-mode lanes\|all] [...]` | Read-only (except `--mark-dir`, which writes writer marks into the scratch directory before reading each repo). `--json` prints one `wrap-session/1` document; `--summary` prints the same facts one per line. `--transcript` reads the target session and its subagent transcripts for repos, PR URLs, acted PRs, and the opening epoch; `--prs` adds named PRs read live in one batched GraphQL call. Per repo it gathers checkout state, active board rows, handoffs, origin and GitHub slug, own open PRs with check totals and gates, recent merge deploy state, sweep report, and planned writes. Neither sweep path fetches. | | Re-check whether another writer is active | `wrap session --writers --check-mark STATE [--self WT]... [--text] ` | Prints one `wrap-writers/1` document: one row per worktree other than the session's own, except the main checkout, which is never excluded. Each row carries that worktree's `index.lock` state and HEAD-reflog identity compared with the mark. `wrap session --writers --mark STATE [--self WT]... ` records the mark in scratch state. `--since EPOCH` remains the stateless fallback. `--text` prints the same facts as text. | | Tidy a repo, preview first | `wrap apply ` | Dry run by default. Prints `WOULD ...` lines. Add `--apply` to write. | | Remove merged worktrees, all sessions | `wrap apply --apply --worktrees ` | Removes every clean, non-detached worktree whose branch is proven merged, then deletes the branch. Other sessions' worktrees qualify too. A worktree holding uncommitted work (including untracked files when `status.showUntrackedFiles=no`), skip-worktree or assume-unchanged entries (including sparse checkouts), an initialized submodule, a gitlink with a `.git` on disk, or a non-empty git-dir `modules/` directory, a non-regenerable ignored path (anything outside the build-cache list or an identical `.claude/` copy under non-symlinked directories in the main checkout), an odd path, a status that fails or changes right before removal, or an unreadable check is kept with its branch. | @@ -317,64 +317,51 @@ Invoke the skill named by `wrap.after`, read back in step -1, through the Skill Print the skim-first block below. It is the single reply for this command's landing; there is no separate per-step report. Step 10 alone prints a second, `## Follow-through:` report after background work, and only when it runs. ``` -## Wrap: +## Wrap: session wrap follow-ups -✅ **Needs you:** NOTHING - -- or -- -🔴 **Needs you:** -a. DECIDE | RUN | REVIEW | UNBLOCK . . . -b. ... +**Result:** Landed the session PR, flipped DK-101, and kept foreign worktrees untouched. + +✅ **Needs you:** NOTHING (walked: digest 4 replies, miner 2 actions) **What happened** -- ****: . . . . +- **wrap-session**: Added one-call gather flags. Proof: `test-wrap-session: all 159 passed`. **Shipped** | Repo | PR | Merge | Deploy | |---|---|---|---| -| | # | | DEPLOYED | -| | # | | 🟡 MERGED, NOT DEPLOYED | -| | # | | OPEN | - -- or -- -- NOTHING +| devkit | #1257 | 74475fb1 | DEPLOYED push-main | +| devkit | #1261 | 64ca6ef7 | 🟡 MERGED, NOT DEPLOYED | +| devkit | #1262 | | OPEN | **Left alone:** | Repo | Item | Owner | Why | |---|---|---|---| -| | | this pass | , PULL BLOCKED | -| | foreign worktrees, foreign branches, dirty files | other sessions | untouched (`/kit:wrap wide` lists them) | - -- or -- -- NOTHING - -**Built:** BUILT