fix(onboard): P0 Max2 recovery, Q1 role/name, BLOCKED/stage-gate resume, and reentry #87

Merged
clawdie merged 1 commit from fix/p0-max2-onboarding-recovery into main 2026-11-20 14:06:10 +01:00
Owner

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.
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.
fix(onboard): P0 Max2 recovery, Q1 role/name, BLOCKED/stage-gate resume, and reentry
All checks were successful
format-check / gates (pull_request) Successful in 2m32s
6df8da282a
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.
clawdie deleted branch fix/p0-max2-onboarding-recovery 2026-11-20 14:06:10 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/clawdie-iso!87
No description provided.