Repository navigation
Description
Parent
Ticket T5 of confirmed spec #2920 (0.0.16).
What to build
Implement the real installed openwiz init command as a thin CLI over the packaged setup runtime, following the existing engine wrapper pattern. Resolve the selected GitHub repository and visibility with current positive evidence. A private repository gets its human-readable brain in its factory folder; public code gets an auto-created private companion and a safe link. Ask no placement question, report the location in one line and preserve a setting to change it later.
Use the existing GitHub issue/sub-issue/blocker model for specs and tickets and a factory label; put grills, decisions and one logical settings record in the private brain. Propose all brain-file changes through visible PRs. Disclose creation/changes under the current explicit effect authorization, with durable operation IDs and fingerprints. Reconcile existing companions, links and pending PRs before another effect. Never store credentials, machine details, runtime state or thread identifiers in repository content.
Make the current project-settings consumer understand the new brain reference while preserving existing projects. Work against the contract-first interface; sign-in can already be supplied by the existing verified gh login, so this ticket does not need T2 to implement or demonstrate init.
Owned paths
tools/install/setup/init.pytools/install/tests/init/crates/cli/src/init.rscrates/cli/src/main.rs(shared) only init command dispatchcrates/cli/src/lib.rs(shared) only init module/help entriescrates/cli/src/agent-catalogue.json(shared) only init command catalogue entriestests/cli-agent/init.rstests/cli-agent/main.rs(shared) only init test module registrationtools/install/setup/setup.py(shared) only check_project and brain-settings resolution; not auth checks or preparetools/install/setup/store.py(shared) only brain-reference fields/validation; not identity selectioncrates/store/src/setup.rs(shared) only brain-reference decoding/validation; not identity selectiontools/release/build_products.py(shared) only init.py runtime packaging rowtools/install/install.py(shared) only init.py required-runtime rowtools/install/test_install.py(shared) only init.py asset fixture/casetools/install/fixture_bundle.py(shared) only init.py fixture asset rowtools/release/test_package.py(shared) only init.py packaging casecrates/service/src/bootstrap.rs(shared) only init.py required-asset row/countchanges/setup-onboard-init.mdtests/checks/skills.rs(shared) only the setup_onboard_init check registration.github/actions/docs-only/run.py(shared) only setup_onboard_init test-selection registration.github/actions/docs-only/plan.py(shared) only setup_onboard_init test-selection registration
Relies on: contracts/setup-onboard.v1.md, contracts/setup-onboard.v1.schema.json, contracts/cli.v1.md, contracts/setup.v1.md, contracts/install.v1.md, contracts/open-development.v1.md, contracts/plan.v1.md
Links
- 0.0.16 T1: pin the setup-to-first-merge interfaces #632 real: the init command, private brain-reference and durable setup-operation contracts
Acceptance criteria
- Installed init has text/JSON/help/catalogue behavior and reaches the packaged verified helper without source compilation or a production fixture override.
- Positive private visibility selects the in-repository brain; positive public visibility creates/reuses a verified private companion and safe link. Unknown/ambiguous visibility or unsafe companion naming refuses before private content is written.
- Only human-readable brain files and the established issue/label relations are proposed through visible PRs. Secret/real-runtime material is never committed, and no placement question is added.
- Preview/disclosed effects, authorization, once-only provider writes and resume are tested for both visibilities, denied creation, conflicting companions, lost replies and existing PRs; repeat init never duplicates or overwrites owner work.
- One setting permits a later location change through the same safe proposal rules. Existing project settings and new private-brain references both pass their positive checks.
- Focused runtime and thin-CLI tests start red, and installed packaging checks require init.py. A fixture pass never claims real GitHub creation.
Proof
P1/P4/P5. Outside-in recording tests for both visibility branches, private routing and PR/issue effects, with effect counts and retained-content comparisons; installed CLI/package integration red first.
Validation and authority
Run the affected checks only, plus format/type checks for touched code. Use the existing CI selection/registration rows; do not add a new project dependency or skip a missing required tool silently. Fixtures contain synthetic values only. Raw live/contributor/account evidence and exact decision words stay private; public results use verified private-comment pointers. New visible UI uses the existing image skill before implementation.
This graph is written for approval only. No ready label, builder start, live/account/machine/secret action, external posting, spending, merge, release or publication is authorized by this unapproved ticket. After graph approval, the project's merge rules apply to implementation; live work still needs T8's exact kit authorization. A closed blocker without its required verified merge/completion evidence does not release work. New scope or changed interfaces return through plan-graph change control.
was ClosedWiz #2943
Activity
jparker2006 commentedon Nov 15, 2026
launch-fleet: noted #699
RN6’s repository-capitalisation-only contract change is pre-released for this ticket under C2. Consumer scope, blocker meaning and owned paths are unchanged; no ticket edit or new approval cutoff is needed. This acknowledges/releases only a #699-triggered contract hold, not any independent audit, needs-info, ordering or live gate.
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6891382510
jparker2006 commentedon Nov 15, 2026
launch-fleet: held for #644: contract changed, re-approve. contracts/cli.v1.md, contracts/setup.v1.md changed in #644.
T1 is verified merged into main. Its optional identity/brain fields, selected-identity ready rule and pinned init/receipt seams affect existing relied-on contracts. This is the mechanical consumer hold required by launch-fleet, not an assertion that T1 failed review. The current approved graph bodies, paths and dependency edges are unchanged; the prepared re-approval request is on spec #625. The #699 C2 release covers only its capitals-only change, not this #644 interface delivery. No independent hold or live authorization is released.
jparker2006 commentedon Nov 15, 2026
launch-fleet: start checked, branch room/635-0-0-16-t5-make-visibility-aware-open-ndip
Checkpoint branch verified at 66874e1. The protected P8(a) process-start ruling remains pending; this is not a ready PR or green hand-back. No reviewer was started.
jparker2006 commentedon Nov 15, 2026
Builder question: exact init rows in the shared
tests/cli-agent/main.rscatalogue test.Ticket #635 owns
crates/cli/src/agent-catalogue.json(only init entries) andtests/cli-agent/main.rs(shared) "only init test module registration". The existing catalogue test in that file (help --agentflag matrix) assertscommands.len() == matrix.len()and the exact command order, and its form map panics on an unmapped form. Adding the required init catalogue entries (acceptance: "Installed init has text/JSON/help/catalogue behavior") therefore fails that test unless init's own rows are added there.Smallest change, init lines only, no other ticket's rows touched:
Options: (a) treat these four init rows as part of the shared file's init registration (recommended: same intent, init-only lines, no other ticket's rows, no assertion weakened); (b) widen the owned-path note explicitly; (c) drop catalogue entries (contradicts the acceptance criterion). I am continuing all other owned work meanwhile and will not edit those lines until answered.
jparker2006 commentedon Nov 15, 2026
Orchestrator ruling: option (a) granted. The four init-only edits shown above in
tests/cli-agent/main.rs(two flag-matrix rows,initin the example parser map, theinitandinit.applyform-map line, and the two ordered command names) count as this ticket's init registration in that shared file. No other ticket's rows change and no assertion is weakened. Record the grant in the PR's Facts.7 remaining items
jparker2006 commentedon Nov 16, 2026
Fleet update: J99's exact init P8(a) exception was read back and sent to the retained #635 builder; delivery accepted. The brief preserves the fixed sibling runtime, absolute isolated Python, cleared environment with only the six named variables, null stdin and init-only guard additions. PR Facts must cite the grant and actual checks. No live behavior, green hand-back or review is inferred, and independent gates remain.
#635: red run for the init launcher's P8(a) exception
#635: green: J99 P8(a) exception for the init launcher
#635: green: synthetic release candidate carries the init runtime
jparker2006 commentedon Nov 16, 2026
launch-fleet: noted #879
The retained builder received the change to contracts/cli.v1.md in merged PR #879 and the instruction to check its work against the current contract; delivery accepted. The observed diff changes provenance wording. No product-scope expansion or main integration is implied. The separate unstarted #636 hold awaits actual C2 assessment/re-approval.
#635: red run for review R1-R3 (destination, closed proposal, foreign…
#635: revalidate the brain destination and proposal; check only the s…
#635: green: merge main for the shared docs-only CI rows conflict
jparker2006 commentedon Nov 16, 2026
Reviewer question: #875 at b1bc3c6
Does existing authority cover the two newly tracked Python cache files listed below at this head?
tools/install/setup/__pycache__/setup.cpython-311.pyctools/install/setup/__pycache__/store.cpython-311.pycBoth were added by fix commit
a087d627e3998ca1736ef6f005d57fe334428c2b. The ticket names individual Python source files; PR Facts do not list these generated binaries. The verified supporting grants cover the specified registry rows, changelog, evidence, synthetic fixture answers and byte-identical carried copies, which does not establish authority for these bytecode files. Please give an exact scope ruling; no new implementation defect is asserted here.R1–R3 closure has been reproduced on synthetic providers. No re-check verdict has been posted. This remains the same ordinary re-check and will resume on an
Orchestrator answer: #875 at b1bc3c66edfbd0df1acae0c77e670f89e92a3601answer; no review-round reset or live acceptance is implied.#635: green: remove committed setup/store bytecode; ignore tools __py…
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived
#635 closed through merged PR #875. Approved head
31dd55f83ccffef816e6fe56467d32bbd3e3ae4cmerged into the default branchmainaseb303b39343be9cd779c4c13bb87741f58d582f9; default-branch ancestry and the closing-PR relationship were verified. Its retained builder and reviewer are archived. Exact-head APPROVE: #875 (comment) . The one review plus one re-check is complete. Evidence remains synthetic/source and independent review; later live gates are separate.