Skip to content

[MEDIUM] Auto-Update: Claude Code v2.1.118 - #210

Merged
BaseInfinity merged 1 commit into
mainfrom
auto-update/claude-code-v2.1.118
Apr 23, 2026
Merged

[MEDIUM] Auto-Update: Claude Code v2.1.118#210
BaseInfinity merged 1 commit into
mainfrom
auto-update/claude-code-v2.1.118

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Auto-Update: Claude Code v2.1.118

Release: v2.1.118 (2026-04-23T00:42:21Z)
Relevance: MEDIUM - Review suggested
Release URL: https://github.com/anthropics/claude-code/releases/tag/v2.1.118

Summary

Three releases spanning v2.1.116–v2.1.118 deliver a significant hooks expansion (MCP tool invocation, bug fixes for prompt re-firing and agent-type hook failures), task-directory retention changes, and performance/UX polish.

Why This PR Exists

All Claude Code releases get a PR for visibility. The relevance level helps you prioritize:

  • HIGH: Contains changes that directly affect SDLC enforcement
  • MEDIUM: Contains useful improvements worth reviewing
  • LOW: Routine update, merge at your convenience

Relevance Analysis

{
  "version": "v2.1.118",
  "relevance": "MEDIUM",
  "summary": "Three releases spanning v2.1.116–v2.1.118 deliver a significant hooks expansion (MCP tool invocation, bug fixes for prompt re-firing and agent-type hook failures), task-directory retention changes, and performance/UX polish.",
  "wizard_impact": [
    {
      "area": "hooks",
      "description": "v2.1.118: Hooks can now invoke MCP tools directly via `type: \"mcp_tool\"` in settings.json — a new hook type alongside the existing `type: \"command\"`. Our three hooks (sdlc-prompt-check, tdd-pretool-check, instructions-loaded-check) all use `type: \"command\"` and continue to work, but this opens the door to richer hook logic without shell scripts.",
      "suggested_action": "No immediate change needed (KISS). Document the new hook type in ROADMAP or CLAUDE.md as a future upgrade path — e.g., a UserPromptSubmit hook could call an MCP validation tool instead of spawning a shell process. Revisit if shell hooks become unreliable or MCP tooling matures.",
      "files_affected": [".claude/settings.json"]
    },
    {
      "area": "hooks",
      "description": "v2.1.118: Fixed `prompt` hooks re-firing on tool calls made by an agent-hook verifier subagent. Our `sdlc-prompt-check.sh` fires on `UserPromptSubmit` — this bug could have caused it to double-fire whenever an agent-hook spawned a verifier subagent that itself made tool calls, injecting duplicate SDLC BASELINE text into context.",
      "suggested_action": "Reliability improvement only — no wizard file changes needed. Worth testing post-upgrade to confirm the hook fires exactly once per user prompt, especially in agentic/subagent sessions.",
      "files_affected": [".claude/hooks/sdlc-prompt-check.sh"]
    },
    {
      "area": "hooks",
      "description": "v2.1.118: Fixed agent-type hooks failing with 'Messages are required for agent hooks' when configured for events other than `Stop` or `SubagentStop`. v2.1.116: Agent frontmatter `hooks:` now fire when running as a main-thread agent via `--agent`. Both changes improve hook reliability across agent execution modes.",
      "suggested_action": "No code changes needed. Awareness item: if any future wizard hooks target agent-lifecycle events (Stop, SubagentStop), they will now behave correctly. Existing UserPromptSubmit / PreToolUse / InstructionsLoaded hooks are unaffected.",
      "files_affected": []
    },
    {
      "area": "tasks",
      "description": "v2.1.117: The `cleanupPeriodDays` retention sweep now also covers `~/.claude/tasks/`. The SDLC skill uses `TodoWrite` (stored under `~/.claude/tasks/`) for tracking SDLC checklist items — long-lived tasks could now be pruned if `cleanupPeriodDays` is set.",
      "suggested_action": "Verify whether the project or user settings define `cleanupPeriodDays`. If set to an aggressive value (e.g., 7 days), in-progress SDLC checklists from paused long-running features could disappear. Consider documenting a recommended minimum (e.g., 30 days) in SDLC.md or CLAUDE.md.",
      "files_affected": [".claude/skills/sdlc/SKILL.md"]
    }
  ],
  "plugin_check": {
    "new_official_plugins": [],
    "replaces_custom": []
  },
  "reasoning": "The new `type: \"mcp_tool\"` hook capability and the fix for prompt hooks re-firing directly touch the wizard's primary enforcement mechanism (UserPromptSubmit hooks), warranting MEDIUM rather than LOW. However, no custom wizard code needs to be replaced or rewritten — the hook bug fixes are platform-level improvements that make existing hooks more reliable, and the new MCP hook type is an optional future upgrade path. HIGH would require an official feature actively replacing custom code or a breaking change to existing hook behavior."
}

