fix(onboard): P0 Max2 recovery, Q1 role/name, BLOCKED/stage-gate resume, and reentry #87
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/p0-max2-onboarding-recovery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement P0 Max2 onboarding recovery and launcher hardening:
(printing valid options instead of exiting 2 and closing the pane), while
keeping fail-closed exit 2 on invalid --answers / automated overrides.
and capture optional sanitized UTF-8 operator display name into
CLAWDIE_OPERATOR_NAME in operator-profile.env via 01-operator-identity.sh.
(resuming at last_question_id without replaying earlier steps), BLOCKED or
HELD_ESCALATED stage gates (fail-closed: auto-enables stage gate without
replaying Q1..Q7 or re-minting an already valid Birth Certificate), and
COMPLETE state reentry (hands off directly to zot/pi with saved posture).
non-fatal child launch that auto-passes --resume on partial/BLOCKED state,
skips onboarding when COMPLETE, and falls back to ${SHELL} with a recovery
hint on non-zero exit so the cockpit pane never dies.
Implement P0 Max2 onboarding recovery and launcher hardening: - Re-prompt on invalid interactive option input in clawdie-max2-onboard (printing valid options instead of exiting 2 and closing the pane), while keeping fail-closed exit 2 on invalid --answers / automated overrides. - Clarify Q1 wording in questions.json (role selection, no hardcoded Sam) and capture optional sanitized UTF-8 operator display name into CLAWDIE_OPERATOR_NAME in operator-profile.env via 01-operator-identity.sh. - Fix --resume in clawdie-max2-onboard to recover from BLOCKED questions (resuming at last_question_id without replaying earlier steps), BLOCKED or HELD_ESCALATED stage gates (fail-closed: auto-enables stage gate without replaying Q1..Q7 or re-minting an already valid Birth Certificate), and COMPLETE state reentry (hands off directly to zot/pi with saved posture). - Replace bare exec clawdie-max2-onboard in clawdie-firstboot-confirm with a non-fatal child launch that auto-passes --resume on partial/BLOCKED state, skips onboarding when COMPLETE, and falls back to ${SHELL} with a recovery hint on non-zero exit so the cockpit pane never dies. - Add launcher, state-machine, Q1 recovery/name, and stage-gate resume tests.