← Back to Pull requests

(docs) version-compat: record what argv `/exit` and the resume hint do at CC 2.1.294 (issue #1020) #1543

Closed
unknown closed this pull request without merging on Oct 24, 2026 23:14 UTC
View on GitHub
unknown unknown commented on Oct 23, 2026 02:39 UTC
Author

Summary

  • Adds an entry headed # Issue #1020 side probe to build/version-compat.md. It records what a positional /exit does to a claude started on the seeded profile the login child uses, at Claude Code 2.1.294 run through the operator's byte-patched wrapper, and what was found about the Resume this session with: hint: no switch, and whether it prints on that exit is unmeasured: the two re-runs that left a transcript captured neither the farewell their transcripts record nor the hint, and the records do not say why.

  • On that seeded profile, claude '/exit' exits without offering a login. With a second positional, /exit had not run 25 s after /login opened its dialog; whether it would run after a completed login was not measured. Without the seed, the run with nobody at the keyboard stopped at the theme picker; the operator-driven unseeded arm, where onboarding ran its own login at 2.1.197, is recorded as unmeasured.

  • The sessiometer side of the hint is tracked in #1542. Three acceptance lines for #1020's real-login walk are proposed in https://github.com/alexey-pelykh/sessiometer/issues/1020#issuecomment-6354538843.
  • This does not complete #1020.

    Where to look

  • build/version-compat.md, # Issue #1020 side probe: the Terms., Verdict. and What is not. paragraphs, and ## Results at a glance, which quotes each arm's verdict line.

  • The open measurement: ## Finding — without the seed, onboarding comes first, and the operator-driven arm is unmeasured ⚠️.

  • The bounded second-positional claim: `## Finding — a second positional did not run in arms D and E, so /login /exit did not chain there ⚠️.

  • The resume hint: ## Finding — no switch for the resume hint was found; whether it prints on the seeded /exit is unmeasured: the two re-runs' captures hold neither the farewell their transcripts record nor the hint ⚠️. Every code excerpt there is quoted from the stock 2.1.294 binary.

  • Everything above the new entry is unchanged, including the CC_SUPPORTED_MIN / CC_SUPPORTED_MAX lines that src/cc_version.rs and two scripts parse.
  • Review history

    Eleven automated reviews have graded the entry so far. Two fresh-context polish rounds ran before the PR, and each re-ran arm B on its own rig; those are the entry's two re-runs. The first found that the entry's exit mechanism was wrong and that its "no transcript, so no hint" claim was contradicted by its re-run; the entry was rewritten. The second's findings were applied until its convergence signal was oscillation, and the loop stopped there. Neither round's findings file is committed. Three post-submit reviews followed, and none of them ran claude: 5624892748 on c625f37 (33 findings, 5 blocking), 5631908801 on 3db78dd (28 findings, 2 blocking) and 5632768356 on 085df52 (38 findings, 1 blocking: a round-2 fix had misstated the condition under which the keychain service name takes its suffix). The PR's single commit, now 8b85248, applies the three rounds' findings except the questions that are the owner's: whether an automated review's own record may stand as ledger evidence, whether a run through the byte-patched copy may carry ✅, when ADR-0032 gets an amendment paragraph, and whether the sibling documents' unproven-claim lists gain a pointer to this entry; the last two are tracked in #1546. Its push sequence is c625f37 (the opening push) → 3db78dd and 12d5c9a (rounds 1 and 2) → 085df52 (a rebase without content change onto the main that carries #1545; git range-diff reports the replay as =) → 1e8dce4 (round 3) → 4be4d31 (round 4) → d18420f (round 5) → 7c6d722 (round 6) → 0fc8707 (round 7) → 8b85248 (round 8). Round 4 ran in a lean form, one reviewer without a fan-out, after three fan-out attempts were each ended by the account's five-hour usage limit before posting; its review is 5640089333 on 1e8dce4 (7 findings, 1 blocking: the two re-runs' captured output ends before the farewell, so by the entry's own criterion the captures say nothing about the hint; the entry had said their records did not say). 4be4d31 applied five of its six actionable findings in full and one in part. Round 5, the same lean form, is review 5640161391 on 4be4d31 (6 findings, 1 blocking: the capture-side-loss conclusion round 4's fix had drawn over-read the re-run records, whose rigs read the terminal to end-of-file; the entry now states the symptom and labels the inference). d18420f applies its five actionable findings. Round 6, lean again, is review 5640238263 on d18420f (6 findings, none blocking: a wrong date, an over-precise timestamp sentence, this body's stale commit name, an incomplete alternative and an undefined evidence kind); 7c6d722 applies its five actionable findings. Round 7, lean again, is review 5640321408 on 7c6d722 (5 findings, none blocking: a gate time this body had composed rather than pulled from the run's log, an order the rig code does not fix, the Legend line absorbed into the Terms paragraph, and a compressed description of the captures' tails); 0fc8707 applies its four actionable findings. Round 8, lean again, is review 5640417361 on 0fc8707: 🟢 CLEAN, nothing at minor or above, with one info nitpick (two sentences dated the first re-run across midnight when only the draft review spanned the days); 8b85248 applies that nitpick, in two sentences, and nothing else. Round 9, lean again, is review 5640516131 on 8b85248: 🟢 CLEAN, nothing at minor or above, with one info nitpick on this body's last test-plan bullet, whose round-relative anchors and "not run under bash" clause two later reviews had made stale; this body edit applies it, and the commit is unchanged.

    Test plan

  • cargo fmt --all --check → exit 0, no output. cargo clippy --all-targets --all-features -- -D warnings → Checking sessiometer v0.1.0 (…) then Finished \dev\ profile. RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items → Documenting sessiometer v0.1.0 (…) then Finished. cargo build --verbose → Finished \dev\ profile. cargo test --verbose → test cc_version::tests::the_baked_range_matches_the_ledger ... ok and test result: ok. 2403 passed; 0 failed; 14 ignored. The ledger is include_str!'d by src/cc_version.rs, so this file is in the rust CI filter.

  • cargo +1.87.0 build → Finished \dev\ profile; cargo +1.87.0 test → test result: ok. 2403 passed; 0 failed; 14 ignored. ./scripts/check-no-security-framework.sh → ok: no Security.framework SDK linkage (packages checked: 70). cargo deny check advisories sources licenses → advisories ok, licenses ok, sources ok on the current tree (8b85248, 2026-10-24 22:54 UTC by the gate log's own header; the same lines printed on every tree since the rebase). On the pre-rebase tree it had printed advisories FAILED, licenses ok, sources ok from 16:42 (+0200) on 2026-10-23, when RustSec assigned RUSTSEC-2026-0386 to the tokio 1.52.3 the lockfile then pinned; this diff touches no dependency, #1544 tracked it, and #1545 lifted it by moving the lockfile to tokio 1.54.1.

  • ./scripts/check-doc-citations.sh → ok: evaluated 70 citations across 130 documents under 'docs'; all resolve. ./scripts/check-readme-cc-range.sh → ok: README.md \## Prerequisites\ states the ledger's verified range.

  • Every fenced js excerpt in the entry, 14 counting the five inside the numbered guard list, split at its … elisions: each fragment occurs once in the stock binary and once, at the same offset, in the wrapper's patched copy. Of the inline code spans in the Findings' prose, the eight fragments quoted as code (r?.suppressResumeHint)this.resumeHintPrinted=!0, the notice registration call, var fUe="persistence-suppressed", function _As(){return"production"}, function Na(){return hEn()!==null}, .argument("[prompt]","Your prompt",String), _allowExcessArguments=!0 and Ie(Kt??Eat())) were counted the same way and occur once each; "Goodbye!" has four sites and d(L()) two in each file. The short identifier spans such as fp(), Hx(), Lt() or DW() are names, not fragments: they have many sites, and Lt() has two fewer in the patched copy than in the stock binary. The entry claims uniqueness only for the fenced excerpts. The method name replaceSessionPersistenceDisabled occurs three times in the stock binary, as the entry now states. The two block-quoted notices are the entry's own join of two text nodes each and were not counted as excerpts; the entry says so.

  • Lines 1–1298 of the committed blob are cmp-identical to origin/main's file, CC_SUPPORTED_MIN / CC_SUPPORTED_MAX included.

  • The ${D:?} guard, measured against a stub claude with D unset and again with D empty, as -c strings under env -i: bash (--noprofile --norc) printed bash: D: parameter null or not set and stopped; zsh (-f, dummy HOME) printed zsh:1: D: parameter not set, a time line and exit=1, then ran the next command. In neither shell did the stub run. The interactive and script shapes the entry describes come from the second review's own measurement, and the entry says so.

  • The block's seed, timed and version lines, run in zsh with the stub first on PATH: the stub ran twice, both times with CLAUDE_CONFIG_DIR set to the seeded directory (STUB-CLAUDE argv=[/exit] CLAUDE_CONFIG_DIR=[…/.tmp/seeded-unauth], then STUB-CLAUDE argv=[--version] …), readlink -f printed the resolved path, the seed parsed as JSON, and its trust key equalled pwd -P. The block has been byte-identical since 12d5c9a, the push that added the readlink -f call; reviews 5640321408 and 5640417361 each ran the same lines with the stub under both env -i bash and zsh -f`.
  • 🤖 Generated with Claude Code

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: alexey-pelykh Review duration: 2674m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.57) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.57 · 650 lines diff across 8 files
    0.57
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #1543"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 57% (MEDIUM) · Higher = larger blast radius
    57%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.7% · Safe to merge
    24.7%