agent-manifesto-kit 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,51 @@
1
+ # Roadmap format (contract v1)
2
+
3
+ ## Files in a project
4
+
5
+ | File | Role |
6
+ | --- | --- |
7
+ | `.taskpilot/items/*.yaml` | Source: items (`id` like `AV-12`, `type`, `status`, `parent_id`, `links.blocks`, `links.relates_to`, `created_at`, `updated_at`). Key `items_dir` in the plan overrides the folder. |
8
+ | `docs/roadmap_plan.json` | Hand-edited plan (below). `--plan PATH` overrides the location. |
9
+ | `docs/roadmap.html` | Generated page, tracked in git, deterministic. Key `output` or `--out` overrides the path. |
10
+ | `.claude/skills/roadmap/` | The copied skill: `scripts/roadmap.py`, `assets/template.html`, `assets/post-commit.sh`. |
11
+
12
+ Statuses: `backlog`, `ready`, `in_progress`, `done`, `cancelled`. Cancelled items are off the roadmap (their other
13
+ children move up to the nearest shown ancestor). Item ids sort by their number (`AV-9` before `AV-20`), and any prefixes
14
+ are fine (they are read from the item ids).
15
+
16
+ ## Plan file keys (all optional except that the file exists)
17
+
18
+ - `title`: page title (default: the project folder name). `lang`: `en` (default) or `ru`.
19
+ - `output`, `items_dir`: paths relative to the project.
20
+ - `phases`: `[{id, title, goal, blocks: [{title, note, items: [ids], size, done}]}]`. A block counts the leaves under
21
+ its items; `size` is an estimated number of tasks for work not yet split into items (raises the total); `done: true`
22
+ marks a block finished outside TaskPilot. Phase ids are unique and non-empty; an id appears in one block only.
23
+ - `plan`: `{id: {start, end} | {estimate_days} | {started} | {finished}}`: planned dates (ISO) or an estimate for an
24
+ unfinished leaf; `started`/`finished` correct the real start or end of work done elsewhere.
25
+ - `rework_of`: `{id: [ids it redoes]}`. `milestones`: `[{date, label, since?}]`: vertical lines; `since: true` on one
26
+ adds an "only since this milestone" filter. `default_estimate_days`: length of an unplanned estimate bar (default 1).
27
+ - Keys starting with `_` are notes and ignored.
28
+
29
+ ## Output contract
30
+
31
+ The page contains, in `<head>`, `<meta name="roadmap-template" content="1-<12 hex>">`: `1-` plus the first 12 hex
32
+ digits of the sha256 of the template text (CRLF normalised to LF; `template_id()` in `roadmap.py`). All roadmaps built
33
+ from the same template carry the same id. The data is
34
+ `<script type="application/json" id="roadmap-data">{...}</script>` (every `<` escaped as `\u003c` so item text can never end the script, one row per line) with keys
35
+ `schema` (1), `title`, `lang`, `now` (latest event, ISO), `id_prefixes`, `milestones`, `phases` (with `done`/`total`),
36
+ `summary` (`{leaves: {status: n}, done, total}` over shown leaf rows) and `rows`. `<title>` is `<title>: roadmap`
37
+ (`<title>: роадмап` for `ru`).
38
+
39
+ Dates and ticks come from the local git history (`HEAD` for statuses, all local branches for commits naming ids), so
40
+ a page is reproducible only from a checkout that has the same branches; `check` in a fresh clone may report
41
+ `output-stale` until the branches exist locally.
42
+
43
+ ## Keeping roadmaps consistent
44
+
45
+ - One template: the canonical copy is `assets/template.html` of the kit's `roadmap` skill; projects copy it unchanged.
46
+ - `check` verifies the plan schema, that the page exists, was built from the local template and equals a fresh rebuild;
47
+ `--template-from <canonical template>` also fails with `template-drift` when the local template is not the canonical one.
48
+ Problem codes: `plan-missing`, `plan-json`, `plan-schema`, `unknown-id`, `duplicate-item`, `bad-date`, `bad-estimate`,
49
+ `output-missing`, `output-invalid`, `template-mismatch`, `template-drift`, `output-stale`, `build-failed`.
50
+ - The hook (`assets/post-commit.sh`) rebuilds and commits the page after relevant commits on `main`.
51
+ - Astro Preview shows each linked roadmap with its template status (current / differs) and freshness.