Repository navigation
fix: use branch-protection PATCH endpoint - #5
Merged
Merged
Conversation
Assisted-by: Codex OpenAI GPT-5.6 Sol (analysed on a live system)
Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)
Contributor
Author
PR validation: PASS
Safe to merge under the legacy required check, then run the merged Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated) |
This was referenced Oct 24, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 24, 2026
…exist (#246) (#252) 19 of the 81 rows of scripts/governance-claims.tsv still named layer-charly-internals/charly.yml and layer-charly-internals-extra/charly.yml. Those two files no longer hold the skill prose - they are candy manifests now, and the prose moved to the authored .agents/skills/... trees (AGENTS.md Part II #5). 12 of the 19 read as a false red; the other 7 are `forbid` rows and passed VACUOUSLY, the retired phrase being absent from a file that no longer holds the rule at all. 23% of the manifest protected nothing. The 19 rows are repointed at the authored homes, the one anchor that exists nowhere in the org is re-anchored to the wording the source actually uses (`HOLDING. on BOTH threads`), and the umbrella's own AGENTS.md gets a row for the same rule with its own anchor (`HOLDING. if you are the blocking side`). The second half is the control that stops it recurring. Nothing asserted the manifest's own PATHS, so a surface that moved was indistinguishable from one that was never checked: the gate silently downgraded it to "not checked". A named surface whose OWNER REPO is materialized in this checkout but whose FILE is absent is now a STALE POINTER and FAILS. A skip stays right for a surface this checkout does not carry at all - an uncarried owner repo, or an uninitialized (empty) submodule path in a light checkout, which must not become a false red. MEASURED on the same fixture - one surface moved: the old checker: checked=75 skipped=6 fail=0 (rc=0 - SILENT) the new checker: checked=75 skipped=0 fail=1 (rc=1 - LOUD) and against the real umbrella checkout, every row asserted: governance-reconcile: checked=81 skipped=0 fail=0 (rc=0) The gate is STRENGTHENED, not loosened: a named surface can no longer be silently unchecked. Assisted-by: Claude Code minimax minimax-m3.1-flash:cloud (analysed on a live system)
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 3, 2026
* fix(ci): give the rootless builder a writable runc state root The caller's image build has failed at its first RUN for every attempt, showing only `did not complete successfully: exit code: 1`. Once the engine began printing step output (charly v2026.307.1020 carries --progress plain from opencharly/charly#1103), the failing step's own line appeared: #5 0.028 runc run failed: lstat /run/runc//4u7q9fyvlqri1tx69x2couqh7: permission denied 28 ms in, the recipe never reached. Mechanism: runc chooses its state root from its EFFECTIVE uid. rootlesskit maps this user to uid 0 inside its user namespace, so runc believes it is root and takes its rootful default, /run/runc. On the runner that path exists, is root-owned, and is not traversable by this user. Root fix: give THIS user that one directory, exactly as /run/buildkit is already given, and assert it in the same step so a future regression fails loud with the cause instead of the one-line solve error. Never a blanket chown. Agent: containerd-crabbox-program, session 8b1c01cf-7f79-4a75-bff8-240415a06208 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system) * fix(ci): fold the two host-path guards into one loop; full model name in the trailer R2: the /run/runc guard I added was a verbatim copy of the /run/buildkit one directly above it — the same predicate landing in a second place. Both paths exist for ONE reason (rootlesskit maps this user to uid 0, so the daemon and its runc address root-owned host paths), so they are now one loop over the two paths, with each path's measured evidence kept in the comment. The two cannot drift into divergent ownership rules. A3: the Assisted-by trailer carried `deepseek-v4.1-flash:cloud`, a routing slug; it now carries the full model name. Agent: containerd-crabbox-program, session 8b1c01cf-7f79-4a75-bff8-240415a06208 Assisted-by: Claude Code DeepSeek V4.1 Flash (analysed on a live system) --------- Co-authored-by: Andreas Trawoeger <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PUTroute to GitHub's documentedPATCHroute.ghcontract test covering preflight-before-write, exactmethod/path/payload, sole-context replacement, and post-write verification.
Root cause
PR #4 validated discovery and read-only preflight but did not execute its new
write path. GitHub accepts
PATCHon the wholerequired_status_checksresource;PUTapplies only to the nestedcontextsresource. The first live write returned 404 before any repository changed.
Read-back confirms all 12 managed repositories still require exactly
charly/claude-validationwithstrict=true.Change class
Workflow script and regression test.
Validation
R0–R10 and pillars
After a fresh PASS and merge under the legacy required check, run the merged
applyonce and immediately verify all 12 repositories.Assisted-by: Codex OpenAI GPT-5.6 Sol (analysed on a live system)