Require DCO sign-off in agent instructions - #1489
Conversation
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Chris0Jeky
left a comment
There was a problem hiding this comment.
Self-review of exact head ef0460428043d988b54aca2c9e9445b59b073b1d.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I inspected the complete three-commit diff against main, the #1485 acceptance criteria, all repository git commit / --no-gpg-sign guidance, and current workflow truth. The root contracts contain one identical DCO obligation; every operational --no-gpg-sign example now includes -s; README/CONTRIBUTING/testing wording matches the active pull-request-only advisory job and leaves branch protection to #1173.
Local evidence: exact-anchor parity PASS; command-example audit PASS; docs governance PASS; Golden Principles PASS; GitHub operations governance PASS; available sibling law-parity gate PASS (45/10/23, 7 runtime-local); diff check PASS; 3/3 PR commits contain DCO trailers.
Residual gates: the sibling parity script does not inspect Taskdeck's root pair, so the exact-anchor assertion is the direct local proof. Fresh independent reviews, exact-head GitHub DCO, and CI are still pending.
|
@codex review Please review exact head |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh operational/DCO review of exact head ef0460428043d988b54aca2c9e9445b59b073b1d (base 8d45d044821e8ddce97231f3232002cf16f0d354).
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I inspected the complete 10-file / 3-commit diff, #1485 acceptance criteria, all existing PR discussion/reviews (no inline threads), every --no-gpg-sign occurrence at this head, the current DCO workflow, and the PR commits. The paired root instruction sentence is identical; copyable automated/background commit commands use git commit -s --no-gpg-sign; --no-verify remains forbidden; and README, CONTRIBUTING, and TESTING_GUIDE accurately describe a PR-only active advisory DCO job with branch-protection promotion retained by #1173. All three PR commits have matching Signed-off-by trailers.
Independent local evidence: docs governance, Golden Principles, GitHub-operations governance, and git diff --check passed. The exact-head DCO job is green. Other required CI jobs were still running when reviewed, so this review is not merge evidence; no backend/frontend/Playwright rerun is needed for this documentation/instruction-only diff.
Chris0Jeky
left a comment
There was a problem hiding this comment.
Independent contributor-contract review of exact head ef04604.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I reviewed the complete diff against main, issue #1485's acceptance criteria, all existing PR discussion/reviews, every active Markdown occurrence of --no-gpg-sign, the root AGENTS.md/CLAUDE.md DCO obligation, CONTRIBUTING.md, README.md, docs/TESTING_GUIDE.md, and .github/workflows/ci-required.yml.
The root contract sentences are semantically identical; all operational background-terminal examples use git commit -s --no-gpg-sign; the current workflow is PR-only with continue-on-error: true, matching the updated active/advisory wording and maintainer-owned #1173 promotion. I found no remaining active stale “rollout week”, 2026-07-20, “gate has not landed”, or equivalent DCO wording.
Review-only evidence: exact head confirmed; git diff --check origin/main... passed; all 3 PR commits carry a Signed-off-by: trailer. Residual gate: GitHub CI/DCO must still finish green on this same head; no product suites are warranted by this documentation/instruction-only diff.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef04604280
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef04604280
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Fix evidence for Codex P2 findings — exact head
|
Chris0Jeky
left a comment
There was a problem hiding this comment.
Self-review of exact head d1a327f3fe13f025412efb0a3c3c9de80fffb8a2 after the Codex fixes.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I re-read every PR conversation comment, submitted review, and inline thread, then inspected the complete four-commit diff. The two P2 findings are addressed without changing DCO enforcement: terminology now says “signed-off”; every commit-producing local merge path names git merge --signoff --no-gpg-sign; ordinary commits retain git commit -s --no-gpg-sign; --no-verify remains forbidden; and branch protection remains under #1173.
Local exact-head evidence: paired-law anchor, commit/merge command audit, merge-guidance audit, docs governance, Golden Principles, GitHub operations governance, sibling parity, diff check, and DCO 4/4 all pass. Both prior inline threads have replies and are resolved.
Fresh independent reviews, Codex, and exact-head CI remain separate gates.
|
@codex review Please re-review exact head |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh operational/DCO re-review of exact head d1a327f3fe13f025412efb0a3c3c9de80fffb8a2 (base 8d45d044821e8ddce97231f3232002cf16f0d354). I read all current comments, submitted reviews, and inline threads first.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: PowerShell cannot parse the newly documented generic merge command.
git merge --signoff --no-gpg-sign <branch>treats<branch>as redirection;powershell -NoProfile -Command 'git merge --signoff --no-gpg-sign <branch>'exits 1 withThe '<' operator is reserved for future use, before Git runs. This breaks the Windows/background recovery form the PR is specifically trying to make safe. It appears inAGENTS.md(two places),CLAUDE.md, both CI-recovery skills,docs/WORKTREE_AGENT_PROTOCOL.md, anddocs/tooling/CODEX_AUTONOMY_RUNBOOK.md. Replace the angle-bracket placeholder with PowerShell-copyable guidance—for example a concreteorigin/mainrecovery command where that is the intended target, orbranch-nameplus explicit prose to replace it—and keep the paired root wording identical. - LOW: none
The two prior P2 findings themselves are resolved: the affected text now says “signed-off commits,” and every newly covered commit-producing merge path includes --signoff --no-gpg-sign. All four PR commits carry DCO trailers. This new PowerShell parser regression must be fixed and re-reviewed on a new exact head.
Chris0Jeky
left a comment
There was a problem hiding this comment.
Independent re-review of exact head d1a327f.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: PR body, Verification — stale exact-head audit claims after d1a327f. The body still says every --no-gpg-sign instruction includes git commit -s --no-gpg-sign and reports “3/3 commits signed off.” This head intentionally adds valid git merge --signoff --no-gpg-sign guidance and contains 4/4 signed-off commits. The PR's public verification record is therefore no longer accurate. Update it to audit the appropriate ordinary-commit and commit-producing-merge forms, and to 4/4 (or a non-counted exact-head assertion).
The two Codex P2 threads are otherwise fully resolved: their root-law wording is byte-for-byte semantically aligned; all active merge guidance uses git merge --signoff --no-gpg-sign where a merge can create a commit; “signed-off” terminology replaces the cryptographic-sounding phrase; every PR commit has a DCO trailer; no stale active rollout/not-active DCO guidance remains; and diff check passes.
I read all current PR issue comments, reviews, and both review threads before this re-review. Residual gate: exact-head CI remains separate merge evidence.
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d1a327f3fe
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Fix evidence for latest re-review findings — exact head
|
Chris0Jeky
left a comment
There was a problem hiding this comment.
Self-review of exact head 3fbd5de68fa703d29fb51a5dde1d16e4dad4a7aa after the PowerShell/metadata fixes.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I re-read all PR conversation, reviews, and threads and inspected the complete five-commit diff plus the updated PR body. The DCO terminology and merge-signoff P2s remain fixed; every new generic merge snippet now uses an explicitly replaceable BRANCH_NAME token that parses in Windows PowerShell; and the PR body accurately describes both commit/merge forms, 5/5 local trailers, and current project state.
Exact-head local gates: paired-law anchor, commit/merge command audit, PowerShell AST parse, no-new-angle-placeholder audit, docs governance, Golden Principles, GitHub operations governance, sibling parity, diff check, and DCO 5/5 all pass. Fresh independent review, Codex, and CI remain separate gates.
|
@codex review Please review exact head |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh operational/DCO re-review of exact head 3fbd5de68fa703d29fb51a5dde1d16e4dad4a7aa (base 8d45d044821e8ddce97231f3232002cf16f0d354). I read the current PR body, all discussion, reviews, and threads before inspecting the complete diff.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: The current unresolved Codex P2 on conflicted merges remains valid.
git merge --signoff --no-gpg-sign BRANCH_NAMEprotects a clean commit-producing merge, but when it conflicts, finishing with the standardgit merge --continuecan create the merge commit without the DCO trailer. The root promise that every merge commit has one therefore still has a documented recovery hole precisely in the conflict-recovery path. Add explicit post-conflict guidance: after resolving and staging, usegit commit -s --no-gpg-sign(rather than relying ongit merge --continue), and apply it wherever this merge command is presented; then re-audit and re-review. - LOW: none
Prior findings remain fixed: “signed-off” wording is accurate; BRANCH_NAME is explicitly replaceable and PowerShell-parser-safe (it reached Git rather than producing the < parser error); the PR body accurately describes the new head and 5/5 sign-offs. git diff --check also passes. This remaining conflict-path issue prevents a no-findings verdict.
Chris0Jeky
left a comment
There was a problem hiding this comment.
Final independent contributor-contract review of exact head 3fbd5de.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: existing unresolved Codex thread r3651637638 remains valid. The new merge command carries --signoff only on the initial merge. In the conflict path that these CI-recovery instructions explicitly cover, the merge is finalized later; the current head contains no instruction to create that resolution commit with git commit -s --no-gpg-sign (and it does not mention a signed conflict-completion alternative). This leaves a documented path to an unsigned merge commit, contradicting the paired root rule. Add explicit post-resolution signed completion guidance wherever these conflict/reconciliation instructions are copied, then re-run the command audit.
- LOW: none
Verified as still fixed: the two original P2s use “signed-off” terminology and signed non-conflicting merge guidance; root AGENTS.md/CLAUDE.md wording is identical; BRANCH_NAME is a PowerShell-safe replacement token; the PR body now accurately audits ordinary and merge forms and reports 5/5 DCO trailers; no stale active DCO wording remains; diff check passes.
I read all current issue comments, reviews, and review threads first. The conflict-completion P2 is still unresolved, so this head is not ready for merge evidence.
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Conflict-completion fix evidence — exact head
|
Chris0Jeky
left a comment
There was a problem hiding this comment.
Self-review of exact head d4f401d076e4fb6b3f921fc8054651ac5fe7073b after the conflict-completion fix.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I re-read every PR comment, review, and thread; reproduced the disputed Git behavior; and inspected the full six-commit diff and current PR body. All prior findings remain fixed. Clean merges use --signoff; conflicted merges explicitly resolve/stage and finish with git commit -s --no-gpg-sign --no-edit rather than the proven-unsigned git merge --continue; generic merge/push tokens parse in PowerShell; and the body records the real 6/6 evidence.
Exact-head local evidence: Git 2.45.1 conflict probes, PowerShell AST parses, paired-law anchor, conflict-guidance audit, no touched angle placeholders, docs governance, Golden Principles, GitHub operations governance, sibling parity, diff check, and DCO 6/6 all pass. Three prior inline threads have fix replies and are resolved.
Fresh independent reviews, Codex, and exact-head CI remain separate gates.
|
@codex review Please re-review exact head |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh exact-head contributor-contract review of d4f401d.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: docs/agentic/OVERNIGHT_LOOP.codex.md:102 and docs/agentic/OVERNIGHT_LOOP.claude.md:87 — the edited recovery commands invoke merge --abort / merge --signoff, not git merge. PowerShell parses those tokens but this environment has no merge command, so the advertised Windows recovery path fails before Git runs. Use git merge --abort and git merge --signoff --no-gpg-sign origin/main, and update closely copied recovery wording as appropriate. The PR body parser claim is not sufficient runtime proof because parsing does not resolve a command.
- LOW: none
All earlier findings are resolved: root DCO law wording is identical; ordinary, clean-merge, and conflicted-merge completion forms are explicit; the resolved conflict thread includes a real Git-for-Windows probe; BRANCH_NAME is parser-safe; the PR body accurately reports 6/6 DCO trailers; no stale active DCO wording remains; and diff check passes.
I read every current PR comment, review, and review thread before this review.
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh operational/DCO re-review of exact head d4f401d076e4fb6b3f921fc8054651ac5fe7073b (base 8d45d044821e8ddce97231f3232002cf16f0d354). I read the full current PR body, discussion, reviews, and threads first.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: The new root law says every new commit, including a merge commit, must carry a DCO trailer, but it is not true for the repository's normal GitHub merge path. Recent
mainmerge commits8d45d044(#1486),438466f1(#1484), andd6dadbdc(#1337) are GitHub-created merge commits withoutSigned-off-by:trailers; meanwhileci-required.ymlruns the advisory DCO job only forpull_request, not post-merge/push. The ordinary, clean-local-merge, and conflict-completion instructions are now correct, but the universal wording remains operationally impossible/unenforced for GitHub merge commits. Scope the requirement to contributor/PR commits and locally-created merge commits, or establish a separately verifiable GitHub-merge process before claiming the universal rule. Align AGENTS.md, CLAUDE.md, and CONTRIBUTING/README language with the chosen scope. - LOW: none
Verified fixed: terminology uses “signed-off”; clean local merge and conflicted-merge completion both name DCO-safe commands; BRANCH_NAME is PowerShell-parser-safe; all six PR commits are signed off; and git diff --check passes. The documented GitHub merge-policy mismatch prevents a no-findings verdict.
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Exact-head fix evidence for review findingsHead:
Fresh local evidence on this head:
All earlier-head review and CI evidence is superseded. Fresh two-lens review, Codex review, and exact-head automation are required before merge. |
|
@codex Please perform a fresh adversarial review of exact head |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Coordinator self-review of exact head 4df4fb45d29f48b99f48ae88641016858e1f9d84.
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I re-read the complete 14-file / 7-commit diff, issue #1485, the current PR body, every conversation comment, all submitted reviews, and all three inline threads. The prior findings remain fixed: DCO terminology is unambiguous; ordinary, clean local merge, and conflicted-merge completion paths create signed-off commits; BRANCH_NAME is explicitly replaceable and PowerShell-safe; copied recovery commands invoke git; and the root/contributor wording scopes the requirement to commits contributors create or submit while accurately excluding GitHub's server-generated merge artifact from the PR commit set.
Exact-head local evidence: paired Taskdeck law PASS; PR-only workflow-scope assertion PASS; parser + command-resolution audit PASS; docs/Golden/GitHub-ops gates PASS; sibling law parity PASS (45/10/23, 7 local); diff check PASS; DCO 7/7. All three inline threads are resolved/outdated.
Fresh independent reviews, Codex, and exact-head CI/CodeQL remain separate merge gates.
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh adversarial contract/correctness review of exact head 4df4fb45d29f48b99f48ae88641016858e1f9d84 (base 8d45d044821e8ddce97231f3232002cf16f0d354).
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I independently reviewed the complete origin/main...HEAD diff, issue #1485 acceptance criteria, current PR body/comments/reviews and all three review threads, the active DCO workflow, every PR commit, the paired root contracts, and the changed executable recovery guidance. The three prior threads are resolved and their fixes hold: clean local merge commands sign off, conflict completion uses the accepted git commit -s --no-gpg-sign --no-edit form, and recovery commands are git-qualified and PowerShell-parser-safe. The root law is textually aligned after its runtime-local label; its contributor/PR scope correctly excludes GitHub's server-generated merge artifact, which the PR-only advisory DCO job does not inspect.
Independent local evidence: docs-governance, Golden Principles, GitHub-operations governance, and git diff --check origin/main...HEAD pass; all 7 PR commits contain a Signed-off-by: trailer; exact root-law parity and PowerShell parser/command-resolution checks pass. I also invoked the documented conflict-completion form in this clean worktree: it was accepted by Git and exited only because there was nothing to commit, leaving the tree clean.
Residual merge evidence is separate: the exact-head advisory DCO and all completed checks are green, while both API Integration matrix jobs were still in progress when I refreshed immediately before this review. No product suite rerun is warranted for this instruction/documentation-only diff.
Chris0Jeky
left a comment
There was a problem hiding this comment.
Fresh independent operations/security/verification review of exact head 4df4fb45d29f48b99f48ae88641016858e1f9d84 (base 8d45d044821e8ddce97231f3232002cf16f0d354).
Findings by severity:
- CRITICAL: none
- HIGH: none
- MEDIUM: none
- LOW: none
I independently inspected the complete origin/main...HEAD diff, #1485 acceptance criteria, PR body, all current PR comments/reviews, and all three review threads. I rechecked the ordinary commit, clean commit-producing merge, and conflicted-merge completion forms; Git-for-Windows 2.45.1 advertises the required --[no-]signoff, --[no-]gpg-sign, and --[no-]edit options, and every touched Git command line parses as PowerShell. The command audit found no bare recovery merge/stash or invalid angle-bracket placeholder. All seven PR commits carry Signed-off-by: trailers.
The DCO authority description is accurate: the workflow runs the advisory job only for pull_request; it checks submitted PR commits, not GitHub's later server-generated merge artifact. The changed contracts and contributor docs scope the requirement accordingly, while retaining #1173 for maintainer-owned branch-protection promotion. No stale active DCO rollout wording remains in the non-archive guidance searched.
Independent local evidence: node scripts/check-docs-governance.mjs, node scripts/check-golden-principles.mjs, node scripts/check-github-ops-governance.mjs, git diff --check origin/main...HEAD, and the PowerShell/parser command audits all passed. The exact worktree remains clean.
Residual merge gate: the exact-head DCO job and every completed check are green; both API Integration matrix jobs were still in progress at the final refresh. No product-suite rerun is warranted for this instruction/documentation-only diff.
Exact-head merge gateGate evaluated immediately before merge.
Merge method: merge commit. The standalone branch will not be deleted by this command. |
Summary
Signed-off-by:trailer on every contributor-authored or pull-request-submitted commit, including locally created merge commits, while accurately excluding GitHub's server-generated merge artifact from the PR commit setgit merge/git stashcommandsVerification
AGENTS.mdandCLAUDE.mdgit commit -s, cleangit merge --signoff, and conflictedgit commit -s --no-gpg-sign --no-editcompletiongit merge --continuereproduced an unsigned merge; the documented signed completion produced the expected trailergitexists and baremergedoes notpull_requestand checks the submitted PR commit setnode scripts/check-docs-governance.mjsnode scripts/check-golden-principles.mjsnode scripts/check-github-ops-governance.mjstests/check-law-parity.ps1: 45 mirrored obligations, 10 canonical laws, 23 Codex items (7 runtime-local)git diff --check origin/main...HEADDocumentation
docs/TESTING_GUIDE.mdupdated to current active/advisory realityREADME.mdandCONTRIBUTING.mdupdateddocs/STATUS.md/docs/IMPLEMENTATION_MASTERPLAN.mdreviewed; no update needed because shipped product reality and roadmap did not changeTracking
Review / Priority ICI Workflow Validation
Risk Notes