[SLT.BETA.021] Config wizard: emit CI workflows and rulesets
Overview
Extend the configuration wizard to emit ready-to-use CI workflows and branch rulesets tailored to the selected hosting provider, reducing manual setup time and misconfiguration risk.
References & Assets
User Story
As a DevOps engineer,
I want the config wizard to output CI/ruleset files automatically, so that Shiplog enforcement is consistent across hosts without manual copy/paste.
Acceptance Criteria
Definition of Done
Wizard emits host-specific CI/ruleset scaffolding, documentation is updated, and tests cover emission and dry-run behavior.
Scope
In-Scope
- CLI flag design and emission logic
- Templates for GitHub, GitLab, Bitbucket
- Documentation and tests
Out-of-Scope
- Support for additional hosts beyond MVP list
- Automated PR creation for emitted files
Deliverables
- Est. Lines of Code: ~220
- Est. Blast Radius:
scripts/config, docs/hosting, tests
Implementation Details
High-Level Approach
Add emission flags to git shiplog config, maintain templates per host, and integrate with existing dry-run infrastructure while ensuring safe writes.
Affected Areas
- scripts/config
- docs/features/config.md
- docs/hosting/*.md
- tests/config_wizard.bats
Implementation Steps
Test Plan
Happy Path
Edge Cases
Failure Cases
Monitoring & Success Metrics
QA Sign-off Matrix
| Environment |
Surface |
Owner |
Status |
Notes |
| Local Docker |
CLI |
TBD |
Pending |
Covered via make test |
Requirements
Hard Requirements
- Generated workflows/rulesets must match documented enforcement strategy per host
Soft Requirements
- Templates are easily extensible for future hosts
Runtime Requirements
- No additional runtime dependencies beyond existing CLI stack
Dependencies & Approvals
Production Notes
Priority: 3 / 5
Improves onboarding for Beta; dependent on hosting guidance.
Complexity: 3 / 5
Requires template management and CLI UX updates.
Estimate: 18 - 24 hours
Includes templates, CLI plumbing, docs, and tests.
Risk & Rollback
- Primary Risks: Generated files drift from docs; accidental overwrites
- Mitigations: Template unit tests; safe overwrite prompts
- Rollback / Kill Switch: Disable emission flags via feature gate
Additional Notes
Depends on SLT.ALPHA.023 changes landing in main.
[SLT.BETA.021] Config wizard: emit CI workflows and rulesets
Overview
Extend the configuration wizard to emit ready-to-use CI workflows and branch rulesets tailored to the selected hosting provider, reducing manual setup time and misconfiguration risk.
References & Assets
User Story
As a DevOps engineer,
I want the config wizard to output CI/ruleset files automatically, so that Shiplog enforcement is consistent across hosts without manual copy/paste.
Acceptance Criteria
Definition of Done
Wizard emits host-specific CI/ruleset scaffolding, documentation is updated, and tests cover emission and dry-run behavior.
Scope
In-Scope
Out-of-Scope
Deliverables
scripts/config, docs/hosting, testsImplementation Details
High-Level Approach
Add emission flags to
git shiplog config, maintain templates per host, and integrate with existing dry-run infrastructure while ensuring safe writes.Affected Areas
Implementation Steps
Test Plan
Happy Path
git shiplog config --emit-ci githubwrites GitHub workflow template--emit-rulesetoutputs JSON with namespace guidanceEdge Cases
Failure Cases
Monitoring & Success Metrics
QA Sign-off Matrix
Requirements
Hard Requirements
Soft Requirements
Runtime Requirements
Dependencies & Approvals
Production Notes
Priority: 3 / 5
Improves onboarding for Beta; dependent on hosting guidance.
Complexity: 3 / 5
Requires template management and CLI UX updates.
Estimate: 18 - 24 hours
Includes templates, CLI plumbing, docs, and tests.
Risk & Rollback
Additional Notes
Depends on SLT.ALPHA.023 changes landing in main.