fix(poteto-mode): surface how-skips, edit anchors, and todolist close rules - #13
Merged
Merged
Conversation
Second session audit gates: feature step 1 gains the architect-shaped skip clause, the edit non-negotiable pins content-hash anchoring and the :raw selector rule, and the todolist non-negotiable bans re-init to summarize completion. Bumps 2.1.4. Closes #12
Owner
Author
Independent verdict: PASSVerified by an agent that did not write the change. Worktree: CI gates (all green)
Clause verification (verbatim in the worktree)
Live surface probeTemporarily edited
Restoration
No red gates, no missing clauses, probe returned the new text, restoration confirmed byte-identical to the pre-probe snapshot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #12
What changed
feature.mdstep 1 now carries the skip contractarchitectalready had. A dropped subsystem mapping stays visible ashow skipped: <reason>instead of vanishing from the todolist.SKILL.mdedit non-negotiable now pins edit anchoring. Edits ride the content-hash tag from the latestreadorwriteresponse, a stale view forces a re-read, and:rawstays areadselector rather than an edit header.SKILL.mdtodolist non-negotiable requires marking items done as they land and bans a freshinitthat summarizes completed work as pending.check-playbooks.test.tslocks all three clauses.CHANGES.mdrecords the second audit under the existing process-gates section. Version moves 2.1.3 to 2.1.4 across the manifest, the marketplace catalog, andUPSTREAM.md.Why these three. A second audit, of the 2026-08-30 UI-refresh session on the 2.1.2 install, found the first gate set held for dispatch and commit gates and missed these. The audited session corrupted files eleven times, repeated the
#rawedit-header rejection on three string resources, dropped thehowstep silently, and closed with a re-initialized todolist.Tradeoffs. The edit-anchor rule is prose, not a runtime check. The omp edit tool already rejects stale tags loudly, so the rule targets the agent behavior of repeating the mistake, and the test locks the wording against drift.
Blast radius. Skill prose only, served to every poteto-mode session after upgrade. No script, manifest shape, or agent definition changes. Sessions that already follow the rules see no behavioral difference.
Verification
Scripts suite 172 pass, repo invariants 18 pass,
tscstrict clean, manifests parse, andskill-collision-repro.shreports the 2.1.4 version row. The new assertions ran red against the pre-fix skill files with 3 failures, then green with 16 passes after the fix commit, so the branch lands failing-test-first.Live evidence:
Installed the branch as marketplace
pstack-candidateand installedpstack@pstack-candidate2.1.4 from it. With the 2.1.3 install disabled, ran a one-shot omp v18.0.11 session in/tmpthat readskill://poteto-mode/SKILL.mdandskill://poteto-mode/playbooks/feature.mdand quoted both targets. The session returned, verbatim, the extended Source-edits bullet with the anchor clause and Feature step 1 withhow skipped: <reason>. Restored the machine afterwards. The 2.1.3 install is enabled again, the candidate is uninstalled, the temporary marketplace is removed, and the working tree is clean.