/trpg-ops
Steps
- •Find latest warning file:
bash
python3 scripts/trpg_latest_warning.py
出力が空なら warning なし。
1b) Find latest policy-violation file:
bash
python3 scripts/trpg_latest_policy_violation.py
出力が空なら policy violation なし。
1c) Run preflight checker on a draft when needed:
bash
python3 scripts/trpg_preflight_check.py --user "<latest input>" --text "<draft>"
1d) Check policy lock status:
bash
python3 scripts/trpg_policy_lock.py --status
- •If exists, read and classify warnings:
- •unknown key typo
- •type mismatch
- •clamped value
- •cross-field inconsistency
2b) If policy violations exist, classify:
- •off-topic boundary miss / off-topic answer drift
- •alphabetic options
- •clue summary replay
- •sensitive reference leakage risk
- •token-bloat-risk (long draft/output)
2c) If policy lock is active:
- •do not continue normal play output yet
- •apply corrective changes first
- •clear lock explicitly:
bash
python3 scripts/trpg_policy_lock.py --session-id <id> --clear --reason "<fix summary>"
- •
Provide concrete corrective examples using
【状態】key=value. - •
Run regression when requested:
bash
python3 scripts/trpg_hooks_regression.py
Output Constraints
- •Do not print full session logs.
- •Do not print clue summaries.
- •Do not expose spoilers.