Русский · English
Opt-in utilities outside the core protocol. Not auto-invoked — wire them in when you need them.
| Script | When to use |
|---|---|
engagement-doctor.py |
Diagnose engagement state when it looks corrupted; --check stalled if heartbeats are absent past threshold |
engagement-migrate.py |
One-shot migration of legacy engagement (no protocol_version, missing iteration counter, etc.); --include-archived for archived ones |
secondary-init.py |
Cross-domain handoff when primary ACCEPT'ed and secondary engagement starts |
cross-val-template.py |
When ≥2 specialists touched shared contracts and the lead wants an auto-skeleton for §4a table |
director-sweep.py |
Director uses it as a draft-verdict generator instead of writing acceptance-log from scratch |
metrics-summary.py |
Periodic retrospective; --dashboard PATH writes a single-file HTML |
size-detect.py |
Intake heuristic or runtime auto-promote check |
token-budget.py |
Tier-budget guard (S=100k / M=500k / L=1.5M tokens per iter) |
validator-retry.py |
Lead self-recovery when a validator returned malformed JSON |