Kyn MVP v2 Task Backlog¶
Scope¶
Execution backlog for shipping v2 with breaking changes, ergonomics upgrades, and CI portability requirements.
Milestone A: Schema & Engine Core¶
- Define v2 config schema (
version: 2) withif/assert/actions. - Add parser + validator for v2 schema.
- Keep v1 parser for transition window.
- Implement migration command:
kyn config migrate --from v1 --to v2. - Add explicit group model under families.
- Refactor rule evaluator to support
if/assert/actions. - Remove
emitFlagfrom assertions and supportactions.emit. - Add change status model (
added|modified|deleted|renamed) end-to-end. - Add new predicate support for status-aware checks.
- Add deterministic sorting and output coverage for v2 path.
Milestone B: CLI Ergonomics¶
- Add
--strict-input-mode. - Add auto input-mode behavior for default
kyn check. - Add
--summary-only. - Add
--dry-run-resolve. - Add
kyn initwith starter config generation. - Add
kyn explainfor per-rule diagnostics. - Improve error messages with expected/observed and next command hints.
- Rework
--helpoutput around happy path and examples. - Add command docs and examples for stdin and git-default flows.
Milestone C: Reporting & Integrations¶
- Add SARIF reporter.
- Add reviewdog
rdjsonreporter. - Add checkstyle reporter.
- Keep text/json as stable baselines.
- Add reporter golden tests and schema fixtures.
Milestone D: CI Portability & Distribution¶
- Build and publish binaries for required targets:
- linux-amd64 (glibc)
- linux-arm64 (glibc)
- linux-amd64 (musl)
- linux-arm64 (musl)
- darwin-amd64
- darwin-arm64
- windows-amd64
- Generate and publish SHA256 checksums.
- Publish container image for CI usage.
- Add CI smoke tests on multiple Linux base images.
- Add copy/paste pipeline snippets for all major CI providers.
Milestone E: Presets & Adoption¶
- Ship first preset packs:
web-uiapiprotoiac- Add preset docs and examples.
- Add migration guide from v1 to v2.
- Add troubleshooting guide for common CI/runtime issues.
Required Gates Before v2 Release¶
- Ergonomics gate:
- New-user time-to-first-pass <= 10 minutes.
- Portability gate:
- Verified on all required release targets.
- Reliability gate:
- Stable exit codes and deterministic output in all reporters.
- Migration gate:
- v1-to-v2 migration tooling works on real sample configs.
Suggested Execution Order¶
- Milestone A
- Milestone B (in parallel with later A tasks where possible)
- Milestone C
- Milestone D
- Milestone E
High-Risk Areas¶
- Status-aware matching semantics.
- Migration correctness for complex v1 configs.
- Reporter compatibility with downstream tooling.
- Linux distro/runtime compatibility edge cases.