Frontmatter
Every artifact file opens with a YAML frontmatter block. The block uses flat keys and inline arrays only, such as depends_on: [TL-3-e2w7n4, ISS-12-f5r0t8], because the index generator’s parser depends on that shape.
Every artifact carries these keys:
id: the artifact’s own ID.type:workstream,plan,issuelistortasklist.workstream: the owning workstream’s ID. A workstream record names itself.slug: the workstream’s bare kebab-case slug.title: a double-quoted title.status: one value of the status enum.createdandupdated: dates.updatedis bumped on every edit to the file.author: the localgit config user.namewhen the artifact was written, orunknown. It is local attribution, not a verified identity.depends_on: IDs that must be met before this may run.links: related IDs that do not block.
Some types carry more:
- A workstream:
tags, from the tag pool inflowcharge/tags.md, and an optionalblockedreason, written aftertitle. - A plan: an optional
base_commit, the short SHA ofHEADwhen the plan was written. - A task list:
mode(specordiff);base_commit, required wherever a SEARCH/REPLACE block appears;runtimeande2e_tooling, how the project runs itself and the browser or end-to-end tooling it already has; andtest_commands, the project’s own test suite commands, or[].
The generator requires the common keys other than author, plus tags on a workstream and mode on a task list.
The source of truth
Section titled “The source of truth”Statuses, dependencies and IDs live in the frontmatter. The index and the board are views generated from it. When they disagree, the frontmatter wins and the views are regenerated.
An ordering rule between artifacts goes in depends_on, never only in body text. An entry is met once its target is done, with one exception: a plan or issue-list dependency is met once that artifact is authored, at any status but backlog or dropped. A plan reaches done only after its tasks run, and an issue list only after its issues close, so requiring done would block every run built from one. Work that must wait for defects to be fixed depends on the task list that fixes them.
Example
Section titled “Example”A task list in this repository’s own flowcharge/ folder:
---id: TL-38-m42h87type: tasklistworkstream: WS-63-550i5pslug: docs-site-code-and-toggletitle: "Marketing-token code highlights and the marketing theme toggle on the docs"status: donecreated: 2026-10-30updated: 2026-10-30author: Anthony Koukoullisdepends_on: [PLN-27-0asz8e]links: []mode: specbase_commit: 1bb4941runtime: "npm run dev"e2e_tooling: []test_commands: []---Status values are described in Status lifecycle, IDs in IDs and the registry, and modes in Task list modes and shapes.
Checked against FlowCharge Core v0.6.0.
