Expand description
vNext lifecycle implementation boundary for the plan-issue record workflow.
Design references:
docs/source/plan-issue-redesign/plan-tracking-issue-cli-redesign-v1.md(Workstreams 0–6 and the rewrite boundary)docs/source/plan-issue-redesign/plan-tracking-issue-comment-taxonomy-v1.md(canonical lifecycle role list, visible templates, posting policies)
Module map:
registryenumerates the seven lifecycle roles and the metadata each role carries (heading, payload schema, direct-post permission, closeout ownership).templatesrenders the visible Markdown and JSON skeletons used by therecord templatepreview command.visible_lintenforces visible-completeness rules for rendered lifecycle comments (Task Ledger heading, validation status, review decision, session summary, closeout approval, …).payloadsexposes typed payload helpers built on top of the existingcrate::lifecycle_recorddata types until the catch-alllifecycle_record.rsis fully migrated.renderis the registry-driven rendering surface used byrecord postand the upcomingtracking checkpointmacro.
The module deliberately keeps the public binary shell (plan-issue /
plan-issue-local), the global output envelope, exit-code conventions,
provider abstraction, and the existing record commands behaving the same
way during the rewrite. Old internals continue to live in
crate::lifecycle_record until Task 6.3 migrates them onto this
registry.
Modules§
- payloads
- Typed payload helpers built on the existing
crate::lifecycle_recorddata shapes. - registry
- Lifecycle role registry.
- render
- Registry-driven lifecycle comment renderer.
- templates
- Deterministic template preview for lifecycle roles.
- visible_
lint - Visible-completeness lint for rendered lifecycle comments.