qfai 2.2.1 → 2.3.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 +14 -17
- package/assets/init/.qfai/assistant/agent/architecture-reviewer.md +2 -2
- package/assets/init/.qfai/assistant/agent/fullstack-engineer.md +101 -0
- package/assets/init/.qfai/assistant/agent/implementation-reviewer.md +73 -1
- package/assets/init/.qfai/assistant/agent/product-surface-reviewer.md +2 -2
- package/assets/init/.qfai/assistant/agent/requirements-reviewer.md +12 -2
- package/assets/init/.qfai/assistant/rule/agent-selection.md +22 -42
- package/assets/init/.qfai/assistant/rule/drift-protocol.md +1 -1
- package/assets/init/.qfai/assistant/rule/references/asset-authoring.md +1 -1
- package/assets/init/.qfai/assistant/rule/references/codex-delegation.md +4 -4
- package/assets/init/.qfai/assistant/rule/references/reviewer-findings.md +1 -1
- package/assets/init/.qfai/assistant/rule/references/worker-edit-boundary.md +3 -3
- package/assets/init/.qfai/assistant/rule/research-first-protocol.md +7 -6
- package/assets/init/.qfai/assistant/rule/review-convergence.md +1 -1
- package/assets/init/.qfai/assistant/rule/shared-skill-delegation-baseline.md +76 -60
- package/assets/init/.qfai/assistant/rule/shared-skill-operating-baseline.md +2 -4
- package/assets/init/.qfai/assistant/rule/workflow.md +4 -4
- package/assets/init/.qfai/assistant/skill/qfai-configure/SKILL.md +15 -46
- package/assets/init/.qfai/assistant/skill/qfai-discussion/SKILL.md +1 -13
- package/assets/init/.qfai/assistant/skill/qfai-grill/SKILL.md +8 -7
- package/assets/init/.qfai/assistant/skill/qfai-grilling/SKILL.md +15 -15
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/delegated-session.md +18 -18
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/session-record.md +3 -3
- package/assets/init/.qfai/assistant/skill/qfai-implement/SKILL.md +0 -14
- package/assets/init/.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md +52 -20
- package/assets/init/.qfai/assistant/skill/qfai-maintain/SKILL.md +0 -1
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/SKILL.md +2 -13
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/references/migration-guide.md +8 -11
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/references/migration-placement.md +0 -7
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/SKILL.md +1 -9
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/generator-prompt.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/iteration-loop.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/review-payload-schema.md +4 -4
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/reviewer-prompt.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-run/SKILL.md +1 -2
- package/assets/init/.qfai/assistant/skill/qfai-run/references/operator-screens.md +4 -4
- package/assets/init/.qfai/assistant/skill/qfai-sdd/SKILL.md +0 -13
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/concrete-abstract-cycle.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/contract-artifact-rules.md +12 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-execution-playbook.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-pre-draft-grilling.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-triage/SKILL.md +0 -11
- package/assets/init/.qfai/assistant/skill/qfai-verify/SKILL.md +0 -9
- package/assets/init/.qfai/assistant/skill/web-research/SKILL.md +18 -18
- package/assets/init/.qfai/assistant/step/common-design-md/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/common-gate-run/STEP.md +0 -1
- package/assets/init/.qfai/assistant/step/common-grilling-record/STEP.md +0 -1
- package/assets/init/.qfai/assistant/step/common-policy-check/STEP.md +0 -1
- package/assets/init/.qfai/assistant/step/common-review-cycle/STEP.md +2 -3
- package/assets/init/.qfai/assistant/step/discussion-interview/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/discussion-oq/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/discussion-pack/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/discussion-research/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/discussion-uiux/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/implement-acceptance/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-backport/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-benchmark/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-bisect/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-credentials/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-dep-bump/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-diagnose/STEP.md +0 -6
- package/assets/init/.qfai/assistant/step/implement-minimize/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-oracle-parity/STEP.md +0 -6
- package/assets/init/.qfai/assistant/step/implement-procedure/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/implement-quarantine/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-refactor/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-regression-fix/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-retire/STEP.md +0 -6
- package/assets/init/.qfai/assistant/step/implement-revert/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-scaffold/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/implement-seam/STEP.md +0 -4
- package/assets/init/.qfai/assistant/step/implement-stress-harness/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-sweep/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-tdd/STEP.md +3 -10
- package/assets/init/.qfai/assistant/step/implement-test-fix/STEP.md +0 -5
- package/assets/init/.qfai/assistant/step/implement-tooling/STEP.md +0 -3
- package/assets/init/.qfai/assistant/step/maintain-edit/STEP.md +1 -4
- package/assets/init/.qfai/assistant/step/prototyping-grill/STEP.md +3 -5
- package/assets/init/.qfai/assistant/step/prototyping-handoff/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/prototyping-loop/STEP.md +17 -19
- package/assets/init/.qfai/assistant/step/prototyping-preflight/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/sdd-contract/STEP.md +2 -4
- package/assets/init/.qfai/assistant/step/sdd-cycle/STEP.md +1 -3
- package/assets/init/.qfai/assistant/step/sdd-flow/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/sdd-gate/STEP.md +0 -1
- package/assets/init/.qfai/assistant/step/sdd-story/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/sdd-triage/STEP.md +7 -9
- package/assets/init/.qfai/assistant/step/triage-answer/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-close/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-cluster/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-decompose/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-dedupe/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-handoff/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-investigate/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-operate/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-owned-cleanup/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-request-info/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/triage-security-intake/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-advisory/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-change-note/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-commit/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-context/STEP.md +7 -26
- package/assets/init/.qfai/assistant/step/verify-external/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-manual/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-qfai-gate/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-release-notes/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-repeat-run/STEP.md +0 -2
- package/assets/init/.qfai/assistant/step/verify-repo-gate/STEP.md +0 -2
- package/assets/init/root/.agents/rules/grilling.md +9 -9
- package/dist/cli/index.cjs +324 -1147
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +309 -1132
- package/dist/cli/index.mjs.map +1 -1
- package/dist/graph/cli.cjs +14 -2
- package/dist/graph/cli.cjs.map +1 -1
- package/dist/graph/cli.d.cts +1 -1
- package/dist/graph/cli.d.ts +1 -1
- package/dist/graph/cli.mjs +14 -2
- package/dist/graph/cli.mjs.map +1 -1
- package/dist/graph/hook.cjs.map +1 -1
- package/dist/graph/hook.mjs.map +1 -1
- package/dist/index.cjs +983 -1975
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -19
- package/dist/index.d.ts +2 -19
- package/dist/index.mjs +878 -1869
- package/dist/index.mjs.map +1 -1
- package/dist/process-qqX2Owgq.d.cts +18 -0
- package/dist/process-qqX2Owgq.d.ts +18 -0
- package/package.json +1 -1
- package/assets/defaults/agent-routing/_contract.yml +0 -77
- package/assets/defaults/agent-routing/common.yml +0 -14
- package/assets/defaults/agent-routing/qfai-discussion.yml +0 -57
- package/assets/defaults/agent-routing/qfai-implement.yml +0 -236
- package/assets/defaults/agent-routing/qfai-maintain.yml +0 -12
- package/assets/defaults/agent-routing/qfai-prototyping.yml +0 -48
- package/assets/defaults/agent-routing/qfai-sdd.yml +0 -56
- package/assets/defaults/agent-routing/qfai-triage.yml +0 -108
- package/assets/defaults/agent-routing/qfai-verify.yml +0 -92
- package/assets/defaults/agent-routing/skills.yml +0 -59
- package/assets/defaults/review-profiles.yml +0 -25
- package/assets/init/.qfai/assistant/agent/acceptance-test-engineer.md +0 -81
- package/assets/init/.qfai/assistant/agent/backend-engineer.md +0 -90
- package/assets/init/.qfai/assistant/agent/completion-reviewer.md +0 -88
- package/assets/init/.qfai/assistant/agent/delivery-planner.md +0 -85
- package/assets/init/.qfai/assistant/agent/devops-ci-engineer.md +0 -78
- package/assets/init/.qfai/assistant/agent/discovery-analyst.md +0 -81
- package/assets/init/.qfai/assistant/agent/doc-steward.md +0 -78
- package/assets/init/.qfai/assistant/agent/frontend-engineer.md +0 -94
- package/assets/init/.qfai/assistant/agent/orchestrator.md +0 -92
- package/assets/init/.qfai/assistant/agent/product-experience-architect.md +0 -101
- package/assets/init/.qfai/assistant/agent/qa-gatekeeper.md +0 -153
- package/assets/init/.qfai/assistant/agent/qa-strategist.md +0 -82
- package/assets/init/.qfai/assistant/agent/requirements-analyst.md +0 -96
- package/assets/init/.qfai/assistant/agent/solution-architect.md +0 -89
- package/assets/init/.qfai/assistant/agent/test-design-analyst.md +0 -132
- package/dist/process-C21nTvkT.d.cts +0 -12
- package/dist/process-C21nTvkT.d.ts +0 -12
|
@@ -9,9 +9,9 @@ Use the shared schema from
|
|
|
9
9
|
`.qfai/assistant/rule/shared-skill-delegation-baseline.md`, including the
|
|
10
10
|
`Agent instance` column.
|
|
11
11
|
|
|
12
|
-
| Step |
|
|
13
|
-
| ---- |
|
|
14
|
-
| 1 |
|
|
12
|
+
| Step | Agent (sub-agent) | Agent instance | Task title | Input (refs) | Output (refs) | Status (PASS/REVISE/PENDING) |
|
|
13
|
+
| ---- | -------------------- | --------------- | ------------------------------- | ------------------------------- | ------------------------------- | ---------------------------- |
|
|
14
|
+
| 1 | `fullstack-engineer` | `<instance id>` | Read the facts a round waits on | Decision and what it depends on | The fact, and where it was read | PASS/REVISE |
|
|
15
15
|
|
|
16
16
|
## What the reviewer confirms
|
|
17
17
|
|
|
@@ -4,20 +4,6 @@ title: QFAI Implement (TDD micro-cycle)
|
|
|
4
4
|
description: "Use when invoked by name or handed a QFAI work order to implement, diagnose or repair the examples of one business flow."
|
|
5
5
|
argument-hint: "<BF-ID> [EX-ID...]"
|
|
6
6
|
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite, Task, Agent]
|
|
7
|
-
roles:
|
|
8
|
-
[
|
|
9
|
-
orchestrator,
|
|
10
|
-
delivery-planner,
|
|
11
|
-
test-design-analyst,
|
|
12
|
-
qa-strategist,
|
|
13
|
-
acceptance-test-engineer,
|
|
14
|
-
frontend-engineer,
|
|
15
|
-
backend-engineer,
|
|
16
|
-
devops-ci-engineer,
|
|
17
|
-
implementation-reviewer,
|
|
18
|
-
product-surface-reviewer,
|
|
19
|
-
doc-steward,
|
|
20
|
-
]
|
|
21
7
|
steps:
|
|
22
8
|
- implement-scaffold
|
|
23
9
|
- implement-credentials
|
package/assets/init/.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md
CHANGED
|
@@ -2,38 +2,70 @@
|
|
|
2
2
|
|
|
3
3
|
## Default
|
|
4
4
|
|
|
5
|
-
Process one open EX at a time in ascending ID order within the selected BF
|
|
5
|
+
Process one open EX at a time in ascending ID order within the selected BF
|
|
6
|
+
flow. The session agent does the work itself. Work orders for several flows run
|
|
7
|
+
one at a time, in ascending flow ID order; the stage's review runs once, after
|
|
8
|
+
the last.
|
|
6
9
|
|
|
7
|
-
##
|
|
10
|
+
## Units
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
one work order per flow, its `target` naming that flow, in ascending flow ID
|
|
11
|
-
order. Run them one at a time in that order. Each runs every step of the stage
|
|
12
|
-
for its own flow and completes on that flow's gates. The stage's review runs
|
|
13
|
-
once, after its last work order. Two work orders run in
|
|
14
|
-
parallel only with explicit user approval and a delivery-planner PASS on the
|
|
15
|
-
independence gate below, compared across both flows.
|
|
12
|
+
Two kinds of unit may run in parallel, each on its own `fullstack-engineer`:
|
|
16
13
|
|
|
17
|
-
|
|
14
|
+
| Unit | Where | What the worker does |
|
|
15
|
+
| ------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
16
|
+
| Story | An implement stage only | Runs the stage's steps for one user story no EX of which a test annotates yet, in ascending EX ID order, writing only its owned paths |
|
|
17
|
+
| Lookup | Discussion research, a grilling session, the web-research search, fetch and verify stages | Answers one self-contained question from the repository or the web, writes nothing, and returns the answer with its sources |
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Everything else runs in the session agent: the specification, the discussion
|
|
20
|
+
interview and pack, prototyping, triage, verify, maintenance, the framing of
|
|
21
|
+
research and the reading of its answers, and every change to a story that is
|
|
22
|
+
already implemented.
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
## Parallel-unit gate
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
The session agent fans out only when every condition holds for every pair of
|
|
27
|
+
units. It decides alone, records the result in the stage report, and asks the
|
|
28
|
+
user nothing.
|
|
29
|
+
|
|
30
|
+
| # | Condition |
|
|
31
|
+
| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
32
|
+
| G1 | Each unit is a story unit or a lookup unit, as above |
|
|
33
|
+
| G2 | There are two or more units, and the stage report records that each is large enough to be worth a brief |
|
|
34
|
+
| G3 | Written artifacts hold everything a unit needs: step files, story-tree IDs, contracts, `decisions.md`. A unit whose brief would retell the conversation runs in the session agent |
|
|
35
|
+
| G4 | Writes are disjoint, compared by read and write sets rather than by file name: production files, test files, fixtures, schema or database objects, generated assets, and shared resources such as ports |
|
|
36
|
+
| G5 | No unit needs another unit's output |
|
|
37
|
+
| G6 | Each unit returns a small result: a diff on its owned paths with its selectors' results, or a cited answer |
|
|
38
|
+
|
|
39
|
+
Two units that write the same shared fixture or mock file, or mutate the same
|
|
40
|
+
fixture instance, fail G4. A shared fixture module that both only read as-is
|
|
41
|
+
does not fail it on its own. Where any condition is uncertain, the units run
|
|
42
|
+
serially.
|
|
43
|
+
|
|
44
|
+
## Briefing a unit
|
|
45
|
+
|
|
46
|
+
Give each worker a self-contained brief, never a fork of the session's
|
|
47
|
+
conversation: the step files to run, the story-tree IDs, the exact owned-path
|
|
48
|
+
list (empty for a lookup), the checks to run and the shape of its answer.
|
|
49
|
+
Give each a checkout assigned by the host. Use separate worktrees when the host
|
|
50
|
+
supports editing them; otherwise use the existing shared-index mode in
|
|
26
51
|
`.qfai/assistant/rule/workflow.md#concurrency-stage-independent-mandatory`.
|
|
27
52
|
Creating a worktree does not grant edit permission. For a refused edit, follow
|
|
28
53
|
`.qfai/assistant/rule/shared-skill-delegation-baseline.md#worker-edit-boundary`.
|
|
29
|
-
Workers do not change another worker's files or the story tree.
|
|
30
|
-
integrates their results and resolves every overlap before judging either item
|
|
31
|
-
complete.
|
|
54
|
+
Workers do not change another worker's files or the story tree.
|
|
32
55
|
|
|
33
56
|
## Integration gate
|
|
34
57
|
|
|
35
|
-
|
|
58
|
+
The session agent integrates the results and resolves every overlap before
|
|
59
|
+
judging any story complete. It reruns every story unit's selectors and
|
|
60
|
+
`npx qfai validate --profile tdd --fail-on error --flow BF-NNNN` on the merged
|
|
61
|
+
tree; the suites run once, in the verify stage. A worker's isolated PASS is not
|
|
62
|
+
an integrated PASS.
|
|
36
63
|
|
|
37
|
-
On an integration failure, assign the defect to the owning
|
|
64
|
+
On an integration failure, assign the defect to the owning story when the
|
|
65
|
+
dependency is known. When the combination itself causes the failure, stop the
|
|
66
|
+
fan-out and repair serially. Record the gate's result and the integration
|
|
67
|
+
results in the stage report. The decision's record carries the four labelled
|
|
68
|
+
Approach items stated at the top of
|
|
69
|
+
`.qfai/assistant/skill/qfai-sdd/templates/spec/decisions.md`.
|
|
38
70
|
|
|
39
71
|
Host limits above this policy: `.qfai/assistant/rule/shared-skill-delegation-baseline.md#host-backstops-above-the-declared-shape`.
|
|
@@ -4,7 +4,6 @@ title: QFAI Maintain (Non-normative edits)
|
|
|
4
4
|
description: "Use when invoked by name or handed a QFAI work order. Use it for a change to wording, a typo, a code comment or document prose that is meant to change no behaviour."
|
|
5
5
|
argument-hint: "<the text or comment to change>"
|
|
6
6
|
allowed-tools: [Read, Glob, Grep, Write, Edit, Bash, TodoWrite, Task, Agent]
|
|
7
|
-
roles: [orchestrator, doc-steward, implementation-reviewer]
|
|
8
7
|
steps: [maintain-edit]
|
|
9
8
|
requires: [common-review-cycle]
|
|
10
9
|
mode: execution-focused
|
|
@@ -3,15 +3,6 @@ name: qfai-migration-v1-to-v2
|
|
|
3
3
|
title: QFAI 1.x to 2.x Migration
|
|
4
4
|
description: "Move an existing QFAI 1.x spec-pack project to the 2.x story-based spec tree using the bundled steps, then install and check the free-text entry. Use when asked to migrate a project that still holds QFAI 1.x spec packs."
|
|
5
5
|
allowed-tools: [Read, Glob, Write, Edit, Bash]
|
|
6
|
-
roles:
|
|
7
|
-
[
|
|
8
|
-
orchestrator,
|
|
9
|
-
requirements-analyst,
|
|
10
|
-
solution-architect,
|
|
11
|
-
devops-ci-engineer,
|
|
12
|
-
architecture-reviewer,
|
|
13
|
-
]
|
|
14
|
-
routing-profile: architecture-heavy
|
|
15
6
|
---
|
|
16
7
|
|
|
17
8
|
## /qfai-migration-v1-to-v2
|
|
@@ -132,9 +123,7 @@ keep authors separate from reviewers.
|
|
|
132
123
|
`## Reminder hooks`, the line about trusting the Codex hooks with `/hooks`
|
|
133
124
|
included. Step 12 checks the entry and writes nothing.
|
|
134
125
|
7. Resolve every item step 12 lists under `## For a person`. Rerun step 11 for
|
|
135
|
-
an item it installs, and step 10 for a `gitignore` item.
|
|
136
|
-
`qfai.config.yaml` routing override is the project's, so ask its owner
|
|
137
|
-
before changing it. Resolve each `old-path` item with the
|
|
126
|
+
an item it installs, and step 10 for a `gitignore` item. Resolve each `old-path` item with the
|
|
138
127
|
person who wrote the file, by rewording the line so that it no longer names
|
|
139
128
|
the old path, using the 2.x path that the guide's table gives for it. Rerun step 12 until it exits 0.
|
|
140
129
|
8. Then run `npx qfai validate` through the launcher proven by preflight.
|
|
@@ -178,7 +167,7 @@ saying it is already done. The complete write boundary is in
|
|
|
178
167
|
|
|
179
168
|
### Reviewer Gate
|
|
180
169
|
|
|
181
|
-
The architecture
|
|
170
|
+
The reviewer is `architecture-reviewer`. It checks the old-to-new mapping and preservation of
|
|
182
171
|
unplaced content. The reviewer checks the twelve reports, rerun
|
|
183
172
|
behavior, and validation result. Enforce the Drift Protocol and
|
|
184
173
|
`.qfai/assistant/rule/test-layers.md` when reviewing test obligations. Counts and effort
|
package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/references/migration-guide.md
CHANGED
|
@@ -270,19 +270,16 @@ Step 12 makes the checks a shipped plan needs of the project, checks what step
|
|
|
270
270
|
11 installs, and lists the project files that still name a 1.x path. Each failed
|
|
271
271
|
check is reported by name:
|
|
272
272
|
|
|
273
|
-
| Check
|
|
274
|
-
|
|
|
275
|
-
| `plan-invalid`
|
|
276
|
-
| `
|
|
277
|
-
| `
|
|
278
|
-
| `
|
|
279
|
-
| `
|
|
280
|
-
| `old-path` | A line of a tracked project file names a 1.x path |
|
|
273
|
+
| Check | Fails when |
|
|
274
|
+
| --------------- | -------------------------------------------------------------------------------- |
|
|
275
|
+
| `plan-invalid` | A step a built-in plan runs is not installed under `.qfai/assistant/step/` |
|
|
276
|
+
| `invalid-mode` | `workflow.mode` is set to anything other than `active`, `shadow` or `off` |
|
|
277
|
+
| `gitignore` | The managed `.gitignore` block differs from the one the installed package writes |
|
|
278
|
+
| `qfai-run-link` | A host skill directory has no link to `.qfai/assistant/skill/qfai-run/` |
|
|
279
|
+
| `old-path` | A line of a tracked project file names a 1.x path |
|
|
281
280
|
|
|
282
281
|
Run step 11 again for what it installs, and step 10 again for a `gitignore`
|
|
283
|
-
item.
|
|
284
|
-
project, so its owner decides whether to restore the reviewer. Rerun step 12
|
|
285
|
-
until it exits 0.
|
|
282
|
+
item. Rerun step 12 until it exits 0.
|
|
286
283
|
|
|
287
284
|
### Files the project wrote
|
|
288
285
|
|
package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/references/migration-placement.md
CHANGED
|
@@ -172,13 +172,6 @@ Step 3 groups its `## For a person` items under `### Content` and
|
|
|
172
172
|
or decides. `### Identifiers` holds an item that only pairs an old ID with its
|
|
173
173
|
new one, such as a changed constraint ID. A group with no item is not printed.
|
|
174
174
|
|
|
175
|
-
Step 3 writes a `routing:` override into `qfai.config.yaml` only for an entry
|
|
176
|
-
of `agent-routing.yml` that differs from the installed default. It writes none
|
|
177
|
-
for an entry equal to a default or to an entry a 1.x release shipped. Step 3
|
|
178
|
-
lists each routing entry it does write under `## For a person`, with its name
|
|
179
|
-
and a warning that a routing entry copied from a 1.x manifest hides the roles
|
|
180
|
-
the 2.x skills declare.
|
|
181
|
-
|
|
182
175
|
## Business rules
|
|
183
176
|
|
|
184
177
|
Rules are numbered per contract, `BR-<contract number>-NNNN` from `0001` in plan
|
|
@@ -4,14 +4,6 @@ title: QFAI Prototyping (DESIGN.md-driven UX Loop)
|
|
|
4
4
|
description: "Use when invoked by name or handed a QFAI work order to settle a visual or interaction decision by prototyping UI contracts under the root DESIGN.md."
|
|
5
5
|
argument-hint: ""
|
|
6
6
|
allowed-tools: [Read, Glob, Write, TodoWrite, Task, Agent, Bash]
|
|
7
|
-
roles:
|
|
8
|
-
[
|
|
9
|
-
orchestrator,
|
|
10
|
-
product-experience-architect,
|
|
11
|
-
devops-ci-engineer,
|
|
12
|
-
product-surface-reviewer,
|
|
13
|
-
implementation-reviewer,
|
|
14
|
-
]
|
|
15
7
|
steps: [prototyping-grill, prototyping-preflight, prototyping-loop, prototyping-handoff]
|
|
16
8
|
requires: [common-review-cycle]
|
|
17
9
|
mode: execution-focused
|
|
@@ -53,7 +45,7 @@ command writes any of these files. The one file a command reads is the handoff r
|
|
|
53
45
|
When unsure, read inputs in this order:
|
|
54
46
|
|
|
55
47
|
- P1: `.qfai/assistant/rule/*`, and `.qfai/assistant/skill/qfai-grilling/SKILL.md` before either session — the one before the loop and the one each reviewed prototype resumes
|
|
56
|
-
- P2: `.qfai/assistant/rule/agent-selection.md`, the
|
|
48
|
+
- P2: `.qfai/assistant/rule/agent-selection.md`, the cards under `.qfai/assistant/agent/`, and project context in the story tree
|
|
57
49
|
- P3: root `DESIGN.md` — the brand identity every iteration is built and reviewed against
|
|
58
50
|
- P4: the UI contracts under `<contractsDir>/ui/**/*.{yaml,yml}` and the references each step lists
|
|
59
51
|
- P5: earlier iterations and their reviews under `.qfai/prototype/`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generator Iteration Prompt
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Read by the session agent, which generates, at the start of each iteration.
|
|
4
4
|
Brand identity is locked by root `DESIGN.md`. Iterate on **information
|
|
5
5
|
architecture**, **navigation flow**, and **usability** — not visual
|
|
6
6
|
identity.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
.qfai/prototype/iter-NN/UI-NNNN/<screen>.review.json
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
The
|
|
20
|
+
The session agent writes the reviewer's payload for each `(UI contract, screen)` pair beside the
|
|
21
21
|
per-iteration `review.json` summary, from the first iteration on (the payload schema and the aggregation rule are
|
|
22
22
|
in the reviewer references the loop step names). That holds for a single-contract run as much
|
|
23
23
|
as for a multi-contract one. A scoped run writes payloads only for the pairs it
|
|
@@ -26,7 +26,7 @@ reviews: its in-scope and render-check screens.
|
|
|
26
26
|
The reviewer operates Playwright live. A screenshot or HTML snapshot is an
|
|
27
27
|
additional input, taken only when someone needs it.
|
|
28
28
|
|
|
29
|
-
`progress.md` is one file for the whole run. The
|
|
29
|
+
`progress.md` is one file for the whole run. The session agent appends a
|
|
30
30
|
one-line summary at the end of each iteration.
|
|
31
31
|
|
|
32
32
|
## When the loop ends
|
package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/review-payload-schema.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Review Payload Schema (`<screen>.review.json`)
|
|
2
2
|
|
|
3
3
|
SSOT for the per-UI-contract / per-screen review payload. The
|
|
4
|
-
product-surface-reviewer sub-agent returns it, the
|
|
4
|
+
product-surface-reviewer sub-agent returns it, the session agent writes it,
|
|
5
5
|
and the user reads what it finds before confirming the prototype.
|
|
6
6
|
|
|
7
7
|
The schema is **closed**: any key not listed below is rejected. The
|
|
8
|
-
|
|
8
|
+
session agent checks each payload against it before writing it, and asks the
|
|
9
9
|
reviewer again for one that does not conform before the prototype is put to
|
|
10
10
|
the user. A near-miss (extra key, misspelled field) fails the
|
|
11
11
|
whole file.
|
|
@@ -120,12 +120,12 @@ exponential backoff (`base * 2^attemptIndex` ms, `base = 250`).
|
|
|
120
120
|
|
|
121
121
|
Who records which status:
|
|
122
122
|
|
|
123
|
-
- The
|
|
123
|
+
- The session agent dispatches the reviewer for each pair and runs the
|
|
124
124
|
attempts. A session that completed is `ok`, including one that
|
|
125
125
|
succeeded after earlier failed attempts: the reviewer returns
|
|
126
126
|
`sessionStatus: "ok"` with the retries consumed in `retryCount`.
|
|
127
127
|
- When the reviewer cannot be started, or every attempt fails, no
|
|
128
|
-
reviewer payload exists. The
|
|
128
|
+
reviewer payload exists. The session agent writes the pair's payload
|
|
129
129
|
itself, with `sessionStatus` `launchFailed` or `retryExhausted`,
|
|
130
130
|
`retryCount` the retries consumed, every impression and array empty,
|
|
131
131
|
`wallTimeSec` the time spent, and `softWarnings.timeBudget` derived
|
|
@@ -73,7 +73,7 @@ transition-pass percentages as a substitute for the qualitative review.
|
|
|
73
73
|
|
|
74
74
|
## Outputs — two files, two schemas
|
|
75
75
|
|
|
76
|
-
You return two different results, and the
|
|
76
|
+
You return two different results, and the session agent writes each to
|
|
77
77
|
its file. They are not interchangeable. Both paths are given in full
|
|
78
78
|
below and are relative to the project root.
|
|
79
79
|
|
|
@@ -4,7 +4,6 @@ title: QFAI Run (Change request entry)
|
|
|
4
4
|
description: "Use when the user asks for a change, a fix, an investigation of the codebase, a question about the project or an operation on finished work in plain words and names no stage skill. Plans every such request, the lightest included, with `npx qfai workflow plan` and runs the plan's steps in order to its end."
|
|
5
5
|
argument-hint: "<the change, in your own words>"
|
|
6
6
|
allowed-tools: [Read, Glob, Grep, Write, Edit, Bash, TodoWrite, Task, Agent]
|
|
7
|
-
roles: [orchestrator]
|
|
8
7
|
steps: []
|
|
9
8
|
requires: [common-policy-check, common-review-cycle]
|
|
10
9
|
mode: execution-focused
|
|
@@ -76,7 +75,7 @@ values plan nothing.
|
|
|
76
75
|
5. **Run the stages.** Run each stage in plan order, and each of its steps in
|
|
77
76
|
order, as `.qfai/assistant/rule/shared-skill-operating-baseline.md#running-steps-mandatory` says.
|
|
78
77
|
Note each step's status for the final report; when a step is short or passes without edits, read `references/operator-screens.md`.
|
|
79
|
-
|
|
78
|
+
Do the work and write every artifact yourself. Start a sub-agent only for the two reasons the delegation baseline states: an independent judgement, or parallel units that pass the parallel-unit gate. A worker starts no finder, griller or reviewer: run each step that starts one yourself, as the delegation baseline's Session Agent Protocol says.
|
|
80
79
|
At a step the plan marks with a point, follow `references/stage-points.md`:
|
|
81
80
|
- **Release point.** Ask the user to approve the release before the step `releasePoint` names.
|
|
82
81
|
- **Decision point.** Put each critical decision at a step `decisionPoints` names to the user.
|
|
@@ -271,7 +271,7 @@ using it, preserve target edits in a permitted commit of only its paths, and
|
|
|
271
271
|
ensure the whole index and worktree are clean. Unknown dirty files postpone
|
|
272
272
|
the switch; do not stash, reset or delete them to move on. A reviewer using
|
|
273
273
|
live files or checkout-dependent execution must finish. A read-only reviewer
|
|
274
|
-
using only `git show <fixed SHA>:<path>` may continue across a clean
|
|
274
|
+
using only `git show <fixed SHA>:<path>` may continue across a clean session-agent switch;
|
|
275
275
|
the reviewer never switches the checkout. Pending gates delegated (CI-only or
|
|
276
276
|
by instruction) use the existing DELEGATED commit allowance only under a user
|
|
277
277
|
instruction or project policy covering that verification commit and its tracked
|
|
@@ -355,6 +355,6 @@ reset, a stash, a branch switch or a worktree removal.
|
|
|
355
355
|
Read this section when parts ran in parallel. Report one row per part given to
|
|
356
356
|
a sub-agent.
|
|
357
357
|
|
|
358
|
-
| Step |
|
|
359
|
-
| ---- |
|
|
360
|
-
| 1 | `<
|
|
358
|
+
| Step | Agent (sub-agent) | Agent instance | Task title | Input (refs) | Output (refs) | Status (PASS/REVISE/PENDING) |
|
|
359
|
+
| ---- | ----------------- | --------------- | ----------------- | ------------- | ------------- | ---------------------------- |
|
|
360
|
+
| 1 | `<agent>` | `<instance id>` | `<part in words>` | The step file | The result | PASS/REVISE |
|
|
@@ -6,19 +6,6 @@ argument-hint: "[<BF-ID-or-name>] [--contract <contract-ID-or-path>] [--auto]"
|
|
|
6
6
|
allowed-tools: [Read, Glob, Write, TodoWrite, Task, Agent, Bash]
|
|
7
7
|
steps: [sdd-triage, sdd-flow, sdd-story, sdd-contract, common-design-md, sdd-cycle, sdd-gate]
|
|
8
8
|
requires: [common-review-cycle]
|
|
9
|
-
roles:
|
|
10
|
-
[
|
|
11
|
-
orchestrator,
|
|
12
|
-
delivery-planner,
|
|
13
|
-
requirements-analyst,
|
|
14
|
-
solution-architect,
|
|
15
|
-
product-experience-architect,
|
|
16
|
-
test-design-analyst,
|
|
17
|
-
qa-strategist,
|
|
18
|
-
architecture-reviewer,
|
|
19
|
-
requirements-reviewer,
|
|
20
|
-
product-surface-reviewer,
|
|
21
|
-
]
|
|
22
9
|
mode: approval-gated
|
|
23
10
|
---
|
|
24
11
|
|
|
@@ -29,8 +29,8 @@ No cycle runs when:
|
|
|
29
29
|
|
|
30
30
|
## The finder
|
|
31
31
|
|
|
32
|
-
The finder is a sub-agent
|
|
33
|
-
the BRs it reads. The
|
|
32
|
+
The finder is a sub-agent on `requirements-reviewer`, started from a fresh context, that wrote none of
|
|
33
|
+
the BRs it reads. The session agent starts it; a stage worker starts none. It
|
|
34
34
|
reads:
|
|
35
35
|
|
|
36
36
|
- each BR whose Statement or Examples cell this invocation wrote or changed;
|
|
@@ -32,6 +32,18 @@ Discussion UI/UX files are **non-normative** discovery / reference artifacts —
|
|
|
32
32
|
## Rules
|
|
33
33
|
|
|
34
34
|
- Keep contract files minimal: only what flows, stories, and tests actually reference.
|
|
35
|
+
- Every entry in a UI contract's `screens[]` carries at least one
|
|
36
|
+
`primary_task`. An empty `primary_tasks` array blocks `/qfai-prototyping` at
|
|
37
|
+
the validate lane, under `QFAI-AUD-001`. The shipped `ui-contract.sample.yaml`
|
|
38
|
+
carries filled entries; replace them with the screen's own rather than
|
|
39
|
+
emptying the list.
|
|
40
|
+
- Every screen also declares `supplements` (`[]` when it shows no text beyond
|
|
41
|
+
its title, group headings and labels), and `structure` when it shows a heading
|
|
42
|
+
beyond its title. Check each proposed text against the screen's tasks and the
|
|
43
|
+
information the user needs there, and write the ones that stay into the
|
|
44
|
+
contract with the reason. A text that only repeats a heading, an action or a
|
|
45
|
+
condition the user already has is left out. Discussion sidecars inform these
|
|
46
|
+
keys; they do not replace them.
|
|
35
47
|
- UI contracts must be mockable for prototypes: define stable `elements` and
|
|
36
48
|
`actions` with enough inspection-target text for Playwright evidence.
|
|
37
49
|
- **The `prototype` mapping is optional, and what it declares is checked.** A
|
|
@@ -67,7 +67,7 @@ questions in open-questions.md. In --auto, ask nothing and stop dependent work.
|
|
|
67
67
|
|
|
68
68
|
## Concrete-abstract cycle
|
|
69
69
|
|
|
70
|
-
When Stage 4 wrote or changed a BR Statement or Examples cell, run the concrete-abstract cycle before the gate: a sub-agent that wrote none of the BRs, started by the
|
|
70
|
+
When Stage 4 wrote or changed a BR Statement or Examples cell, run the concrete-abstract cycle before the gate: a sub-agent that wrote none of the BRs, started by the session agent and never by a stage worker, raises findings against the tree, the session agent decides them, the adopted changes are applied, and the affected BRs are rewritten. At most two cycles run.
|
|
71
71
|
|
|
72
72
|
## Stage 5: gate, review, and completion
|
|
73
73
|
|
|
@@ -18,8 +18,8 @@ The checkpoint occurs before this invocation's first design mutation in that sta
|
|
|
18
18
|
|
|
19
19
|
## Roles and disposition
|
|
20
20
|
|
|
21
|
-
- The
|
|
22
|
-
-
|
|
21
|
+
- The session agent starts the griller.
|
|
22
|
+
- One frontier holds every decision the stage's drafts need. Keep grilling and the final review apart: the reviewer reviews no decision it recommended.
|
|
23
23
|
- Read existing policy, decisions, open questions, discussion provenance, and current contracts before asking. Do not ask the user for facts already recorded there.
|
|
24
24
|
- The session identifies options and failure cases and gives an evidence-based recommendation. A critical product decision goes to the user; an agent's preference cannot supply approval.
|
|
25
25
|
- Settle a critical question before the affected author writes.
|
|
@@ -4,17 +4,6 @@ title: QFAI Triage (Requests that end without a tracked change)
|
|
|
4
4
|
description: "Use when invoked by name or handed a QFAI work order for a request that ends without a tracked change: a question, a duplicate, missing information, a split, automated reports, a security report, an operation only a person can run, an operation the user named on finished work, or authorized cleanup of current-task temporary directories."
|
|
5
5
|
argument-hint: "<the request, as it was reported>"
|
|
6
6
|
allowed-tools: [Read, Glob, Grep, Write, Bash, TodoWrite, Task, Agent]
|
|
7
|
-
roles:
|
|
8
|
-
[
|
|
9
|
-
orchestrator,
|
|
10
|
-
discovery-analyst,
|
|
11
|
-
requirements-analyst,
|
|
12
|
-
delivery-planner,
|
|
13
|
-
solution-architect,
|
|
14
|
-
frontend-engineer,
|
|
15
|
-
backend-engineer,
|
|
16
|
-
devops-ci-engineer,
|
|
17
|
-
]
|
|
18
7
|
steps:
|
|
19
8
|
- triage-dedupe
|
|
20
9
|
- triage-request-info
|
|
@@ -4,15 +4,6 @@ title: QFAI Verify (Quality Gates + Evidence)
|
|
|
4
4
|
description: "Use when invoked by name or handed a QFAI work order to verify a change before it is handed off."
|
|
5
5
|
argument-hint: "[--auto]"
|
|
6
6
|
allowed-tools: [Read, Glob, Bash, Write, Edit, TodoWrite, Task, Agent]
|
|
7
|
-
roles:
|
|
8
|
-
[
|
|
9
|
-
orchestrator,
|
|
10
|
-
delivery-planner,
|
|
11
|
-
qa-strategist,
|
|
12
|
-
devops-ci-engineer,
|
|
13
|
-
doc-steward,
|
|
14
|
-
implementation-reviewer,
|
|
15
|
-
]
|
|
16
7
|
steps:
|
|
17
8
|
[
|
|
18
9
|
verify-repeat-run,
|
|
@@ -4,7 +4,6 @@ title: "Web Research Pipeline"
|
|
|
4
4
|
description: "8-stage web research pipeline with MCP integration, caching, and citation generation. Use when asked to research a topic on the web and report the findings with cited sources."
|
|
5
5
|
argument-hint: "[query] [--max-depth N] [--yolo]"
|
|
6
6
|
allowed-tools: [Read, Glob, Bash, Write, Task, Agent, WebSearch, WebFetch]
|
|
7
|
-
roles: [Researcher, Analyst, FactChecker]
|
|
8
7
|
mode: research-pipeline
|
|
9
8
|
---
|
|
10
9
|
|
|
@@ -33,9 +32,12 @@ Follow `.qfai/assistant/rule/shared-skill-delegation-baseline.md`.
|
|
|
33
32
|
The sections below add only pipeline-specific detail; where they and the
|
|
34
33
|
baseline overlap, the baseline governs.
|
|
35
34
|
|
|
36
|
-
###
|
|
35
|
+
### Session Agent Protocol
|
|
37
36
|
|
|
38
|
-
- The
|
|
37
|
+
- The session agent frames the research and writes the research artifact itself.
|
|
38
|
+
- Two or more self-contained searches or fetches may run in parallel on
|
|
39
|
+
`fullstack-engineer` with no owned paths, under the parallel-unit gate; the
|
|
40
|
+
session agent reads their answers.
|
|
39
41
|
- It never approves its own work.
|
|
40
42
|
|
|
41
43
|
## Work Orders Summary
|
|
@@ -46,17 +48,16 @@ Use the shared schema from `.qfai/assistant/rule/shared-skill-delegation-baselin
|
|
|
46
48
|
collision cannot be detected from the evidence afterwards. Typical pipeline
|
|
47
49
|
steps:
|
|
48
50
|
|
|
49
|
-
| Step |
|
|
50
|
-
| ---- |
|
|
51
|
-
| 1 |
|
|
52
|
-
| 2 |
|
|
53
|
-
| 3 | Reviewer | `<instance id>` | Review evidence and claims | Notes + sources | Approval decision | PASS/REVISE |
|
|
51
|
+
| Step | Agent (sub-agent) | Agent instance | Task title | Input (refs) | Output (refs) | Status (PASS/REVISE/PENDING) |
|
|
52
|
+
| ---- | ----------------------- | --------------- | -------------------------- | --------------- | ----------------- | ---------------------------- |
|
|
53
|
+
| 1 | `fullstack-engineer` | `<instance id>` | Answer one lookup question | The question | Cited answer | PASS/REVISE |
|
|
54
|
+
| 2 | `requirements-reviewer` | `<instance id>` | Review evidence and claims | Notes + sources | Approval decision | PASS/REVISE |
|
|
54
55
|
|
|
55
56
|
### Reviewer Gate
|
|
56
57
|
|
|
57
58
|
- The final completion gate must be performed by an independent reviewer, as defined
|
|
58
59
|
normatively in `.qfai/assistant/rule/shared-skill-delegation-baseline.md#definition-independent-reviewer-normative`.
|
|
59
|
-
Being
|
|
60
|
+
Being briefed as the reviewer does not by itself make an agent independent: an agent
|
|
60
61
|
that drafted or edited any artifact under review is disqualified for the whole run,
|
|
61
62
|
and must hand the same evidence set to a non-participating reviewer instead of
|
|
62
63
|
returning `PASS`.
|
|
@@ -215,16 +216,15 @@ Default TTL: **24 hours** (24h).
|
|
|
215
216
|
|
|
216
217
|
Cache is stored under `.qfai/cache/web-research/` using content-addressable storage.
|
|
217
218
|
|
|
218
|
-
## 8.
|
|
219
|
+
## 8. Parallel Lookups
|
|
219
220
|
|
|
220
|
-
The
|
|
221
|
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
the session log as the coordination artifact.
|
|
221
|
+
The session agent runs every stage itself. Within the search (Stage 1), fetch
|
|
222
|
+
(Stage 3) and verify (Stage 7) stages, two or more self-contained questions may
|
|
223
|
+
run in parallel, each on a `fullstack-engineer` with no owned paths, under the
|
|
224
|
+
parallel-unit gate of
|
|
225
|
+
`.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md`.
|
|
226
|
+
Each worker writes nothing and returns its answer with its sources; the session
|
|
227
|
+
agent records them in the session log.
|
|
228
228
|
|
|
229
229
|
## 9. Error Handling
|
|
230
230
|
|
|
@@ -3,8 +3,6 @@ name: common-design-md
|
|
|
3
3
|
owner: common
|
|
4
4
|
purpose: "Author a missing root DESIGN.md or repair its authorized part from the recorded design direction, validate it, and check it again before anything is built from it."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# common-design-md
|
|
@@ -3,7 +3,6 @@ name: common-gate-run
|
|
|
3
3
|
owner: common
|
|
4
4
|
purpose: "Run one gate — a qfai validate profile or a project command from the Standard commands — and record its command, result and revision, so a gate that did not run is never read as a pass."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: []
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# common-gate-run
|
|
@@ -3,7 +3,6 @@ name: common-policy-check
|
|
|
3
3
|
owner: common
|
|
4
4
|
purpose: "Once, at the start of a run, find the project facts in policy and technology that are missing or stale, fill the verified ones the run owns, and record what cannot be verified."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: []
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# common-policy-check
|
|
@@ -3,7 +3,6 @@ name: common-review-cycle
|
|
|
3
3
|
owner: common
|
|
4
4
|
purpose: "Run a review the route or the parent skill calls for: dispatch the independent reviewers once, fix or answer every finding, and report the result."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: []
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# common-review-cycle
|
|
@@ -79,7 +78,7 @@ them; it is the procedure that applies them.
|
|
|
79
78
|
the reviewer reads it against the code before the fix and confirms that
|
|
80
79
|
its assertion fails there
|
|
81
80
|
(`.qfai/assistant/skill/qfai-implement/references/red-admissibility.md#ci-only-test-gate`).
|
|
82
|
-
2. **Dispatch.** The
|
|
81
|
+
2. **Dispatch.** The session agent sends each reviewer a work order in the
|
|
83
82
|
shared template, never a stage worker. An agent that authored, edited or
|
|
84
83
|
recommended a decision in the reviewed artifact is not its independent
|
|
85
84
|
reviewer. The session report names its authors, editors and decision
|
|
@@ -114,7 +113,7 @@ them; it is the procedure that applies them.
|
|
|
114
113
|
|
|
115
114
|
## Gate
|
|
116
115
|
|
|
117
|
-
Every
|
|
116
|
+
Every required reviewer responded once, each behaviour fix had its one focused
|
|
118
117
|
re-review, every finding is fixed or answered, and
|
|
119
118
|
the stage report names each verdict and each answer, or says why the review
|
|
120
119
|
dispatched no reviewer. For a code review skipped as a small literal-only
|
|
@@ -3,8 +3,6 @@ name: discussion-interview
|
|
|
3
3
|
owner: qfai-discussion
|
|
4
4
|
purpose: "Interview the user as a grilling session and record how and when it ended."
|
|
5
5
|
requires: [common-grilling-record]
|
|
6
|
-
roles: [discovery-analyst, requirements-analyst, solution-architect, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# discussion-interview
|