Repository navigation
docs(rulebook): say what a merge commit owes the attribution trailer - #670
Conversation
The umbrella's *AI Attribution* section says every AI-authored commit ends with the `Assisted-by:` trailer, but it did not say what a MERGE commit is. A merge brings upstream's commits in and adds no content of its own, while its own message is the agent's authorship — two readings were defensible and the rulebook picked neither, so a published merge commit carrying no trailer was neither clearly a violation nor clearly compliant. The rule is now written once: a merge commit is judged by its MESSAGE, not by its content. A merge the agent writes ends with the trailer like any other commit; a merge whose message the agent did not write — the one `gh pr update-branch` writes on GitHub's behalf — carries no trailer and owes none. The control that reads the pushed range's trailers is the other half of the same finding, and it lands in the repo that owns the self-audit (opencharly/layer-charly-internals), before the corpus and the umbrella's pins move. Refs #613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)
Review — PASSScope & correctness. The PR is a single-file, prose-only change: Honesty of the body. Every claim that is checkable against the provided state checks out: the changed-file count, the insertion count, the single-commit history, the quoted added text, and the "stated once" assertion (the diff contains exactly one such sentence and no competing statement about merge commits). The evidence blocks (gate exit 0, dispatcher splice no-op, published-history trailer counts on Tests. Not applicable in the conventional sense: this is a rulebook edit with no runtime surface. The relevant "test" is the change-class gate on the committed tree, which the body reports as Security. No secrets, no injection surface, no dependency or privilege change — the diff is six lines of Markdown. Scope & cleanliness. No legacy path to remove (the body correctly notes there was no prior merge-commit statement to delete), no duplication, no dead code. The change is coherent and complete for the rule it sets out to state. Comments. The comment thread is empty, so there is no maintainer/operator sign-off to weigh and none is claimed. The change stands on its own evidence: a self-evident, internally consistent one-paragraph rulebook edit. No blocking findings. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…ushed head Round 2 of #148, on the validator's two BLOCK findings. 1. The step's range was written as `origin/<branch>..HEAD`, and read literally as the PUSHED FEATURE branch that is only the UNPUSHED commits — which would never surface the published gaps the step is about. The range is now the PR's BASE branch's head to this branch's head, `origin/<base>..HEAD`, named as such, and the step says to run it over YOUR OWN head over THAT range: a range you chose yourself proves a different range's commits. 2. The body proved the GREEN half over a range that was not the pushed head's, so the head's own trailer status was unverified. The GREEN half is now run over `origin/main..HEAD` of this branch, on the head this body describes. The rule the arm applies is unchanged and is not restated here; it is the umbrella rulebook's *AI Attribution* section, which landed in opencharly/opencharly#670 (tag v2026.297.0842). Refs opencharly/opencharly#613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)
* docs(skills): read the pushed range's trailers before the push The pre-validator self-audit had no arm that read the COMMITS a branch is about to push. The body linter reads the body's last line, and the org rulebook's *AI Attribution* section says every AI-authored commit ends with an `Assisted-by:` trailer — but nothing joined the two, so a trailer-less commit could sit below the head while every control stayed green. Measured: the umbrella PR opencharly/opencharly#591's published branch (feat/light-init) carried three merge commits with no trailer, one per review round's catch-up merge, and the gap surfaced only when the history was re-read by hand. The rate, not the three, is the defect. The new preflight step reads the range and resolves every commit it names: a commit still local is amended before the push, and a published one is reported — never rewritten (R6). The RULE the arm applies is the rulebook's and is not restated here; the arm points at the org rulebook's *AI Attribution* section, which owns it. Refs opencharly/opencharly#613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed) * docs(skills): read the base..HEAD range, and prove the arm over the pushed head Round 2 of #148, on the validator's two BLOCK findings. 1. The step's range was written as `origin/<branch>..HEAD`, and read literally as the PUSHED FEATURE branch that is only the UNPUSHED commits — which would never surface the published gaps the step is about. The range is now the PR's BASE branch's head to this branch's head, `origin/<base>..HEAD`, named as such, and the step says to run it over YOUR OWN head over THAT range: a range you chose yourself proves a different range's commits. 2. The body proved the GREEN half over a range that was not the pushed head's, so the head's own trailer status was unverified. The GREEN half is now run over `origin/main..HEAD` of this branch, on the head this body describes. The rule the arm applies is unchanged and is not restated here; it is the umbrella rulebook's *AI Attribution* section, which landed in opencharly/opencharly#670 (tag v2026.297.0842). Refs opencharly/opencharly#613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)
…— nine gitlinks to their producers' served mains (#671) The rule landed as #670 and the arm as opencharly/layer-charly-internals#148 (tag v2026.297.0850); the corpus regenerated and merged as opencharly/marketplace#575 (tag v2026.297.0931). This advances the umbrella's own pins through the pin contract's verb, so the umbrella's tree carries the arm that reads the pushed range's trailers, and it aligns the umbrella's two `charly task pin-check` rows with the contract #664 implemented — the read-set the corpus's canonical text names, and the umbrella's own rows did not. Refs #613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Summary
The umbrella's AI Attribution section says every AI-authored commit ends with the
Assisted-by:trailer. It did not say what a merge commit is — and a merge commitis exactly the case where two readings are defensible: it brings upstream's commits in
and adds no content of its own, while its own message is the agent's authorship. The
rulebook picked neither, so a published merge commit carrying no trailer was neither
clearly a violation nor clearly compliant, and the org could not tell which. Three such
commits sit on one published branch, one per review round's catch-up merge
(#613).
This PR states the rule, once: a merge commit is judged by its message, not by
its content. A merge the agent writes ends with the trailer like any other commit; a
merge whose message the agent did not write — the one
gh pr update-branchwriteson GitHub's behalf — carries no trailer and owes none.
AGENTS.mdAssisted-by:trailer, and the one exemptionThe rule matches what the org already does: a published catch-up merge on the
umbrella's
feat/size-claimsbranch carries the trailer (95e91f5), and the three thatdo not are exactly the ones the finding names. (
origin/mainitself carries no mergecommit — the umbrella lands one squash per PR — so the evidence is read off the published
branches, which is where a review round's catch-up merge lives.)
The other half of the finding is the control, and it lands in the repo that owns the
self-audit:
opencharly/layer-charly-internalsgains a preflight arm that reads everycommit in the pushed range and resolves the ones that owe a trailer. That leg follows
this one, and it lands before the corpus and the umbrella's pins move.
Refs #613
How tested
The head this body describes
The change-class gate, on the committed tree this body describes — this diff is a
rulebook edit in this repo, so the gate is the umbrella's own
verifytask, run on thecommitted tree with the worktree-local, CalVer-stamped build (R9):
The changed file's live consumers, on the committed tree.
AGENTS.mdis read by theumbrella's own gates, and one command in the tree can write it: the dispatcher splice. In
THIS repo the splice is a no-op by design — the umbrella's dispatcher table is
hand-curated and lives outside any generated markers, so the script never writes
AGENTS.mdhere. The new paragraph is therefore never at risk from it, and the tree isbyte-identical after the run:
The rule's own evidence — the org's published history. The rule says a merge the
agent writes carries the trailer, and a merge whose message the agent did not write
carries none. Both halves are measured on commits the org actually published, read from
the umbrella's published branches (not from
origin/main, which carries no mergecommit at all — the umbrella lands one squash per PR):
That is a catch-up merge whose message the agent wrote, and it carries the trailer — the
compliant form the new rule describes. The three the finding names are catch-up merges
of the same shape whose message the agent also wrote, and none carries it:
The three are local merges — the message form is git's own
Merge remote-tracking branch 'origin/main' into feat/light-init, not theMerge <sha> into <branch>a platform-written catch-up carries:And no commit in the umbrella's published history carries the platform form at all, so
the rule's one exemption protects a path this repo has not taken — it is stated for the
sanctioned
gh pr update-branchcatch-up, not to excuse anything already published:So the rule this PR states is the rule the org's own compliant commits already follow,
and the three exceptions are the ones the rule now names as violations.
The rule is stated once. The new sentence is the umbrella's only statement about a
merge commit, and the only place in the tree that says what one owes:
The
CHANGELOG/entries that mention a merge commit are history, not rules. Theumbrella's own trailer statements are the attribution rule this paragraph amends
(
AGENTS.md:476) and the coordination order on comments and PR bodies(
AGENTS.md:683) — a different proposition, about the ORDER of two footer lines.Rulebook compliance
AGENTS.mddispatcher row for git/ghwork selected/charly-internals:git-workflow, read in full before the first git orghaction inthis leg, and this repo's own
AGENTS.mdselected it again for the same work. Thechange edits the rulebook's AI Attribution section, which is the umbrella's own
prose; no other dispatcher row's trigger applies to a one-paragraph rulebook edit.
Assisted-by:trailer, and no control reads the pushed range's trailers #613's first half, and it is fixedhere: the rule is stated once, in the repo that owns the rulebook. Its second half —
the control that reads the pushed range's trailers — is fixed in
opencharly/layer-charly-internals, the repo that owns the self-audit, and it isfiled and tracked there; it cannot be fixed in this repo, because this repo owns the
rule and not the skill. No new issue was filed by this change. The RCA in two published merge commits carry no
Assisted-by:trailer, and no control reads the pushed range's trailers #613 namesthe mechanism (a rule that does not say what a merge commit is, so two readings stay
defensible), the missed control (nothing read the pushed range's trailers, so a gap
below the head stayed invisible), the blast radius (three published commits on one
branch, and an org that cannot tell a violation from compliance) and the root fix
(state the rule, and add the arm that reads the range).
The gate's first run in this worktree failed before any step ran — the manifest's
import:block names four local paths and the worktree had one of them materialized,so the project load stopped at
./layer-openclaw. That is fixed here, not narrated:the worktree now carries the manifest's local import set, and the gate is green on
the committed tree.
AGENTS.mdstates the rule;the skill that owns the self-audit states the control, and the corpus projection of
that skill is generated rather than hand-edited. The sweep above shows the rule is
stated in exactly one file.
merge whose message the agent did not) rather than a way around the trailer.
pushed range's trailers is the second half of the same finding, and it is fixed in the
repo that owns that control, in the leg that follows this one.
commit's trailer to delete, and the sweeps above show the tree holds exactly one
statement of the rule and no other statement about merge commits.
git statuswas clean before the edit, and the diff touches exactly the onefile its table names. The branch is off fresh
origin/main(12cc058), no history isrewritten, nothing is force-pushed, no hook is bypassed, and the umbrella's own
hooks/pre-commitran on the commit (it reportedpre-commit: OK).AGENTS.md(the validator rule-map gate reconciles the committed rulebook against the live
AI_REVIEW_PROMPTand runs insidetask verify), and the only command in the treethat can WRITE the file leaves it byte-identical, as pasted above. The rule's two halves
are proved on published commits rather than asserted.
files of the real tree, and nothing is mocked.
2026.297.0121),built in this worktree by
./charly/scripts/bootstrap-charly.sh, never a shared hostinstall.
passed with zero warnings:
charly task verify→33 step(s), 0 failed, exit 0.Change classification
One authored rulebook paragraph — prose only.
manifest and no behavioural config: it adds one paragraph to the umbrella's own
rulebook, in the section that states the attribution rule. The change is a
clarification of a rule, in the repo that owns the rulebook.
file is deleted.
charly task verifyon the committed tree —33 step(s), 0 failed,exit 0 — plus the dispatcher splice check,
charly task self-test, and theclaim-keyed sweeps above.
documentation reviewed— the change is prose only, everynon-runtime standard passed, and no runtime tier is permitted for prose-only work.
Filed issues
None filed by this change. The other half of the same finding — the control that reads
the pushed range's trailers — is #613, being fixed in the repo that
owns the self-audit (
opencharly/layer-charly-internals).Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)