Skip to content

fix: sync pact-protocols.md with v3.5.0 and tighten imPACT/wrap-up#2

Merged
michael-wojcik merged 9 commits into
mainfrom
fix/sync-protocols-v350
Feb 21, 2026
Merged

fix: sync pact-protocols.md with v3.5.0 and tighten imPACT/wrap-up#2
michael-wojcik merged 9 commits into
mainfrom
fix/sync-protocols-v350

Conversation

@michael-wojcik

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Verify pact-protocols.md imPACT section matches standalone imPACT protocol
  • Verify pact-protocols.md algedonic section includes broadcast HALT
  • Verify imPACT.md "When to terminate" is concise but complete
  • Verify wrap-up.md retains 3 cleanup steps without the Note

Closes Synaptic-Labs-AI#206

Update 3 stale sections to match their source-of-truth files:
- imPACT: "Two questions, Three outcomes" → "Three questions, Five outcomes"
- Algedonic: add broadcast HALT for parallel agents
- Stall Detection: already in sync, no changes needed

Closes part of Synaptic-Labs-AI#206
- imPACT.md: condense "When to terminate" from 12 lines to 1 paragraph
- wrap-up.md: remove belt-and-suspenders note about session_end.py

Closes Synaptic-Labs-AI#206
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

- Change "Five outcomes" to "Six outcomes" with Escalate to user row
- Add TaskUpdate step to Terminate agent Action column
- Remove trailing prose (now covered by table row)
Replace old outcome names (Redo solo, Redo with help, Proceed with
help, Resume, Terminate) with authoritative v3.5.0 names from
imPACT.md. Add 6th outcome (Escalate to user). Remove stale
Resume paragraph.
Add v3.5.0 termination signal patterns (redo prior phase, augment
present phase, invoke rePACT, etc.) to patterns.py. Add corresponding
prose templates to shared_constants.py. Keep old v3.4 patterns for
backwards compatibility. Update tests to cover both old and new names.
Overwrite pact-workflows.md with verbatim SSOT content from
pact-protocols.md. Update line ranges in verify-protocol-extracts.sh
to match current pact-protocols.md structure. All 16 extract checks
now pass.
Remove find_active_plans() from session startup. Plan detection is
already performed by orchestrate.md when it runs, making the eager
scan during SessionStart redundant. Reduces session startup latency
by ~100-500ms depending on docs/plans/ directory size.
Enable start-of-line matching for v3.5.0 anchored patterns. Add
negative test cases for all 6 v3.5.0 outcome names to verify casual
mentions in triage discussion don't trigger false matches.
Protocol sync, Python hook drift fixes, verification script update,
and session_init performance optimization.
@michael-wojcik michael-wojcik merged commit e304a99 into main Feb 21, 2026
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.

Sync pact-protocols.md with v3.5.0 and tighten imPACT/wrap-up additions

1 participant