Skip to content

feat(ten-lane-highway): v2 — width pin, tmux socket isolation, escalation ladder, infra ledger + close gate, quickstart - #289

Merged
Brian Krabach (bkrabach) merged 6 commits into
mainfrom
ten-lane-highway-v2
Aug 30, 2026
Merged

feat(ten-lane-highway): v2 — width pin, tmux socket isolation, escalation ladder, infra ledger + close gate, quickstart#289
Brian Krabach (bkrabach) merged 6 commits into
mainfrom
ten-lane-highway-v2

Conversation

@bkrabach

Copy link
Copy Markdown
Collaborator

What

Usage-review-driven v2 of the ten-lane-highway skill.

Scripts:

  • BATCH_DIR/.width pins width (un-downgradeable, width_source reported)
  • Every tmux call now -L "${HIGHWAY_TMUX_SOCKET:-hw}" (structurally isolated from user sessions)
  • Watchdog escalation ladder (N ineffective wakes → HIGHWAY ESCALATION + escalation-needed marker)
  • NEW infra_ledger.sh add|list|sweep (anything a run stands up is ledgered at creation; Phase 7 close gated on a clean sweep — Rule 14)
  • TEST-EDITS flag in verify_lane.sh

SKILL.md:

  • Quickstart + examples/first-run.md
  • Pre-composed goal files
  • visibility summary frontmatter (priority deliberately NOT set)
  • goal-batch description gains a boundary summary pointing to ten-lane-highway
  • Descriptions tightened

Validation

  • Digital Twin validation (5/5 checks):
    • Infrastructure ledger sweep destroys the run's own DTU live
    • Width pin validation confirmed
    • Socket isolation verified
    • Escalation ladder tested
    • Resource cleanup validated

Paired With

Cross-link with: amplifier-bundle-skills PR (after both exist)

…pose, quickstart, visibility

Items 1-7 of the process-doc lane:
1. Infra ledger (infra_ledger.sh add/sweep, infra.tsv) — instruments row,
   Phase 2 goal-composition instruction, Phase 7 close gate, Rule 14.
2. Width pin (.width authoritative) + HIGHWAY_TMUX_SOCKET (-L hw on watchdog
   and Phase 7 kill) + HIGHWAY ESCALATION wake handling.
3. Pre-compose the whole priority queue into BATCH_DIR/goals/ (Phase 2);
   refills become bare launch_lane.sh calls; weave-in items composed on entry.
4. 'First run (~15 minutes)' quickstart near the top; bulk in examples/first-run.md.
5. Frontmatter visibility{priority,summary} + 3 new trigger phrases.
6. Known-limits refreshed to the still-true set.
7. goal-batch description points to ten-lane-highway for refill-on-drain work.
…ladder, infra ledger, test-edit flag

- WIDTH PIN: BATCH_DIR/.width (single integer) overrides positional WIDTH in
  highway_status.sh and highway_watchdog.sh; each reports width_source=file|arg.
  Watchdog re-reads .width every poll.
- SOCKET: every tmux call becomes tmux -L "${HIGHWAY_TMUX_SOCKET:-hw}" across
  all scripts (prose comments reworded so grep 'tmux ' shows only -L forms).
- ESCALATION LADDER (highway_watchdog.sh): counts consecutive polls where
  live<width AND live did not increase; resets on increase or deficit-clear.
  At HIGHWAY_ESCALATE_AFTER (default 3): touch escalation-needed and switch the
  resume wake prompt to a 'HIGHWAY ESCALATION (watchdog):' banner carrying the
  ineffective-wake count, live, and width. Normal wakes keep current text.
- infra_ledger.sh (new): add|list|sweep over BATCH_DIR/infra.tsv (sole writer);
  sweep runs open rows' destroy_cmd, marks swept on rc=0, leaves failures open,
  exits nonzero while any remain open, and never re-runs swept rows.
- TEST-EDIT FLAG (verify_lane.sh): from the three-dot name list, always prints
  'TEST-EDITS: <n> file(s)' (+ paths when n>0), matching (^|/)tests?/|test_|_test.

Backward-compatible arg interfaces; no push/PR/merge.
- ten-lane-highway: shorten description, remove visibility.priority (keep summary)
- goal-batch: shorten description, add visibility.summary pointing to ten-lane-highway
- goalify, amplifier-config: tighten description first sentence, preserve triggers/boundaries
@bkrabach

Copy link
Copy Markdown
Collaborator Author

Paired with: microsoft/amplifier-bundle-skills#63 (token-budget catalog)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants