Repository navigation
feat(ops): port the 2026-11-07 harness mechanics - #28
Merged
Merged
Conversation
Bring the template up to the private harness as of 2026-11-07, as generic rewrites. Every change follows the owner rule: on a copy, the template adds and offers; it never deletes, caps or blocks what the copy's owner chose. - Guards: git-guard warns on staged conflict markers and reads more shell forms; secrets-guard and secrets-scan fail closed on a scan they cannot finish. - Lanes: lane-class, lane-rules, foreman-context with CONTEXT/foreman.md, quieter context-watch and session-briefing for lanes, await, safe-pkill (shims stay opt-in), per-thread work keys, the detached leftover-stamp scan. - Memory: the memory digest hook, the tiered digest, the 60-entry pool cap as a warning, memory-hint, the memory-init host key. - Prompt hooks: report-lint and askuser-cancel. - Tools: mcp-http-call.py and a configuration-driven await-approval, wf-resume. - Gate and deploy: verify-ops runs the new suites, warns on pool size and skill size; deploy reports retired plugins with their removal commands instead of removing them. - Doctrine, model roles and skills updated; mounted skills re-vendored at agent-skills 0.1.10.
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.
Summary
Brings the template up to the maintainer's private harness as of 2026-11-07, as generic rewrites (the last port was 2026-10-19). One rule runs through all of it: on your copy, the template adds and offers. It never deletes, caps or blocks what you chose (your remotes, backups, memory layout, plugins, hooks and pins stay yours); the only things it overrules are unsafe ones.
What a copy gains:
hooks/memory-digest.sh, which the template did not ship, so a copy started every session with no memory. The hook is here now, with the tiered digest,memory-hint, and a pool-size warning at 60 entries (a warning only).secrets-scan.shfail closed when a scan cannot finish, instead of reading an error as clean.lane-classtells the main thread from a spawned lane;context-watch,session-briefingand the newlane-rulesandforeman-contexthooks give each the right amount of text.CONTEXT/foreman.mdholds the main-thread-only rules, split out ofcore.md.report-lintturns an over-long report into a short ask card once;askuser-cancelmakes sure a dismissed question is never read as an answer. Both can be turned off with an environment variable.await(wait on a background command inside a tool limit),safe-pkill(refuses a pattern that would match your own shell; the shims stay opt-in),wf-resume,mcp-http-call.py(a small MCP-over-HTTP client, endpoint and key from configuration) and a configuration-drivenawait-approvalbuilt on it.Verification
bin/testssuite in the sandbox (0 failed), every self-test beside its subject with the Stage-1 settings (0 failed), both PowerShell suites (pass).verify-ops31 ok, 0 warn, 0 fail.test_stage1.pyagainst this tree, 73 OK, including the verify-ops model-rules parity test.guard-selftest.sh196 PASS; gitleaks over the full history clean.