Skip to content

S12: Formalize initiative stage as a machine-readable frontmatter field #22

Description

@loehnertz

Finding

Initiative stage is currently a free-text ## Current State Markdown section in Initiative-AGENTS.EXAMPLE.md. forge-status.md infers stage from artifact presence as a heuristic (e.g., "Proposal.md exists → Design"), but this can be wrong — for example, a Decision.md kept for reference in a still-active Discover-phase initiative would be mis-inferred as Decide or Decompose.

The frontmatter already has machine-readable fields (lead:, depends-on:, blocks:). Stage is a natural addition.

Impact

Stage inference can be incorrect. There is no single authoritative field to update when transitioning stages. forge-validate's Stage Consistency check exists precisely because stage is not formally captured — if it were a frontmatter field, the check would be trivially authoritative rather than heuristic.

Suggestion

Add an optional stage: field to the Initiative-AGENTS.EXAMPLE.md frontmatter:

stage: Discover  # Discover | Design | Decide | Decompose | Complete

Update forge-status.md to prefer this field over artifact-based inference (it already has a note "If Initiative AGENTS.md has an explicit stage, prefer that over inference" — but the template doesn't provide the field to set). Update lifecycle commands to set this field on stage transitions.

Files

  • Templates/Initiative-AGENTS.EXAMPLE.md
  • Commands/forge-status.md
  • Commands/forge-discover.md, forge-design.md, forge-decide.md, forge-decompose.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions