Skip to content

chore(claude): settings-estate repair — plansDirectory alignment + install lever - #1896

Open
4444J99 wants to merge 3 commits into
mainfrom
worktree-settings-estate-plan
Open

chore(claude): settings-estate repair — plansDirectory alignment + install lever#1896
4444J99 wants to merge 3 commits into
mainfrom
worktree-settings-estate-plan

Conversation

@4444J99

@4444J99 4444J99 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

Limen-side slices of the 2026-08-06 Claude settings-estate review/repair.

  • .claude/settings.json: plansDirectory: "docs/plans" — built-in plan mode now writes plans to the charter's declared plan home (what check-session-phase.py and check-session-streams.py read), closing the ~/.claude/plans divergence.
  • his-hand-levers.json: lever L-CLAUDE-SETTINGS-ESTATE-INSTALL (19-line targeted append). The review proved all 19 inline PreToolUse guards in the user-level settings dead (CLAUDE_TOOL_ARG_* env vars were never the hook interface — stdin JSON is; verified by three live probes on 2.1.223). The repair layer (stdin-JSON dispatcher + 26-fixture liveness predicate + tracker fix + validated candidate template) is built and fixture-green in domus-genoma; the final swap+apply is classifier-gated (settings self-modification boundary), so it is filed as the operator's one-paste lever per the compliant-gate-reroute rule.

Verification

scripts/verify-scoped.sh green on the diff: syntax-changed, diff-hygiene, check-root-manifest, check-note-links, pytest-cli (5204 passed, 2 skipped).

🤖 Generated with Claude Code

https://claude.ai/code/session_01F5GMLx6mh5y8giwBgdbzis

…stall lever

Two limen-side slices of the 2026-08-06 settings-estate review/repair:

- .claude/settings.json: plansDirectory "docs/plans" — built-in plan mode now
  writes plans where the charter declares they live (the home
  check-session-phase.py and check-session-streams.py actually read), closing
  the ~/.claude/plans divergence.
- his-hand-levers.json: file L-CLAUDE-SETTINGS-ESTATE-INSTALL (19-line
  targeted append). The review proved all 19 inline PreToolUse guards in the
  user-level settings dead (CLAUDE_TOOL_ARG_* env vars were never the hook
  interface; stdin JSON is). The repair layer — stdin-JSON dispatcher,
  26-fixture liveness predicate, cadence-tracker fix, validated candidate
  template with adoptions — is built, fixture-green, and staged; the final
  swap+apply is classifier-gated (settings self-modification boundary), so it
  is filed as the operator's one-paste lever per the compliant-gate-reroute
  rule.

Verified: scripts/verify-scoped.sh green (syntax-changed, diff-hygiene,
check-root-manifest, check-note-links, pytest-cli — 5204 passed).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F5GMLx6mh5y8giwBgdbzis
Copilot AI lite review requested due to automatic review settings August 6, 2026 17:10
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@4444J99, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 61a17b7e-6fd3-4081-abcc-119af2c60adf

📥 Commits

Reviewing files that changed from the base of the PR and between f9cd982 and b305850.

📒 Files selected for processing (2)
  • .claude/settings.json
  • his-hand-levers.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Multi-agent review roll call
@codex review

(CodeRabbit and Claude review automatically. Reviewers: post substantive findings only. Authors/agents: address every thread, push fixes to this branch, reply and resolve, then re-request review.)

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Aligns Claude “plan mode” output with the repository’s declared plans location and adds an operator lever to apply a validated settings-estate repair that can’t be performed by agent sessions due to the self-modification gate.

Changes:

  • Configure Claude to write plans to docs/plans via .claude/settings.json.
  • Add a new lever entry documenting a one-paste, human-run install procedure for the staged settings/hook repair.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
his-hand-levers.json Adds a new lever (L-CLAUDE-SETTINGS-ESTATE-INSTALL) with a prescribed install/apply workflow for the repaired Claude settings/hook layer.
.claude/settings.json Sets plansDirectory to docs/plans to eliminate divergence from ~/.claude/plans.

Comment thread his-hand-levers.json
Comment on lines +939 to +944
"cd /Users/4jp/Workspace/domus-genoma",
"cp /tmp/settings.json.tmpl.candidate-611a4757 private_dot_claude/settings.json.tmpl",
"mkdir -p ~/.claude/archive-20260806-settings-estate && mv ~/.claude/settings.proposed.json ~/.claude/settings.json.bak ~/.claude/settings.json.bak-20260625-160116 ~/.claude/settings.json.bak-20260625-164006 ~/.claude/hooks/allow-trusted-cd-git.sh.bak ~/.claude/hooks/allow-trusted-cd-git.sh.bak-20260701 ~/.claude/hooks/allow-trusted-cd-git.sh.bak-20260709-resume ~/.claude/archive-20260806-settings-estate/ 2>/dev/null; mv private_dot_claude/settings.json.tmpl.bak ~/.claude/archive-20260806-settings-estate/source-settings.json.tmpl.bak",
"git add private_dot_claude/settings.json.tmpl private_dot_claude/hooks/executable_pretooluse-guard-dispatch.sh private_dot_claude/hooks/executable_guard-liveness-check.sh private_dot_claude/hooks/executable_comment-cadence-tracker.sh private_dot_claude/CLAUDE.md.tmpl && git commit -m 'feat(claude): stdin-JSON guard dispatcher, settings adoptions, estate hygiene (2026-08-06 review)'",
"chezmoi add ~/.claude/hooks/allow-trusted-cd-git.sh",
"chezmoi diff; chezmoi apply && ~/.claude/hooks/guard-liveness-check.sh && git push origin master"
Comment thread his-hand-levers.json
"steps": [
"cd /Users/4jp/Workspace/domus-genoma",
"cp /tmp/settings.json.tmpl.candidate-611a4757 private_dot_claude/settings.json.tmpl",
"mkdir -p ~/.claude/archive-20260806-settings-estate && mv ~/.claude/settings.proposed.json ~/.claude/settings.json.bak ~/.claude/settings.json.bak-20260625-160116 ~/.claude/settings.json.bak-20260625-164006 ~/.claude/hooks/allow-trusted-cd-git.sh.bak ~/.claude/hooks/allow-trusted-cd-git.sh.bak-20260701 ~/.claude/hooks/allow-trusted-cd-git.sh.bak-20260709-resume ~/.claude/archive-20260806-settings-estate/ 2>/dev/null; mv private_dot_claude/settings.json.tmpl.bak ~/.claude/archive-20260806-settings-estate/source-settings.json.tmpl.bak",
…STALL (no-tasks-on-me graph parity)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F5GMLx6mh5y8giwBgdbzis
@4444J99
4444J99 enabled auto-merge August 6, 2026 21:45
auto-merge was automatically disabled August 6, 2026 22:58

Merge commits are not allowed on this repository

@4444J99 4444J99 added the lifecycle:active-human Owned by a live human-protected session; autonomous merge, close, retune, or reap is forbidden label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle:active-human Owned by a live human-protected session; autonomous merge, close, retune, or reap is forbidden

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants