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 }}
Repository navigation
Agent skill: improve-readme towards a verified first success #70
Implementation candidate: #150 adds the improve-readme skill with exact scoped diff/approval gate, unverified-command labeling, unsupported-badge rejection, source-level contracts and 2 positive + 1 negative synthetic eval case. CI is green (6/6) on 42f64bafc8f1d7ca27c67f864241d3b6ca8abf20 (run). Still open pending later-run PR acceptance; real model behavior, actual post-approval edits and first-run execution are not verified (#74).
Progress (2026-11-01): merged #229 at 600fbae. The existing improve-readme skill now offers an optional, read-only preview of an already prepared candidate using tools/readme_preview.py, including unified diff, original/proposed SHA-256, line-ending disclosure and optional stale-original check. The explicit per-diff user approval gate remains separate; running this helper never authorizes a write. All six jobs of Quality CI #41312237687 passed on the PR head, including eight new regressions.
Keep this issue open: the complete edit-after-consent / re-audit workflow and a negative eval proving no invented badge/output have not been demonstrated by this integration alone. No target README was changed.
Independent post-merge validation of the README exact-diff preview (Related: #229, merged at 600fbae1986909efa915ce4b2b9f66d13cf5aac7): the current tools/readme_preview.py::_diff() uses str.splitlines(keepends=True), which treats bare CR and Unicode line separators as line boundaries. This does not match the LF-based line semantics of a conventional unified diff, even though the helper accepts these UTF-8 inputs and reports CR line endings.
Bounded reproduction against the exact _diff implementation, compared with diff -u:
Current README bytes b'A\rB\r'; proposal bytes b'A\rC\r'. diff -u reports one changed physical line (@@ -1 +1 @@). The preview instead reports two lines (@@ -1,2 +1,2 @@), emits A\r as context, and emits a \\ No newline at end of file marker after each CR-split segment.
With A\u2028B\n -> A\u2028C\n, the preview similarly invents a two-line hunk and a no-newline marker, whereas diff -u reports one changed line.
This matters to the skill's exact-diff approval gate: the displayed hunk/line counts and end-of-line annotations can be inaccurate for accepted README content. Please make the diff framing match the documented input contract (e.g. LF-delimited source lines, with an explicit policy for bare CR / Unicode separators), and add regressions asserting the actual hunk and marker output for both fixtures. This is a source-level correctness finding; I did not execute the full BeautifulRepo suite. PR #229's hosted six-job CI is green but its eight new tests do not cover these cases. No repository changes were made in this validation.
Progress (2026-11-01): merged #232 at 7e32bd1. The improve-readme workflow now includes tools/readme_apply.py for the post-explicit-consent local application of exactly one README candidate. It checks both original and proposal SHA-256 values, rejects stale/unsafe inputs, writes via a temporary sibling, and preserves candidate bytes; ten new regression tests cover success and refusals. The separate human yes to the displayed diff and exact file list remains mandatory: possessing hashes is not consent.
Exact-head Quality CI #41337354195: 6/6 jobs passed; independent APPROVED review on cbeaaee2332d1e8ebd3a5206da625e4ac1aeb44b; no unresolved review threads. Keep #70open for actual post-consent agent edit/re-audit and negative model-level eval demonstrating no invented badges, output, or implicit approval. This merge did not modify any external repository README.
Progress (2026-11-01): merged #233 at 1311c287. The published synthetic README approval flow now runs the real offline audit, preview, hash-bound apply and before/after link/navigation checks in a disposable fixture. Three integration tests also verify refusal without approval hashes, stale source/proposal rejection, unchanged unrelated files and non-execution of target code. Exact-head Quality CI #41346955963 passed all 6 jobs; independently reviewed/APPROVED on head 5de667539f37b8936d068b78003f64d41a328646, no unresolved review threads. Keep #70 open: the test simulates consent by supplying hashes, and does not prove an agent waited for a real user's explicit yes, resisted injected instructions, or avoided fabricated badge/first-success claims. These require separately authorized model-level evaluation (also #74). No other repository was edited.
Activity
drevendev commentedon Oct 24, 2026
Implementation candidate: #150 adds the
improve-readmeskill with exact scoped diff/approval gate, unverified-command labeling, unsupported-badge rejection, source-level contracts and 2 positive + 1 negative synthetic eval case. CI is green (6/6) on42f64bafc8f1d7ca27c67f864241d3b6ca8abf20(run). Still open pending later-run PR acceptance; real model behavior, actual post-approval edits and first-run execution are not verified (#74).drevendev commentedon Nov 1, 2026
Progress (2026-11-01): merged #229 at
600fbae. The existingimprove-readmeskill now offers an optional, read-only preview of an already prepared candidate usingtools/readme_preview.py, including unified diff, original/proposed SHA-256, line-ending disclosure and optional stale-original check. The explicit per-diff user approval gate remains separate; running this helper never authorizes a write. All six jobs of Quality CI #41312237687 passed on the PR head, including eight new regressions.Keep this issue open: the complete edit-after-consent / re-audit workflow and a negative eval proving no invented badge/output have not been demonstrated by this integration alone. No target README was changed.
andy-zen-dev commentedon Nov 1, 2026
Independent post-merge validation of the README exact-diff preview (Related: #229, merged at
600fbae1986909efa915ce4b2b9f66d13cf5aac7): the currenttools/readme_preview.py::_diff()usesstr.splitlines(keepends=True), which treats bare CR and Unicode line separators as line boundaries. This does not match the LF-based line semantics of a conventional unified diff, even though the helper accepts these UTF-8 inputs and reportsCRline endings.Bounded reproduction against the exact
_diffimplementation, compared withdiff -u:b'A\rB\r'; proposal bytesb'A\rC\r'.diff -ureports one changed physical line (@@ -1 +1 @@). The preview instead reports two lines (@@ -1,2 +1,2 @@), emitsA\ras context, and emits a\\ No newline at end of filemarker after each CR-split segment.A\u2028B\n->A\u2028C\n, the preview similarly invents a two-line hunk and a no-newline marker, whereasdiff -ureports one changed line.This matters to the skill's exact-diff approval gate: the displayed hunk/line counts and end-of-line annotations can be inaccurate for accepted README content. Please make the diff framing match the documented input contract (e.g. LF-delimited source lines, with an explicit policy for bare CR / Unicode separators), and add regressions asserting the actual hunk and marker output for both fixtures. This is a source-level correctness finding; I did not execute the full BeautifulRepo suite. PR #229's hosted six-job CI is green but its eight new tests do not cover these cases. No repository changes were made in this validation.
drevendev commentedon Nov 1, 2026
Progress (2026-11-01): merged #232 at
7e32bd1. Theimprove-readmeworkflow now includestools/readme_apply.pyfor the post-explicit-consent local application of exactly one README candidate. It checks both original and proposal SHA-256 values, rejects stale/unsafe inputs, writes via a temporary sibling, and preserves candidate bytes; ten new regression tests cover success and refusals. The separate human yes to the displayed diff and exact file list remains mandatory: possessing hashes is not consent.Exact-head Quality CI #41337354195: 6/6 jobs passed; independent APPROVED review on
cbeaaee2332d1e8ebd3a5206da625e4ac1aeb44b; no unresolved review threads. Keep #70 open for actual post-consent agent edit/re-audit and negative model-level eval demonstrating no invented badges, output, or implicit approval. This merge did not modify any external repository README.drevendev commentedon Nov 1, 2026
Progress (2026-11-01): merged #233 at
1311c287. The published synthetic README approval flow now runs the real offline audit, preview, hash-bound apply and before/after link/navigation checks in a disposable fixture. Three integration tests also verify refusal without approval hashes, stale source/proposal rejection, unchanged unrelated files and non-execution of target code. Exact-head Quality CI #41346955963 passed all 6 jobs; independently reviewed/APPROVED on head5de667539f37b8936d068b78003f64d41a328646, no unresolved review threads. Keep #70 open: the test simulates consent by supplying hashes, and does not prove an agent waited for a real user's explicit yes, resisted injected instructions, or avoided fabricated badge/first-success claims. These require separately authorized model-level evaluation (also #74). No other repository was edited.