You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
{
"issue": 5150,
"status": "done",
"branch": "claude/issue-5150-agents-heredoc-escape",
"pr": "https://github.com/objectstack-ai/objectui/pull/5152",
"premise_still_valid": true,
"summary": "Restored the intended bytes of the AGENTS.md 9 heredoc example: the shared-scratchpad clause's mechanism half now reads `git commit -F - <<'EOF'` instead of the leaked single-quote-in-single-quote escape. One line, 1 insertion / 1 deletion, applied with an editing tool rather than a nested-quoted shell heredoc (the write path that caused the defect). Surrounding prose, numbered ordering and the mechanism-over-discipline argument untouched, as the card required. Draft PR #5152 open; not marked ready, no auto-merge, not enqueued.",
"tests": "All gates run at final commit 55ab4c9 (git rev-parse --short HEAD), after the last commit. Derived union by inspecting each script's real scan set, not recall: check-control-bytes EXIT=0; check-doc-links EXIT=0; check-changeset-presence EXIT=0; check-changeset-no-major EXIT=0. Byte verification from the committed object: `git show HEAD:AGENTS.md | cat -A | grep -n EOF` -> `230: git commit -F - <<'EOF'$` and `234: EOF$`; `git show HEAD:AGENTS.md | grep -n 'commit -F -'` -> line 230 ` git commit -F - <<'EOF'` (plus prose lines 227/239, unchanged). Residue grep for the escape sequence over the committed blob: exit 1 (no match). No pnpm install was needed - every derived gate is a plain-node script using builtins only; no build/test ran, so the shared heavy-verify lock was never taken. Reverse verification: predicted BEFORE running that nothing would go red; observed exactly that - re-introducing the corrupted bytes left all four gates at exit 0. The re-introduction was byte-identical to origin/main, independently proven by check-changeset-presence then reporting '0 file(s) changed' against the merge-base. Restored via git checkout of the committed fix; working tree clean, worktree removed unforced.",
"open_questions": [],
"out_of_scope_findings": [
"filed as #5151: no gate anywhere validates the executability of fenced shell examples in markdown - measured, all four derived gates stay exit 0 with the corrupted heredoc present; generalizes to AGENTS.md / CLAUDE.md / skills/** / content/docs/**. Unassigned, unlabeled for PM triage.",
"dispatch-prompt correction (no code change): the prompt said `skip-changeset` applies and to state its precedent. That label mechanism does not exist in objectui - content/docs/guide/ci-cd-pipeline.md records it explicitly ('None of it existed'), matching the standing dev-contract clause. No label was created or applied. No changeset is owed either, and check-changeset-presence certifies that itself: its guarded surface is a released package's src/**, which a root AGENTS.md edit is outside.",
"attribution footer: used the session-URL form per the standing dev contract (the bare https://claude.ai/code form is stripped from a PR body on every later edit), rather than the bare form the dispatch prompt spelled out."
]
}
Activity
os-zhuang commentedon Aug 18, 2026
Claiming this card.
session_01NYgmGheCzM6NrHZN436Cxfclaude/issue-5150-agents-heredoc-escape/home/user/objectui-5150Scope is the single line in
AGENTS.md§9; surrounding prose, ordering and the mechanism-over-discipline argument stay untouched per the card.Generated by Claude Code
fix(docs): AGENTS.md heredoc example no longer carries shell-escape r…
os-zhuang commentedon Aug 18, 2026
{ "issue": 5150, "status": "done", "branch": "claude/issue-5150-agents-heredoc-escape", "pr": "https://github.com/objectstack-ai/objectui/pull/5152", "premise_still_valid": true, "summary": "Restored the intended bytes of the AGENTS.md 9 heredoc example: the shared-scratchpad clause's mechanism half now reads `git commit -F - <<'EOF'` instead of the leaked single-quote-in-single-quote escape. One line, 1 insertion / 1 deletion, applied with an editing tool rather than a nested-quoted shell heredoc (the write path that caused the defect). Surrounding prose, numbered ordering and the mechanism-over-discipline argument untouched, as the card required. Draft PR #5152 open; not marked ready, no auto-merge, not enqueued.", "tests": "All gates run at final commit 55ab4c9 (git rev-parse --short HEAD), after the last commit. Derived union by inspecting each script's real scan set, not recall: check-control-bytes EXIT=0; check-doc-links EXIT=0; check-changeset-presence EXIT=0; check-changeset-no-major EXIT=0. Byte verification from the committed object: `git show HEAD:AGENTS.md | cat -A | grep -n EOF` -> `230: git commit -F - <<'EOF'$` and `234: EOF$`; `git show HEAD:AGENTS.md | grep -n 'commit -F -'` -> line 230 ` git commit -F - <<'EOF'` (plus prose lines 227/239, unchanged). Residue grep for the escape sequence over the committed blob: exit 1 (no match). No pnpm install was needed - every derived gate is a plain-node script using builtins only; no build/test ran, so the shared heavy-verify lock was never taken. Reverse verification: predicted BEFORE running that nothing would go red; observed exactly that - re-introducing the corrupted bytes left all four gates at exit 0. The re-introduction was byte-identical to origin/main, independently proven by check-changeset-presence then reporting '0 file(s) changed' against the merge-base. Restored via git checkout of the committed fix; working tree clean, worktree removed unforced.", "open_questions": [], "out_of_scope_findings": [ "filed as #5151: no gate anywhere validates the executability of fenced shell examples in markdown - measured, all four derived gates stay exit 0 with the corrupted heredoc present; generalizes to AGENTS.md / CLAUDE.md / skills/** / content/docs/**. Unassigned, unlabeled for PM triage.", "dispatch-prompt correction (no code change): the prompt said `skip-changeset` applies and to state its precedent. That label mechanism does not exist in objectui - content/docs/guide/ci-cd-pipeline.md records it explicitly ('None of it existed'), matching the standing dev-contract clause. No label was created or applied. No changeset is owed either, and check-changeset-presence certifies that itself: its guarded surface is a released package's src/**, which a root AGENTS.md edit is outside.", "attribution footer: used the session-URL form per the standing dev contract (the bare https://claude.ai/code form is stripped from a PR body on every later edit), rather than the bare form the dispatch prompt spelled out." ] }Generated by Claude Code
fix(docs): AGENTS.md heredoc example no longer carries shell-escape r…