Frontline hackathon london 2026 - Agent hooks using Tripwire - #79
Open
neomatrix369 wants to merge 20 commits into
Open
Frontline hackathon london 2026 - Agent hooks using Tripwire#79neomatrix369 wants to merge 20 commits into
neomatrix369 wants to merge 20 commits into
Conversation
Ship enable/scan_validity_days defaults, approve/block stdout contract, and fail-closed hook templates so setup-agent-hooks can install them next.
feat(slice-23): add Frontline config schema and PreToolUse handlers
Installs PreToolUse handlers under ~/.tripwire/hooks (mode 700), writes config defaults when absent, and registers Claude Code PreToolUse idempotently. Also closes slice 23 trackers after PR #74 landed on Frontline.
feat(slice-24): add tripwire setup-agent-hooks install path
Scripted smoke verifies enable→block (unscanned/RED) and disable→approve on installed hooks; documents the Claude Code install-event gap workaround.
feat(slice-25): prove live enforce smoke after setup-agent-hooks
SSOT maps heatmap_status to six UI states and records observed tripwire scan stdout so H2 skills do not invent fields.
docs(slice-26): publish dual-output contract for /tw-* skills
Extract command-string helpers so CI complexity gate passes on collectPreToolUseCommands and the test counter.
Slice/26 api output contract
Operators can flip only the enable flag while preserving other config keys; verify/scan remain usable when enforcement is off.
code-review-graph reviewOverall risk: 0.65 (MEDIUM) — 138 changed function(s)/class(es), 0 affected flow(s), 44 test gap(s) Risk-scored changes
Test gaps
Token savings: this graph-backed report used ~46,243 fewer tokens (~73%) than reading every changed file in full (estimated, chars/4 approximation). Powered by code-review-graph — local-first analysis; no code leaves the CI runner. |
feat(slice-27): add /tw-enable and /tw-disable config toggles
Operators need one-pass multi-name verify with Markdown+JSON matching the Frontline contract; close slice 27 trackers after PR #80 merge.
feat(slice-28): add /tw-verify dual-output status reporting
Wires multi-name scan submission through an injectable tripwire scan seam and echoes introspected batch_id / scan_run_ids for Frontline operators.
feat(slice-29): add /tw-scan submit skill with dual force syntax
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
Why
Test Results
Checklist
./scripts/quality-gates.shpasses locallyCloses
Complexity
Automatically refreshed by CI for product-code changes.
sandbox/)cli/)Functions above the JavaScript threshold