Preserve live selection on refused rebuild and bind CLI golden scene - #230
Merged
Merged
Conversation
…-development-rebuild # Conflicts: # docs/command-reference.md # src/cli/commands/development.ts # src/cli/commands/host.ts # tests/unit/command-boundary/canonical-client.test.ts # tests/unit/command-boundary/development/lifecycle-entrypoints.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Preserve the live development selection when protected-manager restart/rebuild refuses an active Kata claim. Bind the regression and eight existing golden CLI boundaries into the owner scene.
Work authority
Contributor mode (select one):
Plan
Reproduce manager refusal, move selection retirement after protected stop, bind an exact scene test, and integrate current staging without discarding existing allocation/lifecycle assertions. Complete locally; Actions pending.
Changes and commits
562d18b adds refusal guard and owner guarantee/scene bindings. 8e9414f integrates current staging lifecycle repairs. df2f369 preserves allocation/host-envelope tests in focused owned files and retains protected-manager guest import custody.
Verification
Actual public CLI red→green: refused restart AND rebuild return failure without switching live to released; normal lifecycle recovery still passes.
Five focused tests passed; file-length and architecture checks passed; build:dist passed.
CLI component scene cli-component-regression-20260926-j passed all nine bound checks. Component evidence is not full SDK golden acceptance.
36 canonical-client/development tests plus five split-focused tests passed. Strict TypeScript checking passes. CI initially reproduced an obsolete exact SDK pin lacking --input; the workflow now consumes accepted SDK artifact affa0623b8af92cde577f3b8ab685c1b61f2c8cb. No contract assertions were weakened. Automated PR checks remain authoritative.
Risk and rollback
No schema migration, release, or tags. Protected-manager refusal remains mandatory. Revert this PR to return previous CLI behavior; do not interrupt active Kata claims. Autostashed pre-integration working changes remain recoverable locally until reconciliation is verified.
Completion summary
Refusal defect reproduced and fixed; current SDK workday is separate and still running. No SDK full pass claimed. Merge only after required checks.
Submission checklist
Final CI integration repair: obsolete thin-package assertion forbidding all guarantees is replaced by stricter metadata-only checks (three canonical YAML declarations, exact owner test bindings, no executable guarantee runtime). Eight package contract tests pass. No legacy implementation path restored.