gcf-aif-ext 0.4.1 → 0.5.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.
- package/README.md +16 -1
- package/commands/gcf.js +172 -4
- package/extension.json +1 -1
- package/hooks/pre-commit.js +5 -66
- package/lib/board.js +113 -0
- package/lib/gate.js +106 -0
- package/lib/integrate.js +322 -0
- package/lib/live.js +82 -23
- package/lib/main-lock.js +112 -0
- package/lib/phase.js +228 -0
- package/lib/playtest-list.js +60 -1
- package/lib/unit-ops.js +26 -1
- package/lib/validate-item.js +10 -0
- package/lib/verdict-fs.js +2 -1
- package/lib/verify.js +72 -0
- package/lib/work-ops.js +61 -7
- package/package.json +1 -1
- package/schemas/item.schema.json +4 -0
- package/skills/gcf-card/SKILL.md +2 -2
- package/skills/gcf-verdict/SKILL.md +1 -1
- package/templates/agents-block.md +10 -2
- package/templates/config.yml +2 -0
|
@@ -4,20 +4,28 @@ gcf_context:
|
|
|
4
4
|
- the game's design and its work live in `gcf/`, and the `ai-factory gcf` commands and the gcf skills change them
|
|
5
5
|
- read `gcf/INDEX.md` before anything else under `gcf/`: it lists every subsystem, design unit and work item
|
|
6
6
|
- `gcf/LIVE.md` says what the game does now, and `gcf/PILLARS.md` says what it must stay
|
|
7
|
+
- `ai-factory gcf board --json` gives the whole state in one read: the phase, the items by status with plan progress, the inbox and the open questions
|
|
7
8
|
|
|
8
9
|
gcf_work:
|
|
9
10
|
- every piece of work is one work item `gcf/work/<id>.md`: find the item before writing code for a feature, a bug or a tech task, or create it with the gcf-card skill
|
|
10
11
|
- a raw idea, a playtest note or a CI finding that is not work yet goes to `ai-factory gcf inbox add "<text>"`, and the gcf-triage skill sorts it later
|
|
11
12
|
- before planning an item, run `ai-factory gcf context <id>` and read only the files it lists under `gcf/`
|
|
12
|
-
- drive a ready item with the gcf-run skill when the project has gcf-harness-aif-ext, otherwise with aif-plan and aif-implement
|
|
13
|
-
-
|
|
13
|
+
- drive a ready item with the gcf-run skill when the project has gcf-harness-aif-ext (a batch at once: `ai-factory gcf-harness run <ids...>`), otherwise with aif-plan and aif-implement
|
|
14
|
+
- after the code, write the item's `live:` delta and run `ai-factory gcf verify <id>`: fix what it reports and run it again until every check is green
|
|
15
|
+
- then end the work on the item with its command: `ai-factory gcf submit <id>` for gate verdict or decision, `ai-factory gcf close <id>` for gate auto
|
|
14
16
|
- work that cannot go on: run `ai-factory gcf block <id> --reason "<why or the question>"`
|
|
17
|
+
- in a worktree on branch `work/<id>` change no `gcf/` file but the item's `live:`, commit all, then run `ai-factory gcf verify <id> --mark`: `ai-factory gcf integrate` in the main checkout merges it and records the move
|
|
15
18
|
- a design question only the human can answer becomes a D1 record in `gcf/open-questions.md`
|
|
19
|
+
- the human plays from `ai-factory gcf playtest session`; each free note from that play goes to `ai-factory gcf inbox add --source playtest "<note>"`
|
|
20
|
+
- a release item carries `version:` and `channel:` (`item new <id> --type release --release <v> --channel <c>`): its end writes the `release:` block of `gcf/LIVE.md`
|
|
21
|
+
- `item new` and `take` refuse a type the current phase does not take: run `ai-factory gcf phase` and bring the refusal to the human
|
|
22
|
+
- a pillar changes only on the human's word: `ai-factory gcf pillar rename <from> <to>`, or `ai-factory gcf pillar retire <id> --reason "<why>"`
|
|
16
23
|
|
|
17
24
|
gcf_forbidden:
|
|
18
25
|
- do not edit `status:`, `frozen:`, `gcf/LIVE.md`, `gcf/history.md`, `gcf/graveyard.md` or `gcf/INDEX.md` by hand: the commands own them
|
|
19
26
|
- do not give a verdict or a decision: `verdict` and `decide` belong to the human, through the gcf-verdict skill
|
|
20
27
|
- do not answer a `TBD` of a design unit yourself: ask the human and offer your draft as the proposed answer
|
|
28
|
+
- do not run `ai-factory gcf phase next`: the phase moves on the human's word only
|
|
21
29
|
- do not reuse an ended id: rework gets a new id with `reopens: <old id>`
|
|
22
30
|
- do not commit past the gate with `--no-verify`: a refused commit names what to fix
|
|
23
31
|
|
package/templates/config.yml
CHANGED
|
@@ -10,6 +10,8 @@ unplayed_warn_after: 5
|
|
|
10
10
|
plan_passes: 5
|
|
11
11
|
dod_attempts: 2
|
|
12
12
|
# The project's own commands for the auto DoD (Methodology §6); the engine does not matter.
|
|
13
|
+
# gcf verify fails on an empty one; `none` says the project has no such step.
|
|
14
|
+
# Phases (Methodology §10) come from code; a `phases:` list here replaces the whole set.
|
|
13
15
|
dod:
|
|
14
16
|
test:
|
|
15
17
|
build:
|