Review Checklist

  • Aligns with KISS principle
  • Actually needed for SDLC enforcement
  • No over-engineering
  • If replacing custom code, removal is clean

Generated by weekly-update workflow. You always decide what merges.

BaseInfinity added a commit that referenced this pull request Apr 23, 2026
…on (#217)

* test(node24): add committed negative control for setup-bun guard

Codex batch review 2026-04-23 (batch-code-prs-214-216-217) raised
P2 for PR #217: the grep-based regression guard had only manual
negative-control proof (hand-injected, verified red, reverted).
Codex's certify condition: add in-repo proof.

New test: test_no_oven_sh_setup_bun_negative_control writes a tmp
fixture file containing 'uses: oven-sh/setup-bun@v1', runs the same
grep pattern, asserts it catches, tears down. Proves the regex is
live-fire correct without requiring manual injection.

Closes Codex P2. Test count: 14 -> 15.

* chore: record E2E score [skip ci]

* test(node24): #210 defensive guard against oven-sh/setup-bun regression

ROADMAP #210 claimed CI was emitting Node 20 deprecation warnings
from oven-sh/setup-bun. Verified 2026-04-23: no setup-bun reference
exists in .github/ and latest CI run (24852212500) has zero Node 20
deprecation warnings. Effectively resolved.

Adding test_no_oven_sh_setup_bun as a regression guard so it can't
silently re-enter. Verified negative control: injecting a fake
'uses: oven-sh/setup-bun@v1' line into ci.yml trips the assertion.
Reverted after verification.

* chore: record E2E score [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@BaseInfinity
BaseInfinity merged commit 0091c64 into main Apr 23, 2026
4 checks passed
@BaseInfinity
BaseInfinity deleted the auto-update/claude-code-v2.1.118 branch April 23, 2026 20:29
BaseInfinity added a commit that referenced this pull request Apr 23, 2026
* release: v1.36.0

See CHANGELOG for details. Bumps:
- package.json: 1.35.0 -> 1.36.0
- SDLC.md metadata + visible table
- CLAUDE_CODE_SDLC_WIZARD.md example version (2 places)
- skills/update/SKILL.md example output Latest line
- CHANGELOG new section

* chore: record E2E score [skip ci]

* roadmap(#224-227): follow-ups from Codex review of auto-PRs #210, #213

Four new backlog items surfaced by Codex batch review of the
auto-generated PRs (2026-04-23):

From PR #210 (CC 2.1.118 auto-update analysis):
- #224: runtime test for sdlc-prompt-check.sh double-firing — CC
        2.1.118 shipped the fix, we have no assertion it holds.
- #225: document cleanupPeriodDays minimum — TodoWrite checklists
        now fall under that retention sweep (CC 2.1.117).

From PR #213 (community patterns, closed):
- #226: P1 — weekly-update workflow reports fake 5-trial CI
        (re-scores one transcript N times, not N simulations).
        Current STABLE verdicts aren't trustworthy.
- #227: stop writing legacy score-history.txt in community PRs.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
BaseInfinity added a commit that referenced this pull request May 4, 2026
#305)

The defensive guard test_no_oven_sh_setup_bun and its committed
negative control test_no_oven_sh_setup_bun_negative_control already
shipped in PR #217 (commit 045c938) on 2026-04-23. Audit 2026-05-04
confirms: zero workflows use oven-sh/setup-bun; all 15 Node 24
compliance tests green; full action surface is Node 24-compatible.

Hard deadline 2026-06-02 (GitHub forces Node 24) is met with no
further work needed. Marking ROADMAP row DONE.
BaseInfinity added a commit that referenced this pull request May 4, 2026
* release: v1.65.0 — paperwork closes for #210 + #235

Two roadmap-only closures bundled into a single release:
- #210 Node 24 false-green test: already shipped in PR #217 (045c938) on
  2026-04-23 with the defensive guard + committed negative control. Audit
  2026-05-04 confirms zero workflows use oven-sh/setup-bun, all 15 tests
  green, full action surface Node 24-compatible. Hard deadline June 2 met.
- #235 Thoughtworks AI Evals methodology audit: NO-GO verdict at
  .reviews/research-235-ai-evals.md. Article is methodology-only; every
  layer already has an analog in our pipeline (Tier 1/2 evaluator +
  score-history + CUSUM + token-spike + cross-model review + SDP).
  Only candidate gap is bias/alignment eval — out of scope. Pattern
  continues with #76 (Promptfoo) and #77 (constrain-to-playbook) NO-GOs.

Zero code changes. All version files synced 1.64.0 → 1.65.0.

* fix(release-1.65.0): untrack runtime-state files + gitignore

Two files were accidentally included in the v1.65.0 release commit:
- .claude/scheduled_tasks.lock (CC scheduler runtime state, per-machine)
- .metrics/token-history.jsonl (local token-spike-check.sh metrics)

Both are runtime-state files that should never be in version control.
git rm --cached removes them from tracking; .gitignore additions prevent
future accidental commits via 'git add -A'.
BaseInfinity added a commit that referenced this pull request May 5, 2026
#206)

* feat(hooks): self-healing PreCompact on merged-PR stale handoff (#209)

Bug hit live 2026-04-19 after PR #205 merged — `.reviews/handoff.json`
stayed at PENDING_RECHECK, every subsequent /compact got blocked by the
user's own stale review artifact. Ships to consumers via CLI + plugin,
so every adopter of the handoff protocol who forgets to flip status
after merge will hit the same wall.

Fix: when status is PENDING_REVIEW/PENDING_RECHECK, parse optional
pr_number from handoff. If present AND gh is available, query
`gh pr view <pr_number> --json state` — MERGED unblocks (implicit
CERTIFIED). Missing pr_number, missing gh, offline, or any error
falls through to existing block (safe default).

4 new tests with mocked gh binary: merged unblocks, open blocks,
no pr_number blocks, gh-errors blocks. Hook suite 106 → 110.

Codex xhigh design review ran before implementation (verdict:
RECOMMENDED_ALTERNATIVE: 2, priority 9/10). Branch-awareness
alternative rejected — false-unblocks trunk-based workflows.

* chore: record E2E score [skip ci]

* test(hooks): add zero-stderr + gh-missing assertions (PR #206 Codex R1)

* chore: record E2E score [skip ci]

* docs(sdlc,ci): require Codex xhigh audit on CI logs in shepherd loop

* chore: record E2E score [skip ci]

* docs(roadmap): file #210 Node24 false-green + #211 tier1 11/10 (Codex CI-log audit on #206)

* chore: record E2E score [skip ci]

* docs(roadmap): add #212 local-Max E2E shepherd (zero-API alt)

* docs(sdlc): run Codex audit on Tier 1 AND Tier 2 CI logs separately

* docs(roadmap): #213 CLI template env-block gap — adaptive thinking + autocompact vars documented but not shipped

* docs(roadmap): #214 Prove-It A/B for adaptive thinking; gate #213 on result

* docs(roadmap): #215 Tier 2 persist step is dead code (Codex Tier 2 audit on #206)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
BaseInfinity added a commit that referenced this pull request May 5, 2026
…on (#217)

* test(node24): add committed negative control for setup-bun guard

Codex batch review 2026-04-23 (batch-code-prs-214-216-217) raised
P2 for PR #217: the grep-based regression guard had only manual
negative-control proof (hand-injected, verified red, reverted).
Codex's certify condition: add in-repo proof.

New test: test_no_oven_sh_setup_bun_negative_control writes a tmp
fixture file containing 'uses: oven-sh/setup-bun@v1', runs the same
grep pattern, asserts it catches, tears down. Proves the regex is
live-fire correct without requiring manual injection.

Closes Codex P2. Test count: 14 -> 15.

* chore: record E2E score [skip ci]

* test(node24): #210 defensive guard against oven-sh/setup-bun regression

ROADMAP #210 claimed CI was emitting Node 20 deprecation warnings
from oven-sh/setup-bun. Verified 2026-04-23: no setup-bun reference
exists in .github/ and latest CI run (24852212500) has zero Node 20
deprecation warnings. Effectively resolved.

Adding test_no_oven_sh_setup_bun as a regression guard so it can't
silently re-enter. Verified negative control: injecting a fake
'uses: oven-sh/setup-bun@v1' line into ci.yml trips the assertion.
Reverted after verification.

* chore: record E2E score [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
BaseInfinity added a commit that referenced this pull request May 5, 2026
BaseInfinity added a commit that referenced this pull request May 5, 2026
Co-authored-by: BaseInfinity <1424113+BaseInfinity@users.noreply.github.com>
BaseInfinity added a commit that referenced this pull request May 5, 2026
* release: v1.36.0

See CHANGELOG for details. Bumps:
- package.json: 1.35.0 -> 1.36.0
- SDLC.md metadata + visible table
- CLAUDE_CODE_SDLC_WIZARD.md example version (2 places)
- skills/update/SKILL.md example output Latest line
- CHANGELOG new section

* chore: record E2E score [skip ci]

* roadmap(#224-227): follow-ups from Codex review of auto-PRs #210, #213

Four new backlog items surfaced by Codex batch review of the
auto-generated PRs (2026-04-23):

From PR #210 (CC 2.1.118 auto-update analysis):
- #224: runtime test for sdlc-prompt-check.sh double-firing — CC
        2.1.118 shipped the fix, we have no assertion it holds.
- #225: document cleanupPeriodDays minimum — TodoWrite checklists
        now fall under that retention sweep (CC 2.1.117).

From PR #213 (community patterns, closed):
- #226: P1 — weekly-update workflow reports fake 5-trial CI
        (re-scores one transcript N times, not N simulations).
        Current STABLE verdicts aren't trustworthy.
- #227: stop writing legacy score-history.txt in community PRs.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
BaseInfinity added a commit that referenced this pull request May 5, 2026
#305)

The defensive guard test_no_oven_sh_setup_bun and its committed
negative control test_no_oven_sh_setup_bun_negative_control already
shipped in PR #217 (commit 045c938) on 2026-04-23. Audit 2026-05-04
confirms: zero workflows use oven-sh/setup-bun; all 15 Node 24
compliance tests green; full action surface is Node 24-compatible.

Hard deadline 2026-06-02 (GitHub forces Node 24) is met with no
further work needed. Marking ROADMAP row DONE.
BaseInfinity added a commit that referenced this pull request May 5, 2026
* release: v1.65.0 — paperwork closes for #210 + #235

Two roadmap-only closures bundled into a single release:
- #210 Node 24 false-green test: already shipped in PR #217 (045c938) on
  2026-04-23 with the defensive guard + committed negative control. Audit
  2026-05-04 confirms zero workflows use oven-sh/setup-bun, all 15 tests
  green, full action surface Node 24-compatible. Hard deadline June 2 met.
- #235 Thoughtworks AI Evals methodology audit: NO-GO verdict at
  .reviews/research-235-ai-evals.md. Article is methodology-only; every
  layer already has an analog in our pipeline (Tier 1/2 evaluator +
  score-history + CUSUM + token-spike + cross-model review + SDP).
  Only candidate gap is bias/alignment eval — out of scope. Pattern
  continues with #76 (Promptfoo) and #77 (constrain-to-playbook) NO-GOs.

Zero code changes. All version files synced 1.64.0 → 1.65.0.

* fix(release-1.65.0): untrack runtime-state files + gitignore

Two files were accidentally included in the v1.65.0 release commit:
- .claude/scheduled_tasks.lock (CC scheduler runtime state, per-machine)
- .metrics/token-history.jsonl (local token-spike-check.sh metrics)

Both are runtime-state files that should never be in version control.
git rm --cached removes them from tracking; .gitignore additions prevent
future accidental commits via 'git add -A'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant