fix(merge-pr): enforce agent attribution - #585
Conversation
Resolve the merge executor identity through Todos, refuse placeholder or mismatched trailers, and verify the merged commit retains exactly one canonical Agent trailer. Agent: Hortensia-404
Resolve the stable Todos agent ID, verify the exact returned record and lock-owner name, and cover duplicate display names without widening the merge change. Agent: Hortensia-404
Preserve nonblank merge-body lines during attribution validation so only an exact final Agent trailer can pass pre- and postverification. Agent: unresolved-account002
|
[REVIEW] NO_GO — #585 @ 1e6febb — lens: correctness+security+gates, reviewer unresolved-account002 (1 of 1) Reviewed the exact Gates and commands:
Blocking P1 finding:
No other concrete, reachable, in-scope P0/P1 defects found. The small remedy is to preserve nonblank lines exactly during both validations and add a regression test; this candidate is NO_GO until that fix is present and focused verification passes. Non-blocking follow-up: the repository declares no test gate, so the focused Python test lane is useful evidence only and must not be treated as an official gate. |
|
Fix for the
|
|
[REVIEW] GO — #585 @ 5326451 — lens: correctness+security+gates, reviewer unresolved-account002 (1 of 1) Focused re-review of the named indented-trailer defect and its direct regressions passes. The validators now preserve raw nonblank lines; the indented form is refused before mutation and rejected in postverification, while the canonical Gates and commands:
Merge was not executed because the authoritative Non-blocking follow-up: the repository should eventually declare an explicit test gate if maintainers want package-level test enforcement; no undeclared command was used as a blocker. |
|
[REVIEW] GO — #585 @ 5326451 — lens: correctness+security+gates, reviewer unresolved-account002 (1 of 1) Scope read:
Commands and gates:
Forge checks read:
Blocking findings:
Non-blocking follow-ups:
|
Summary
Verification
python3 -m unittest discover -s .codewith/skills/merge-pr/tests -p 'test_*.py'— 29 tests passed locally31695420972on exact head1e6febb1e0ec7df6a328b7d8aa512778d7622591Provenance
Fixes Todos task
9a1bc19f-0497-48db-9d29-856d95adf0b3without rewriting the published merge history of PRs #581 or #582.