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
|
@@ -3,8 +3,6 @@ name: discussion-pack
|
|
|
3
3
|
owner: qfai-discussion
|
|
4
4
|
purpose: "Author the discussion pack from what the interview settled."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [requirements-analyst, solution-architect, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# discussion-pack
|
|
@@ -3,10 +3,6 @@ name: implement-acceptance
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Write the bodies of a business flow's empty acceptance tests, keeping each test's annotation and file."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- acceptance-test-engineer
|
|
8
|
-
- devops-ci-engineer
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-acceptance
|
|
@@ -3,11 +3,6 @@ name: implement-backport
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Check that a merged change meets the project's backport criteria and carry it onto the release branch it names, passing that branch's gates."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# implement-backport
|
|
@@ -3,10 +3,6 @@ name: implement-benchmark
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Measure a slow path under fixed conditions, before a change as its baseline and after it for comparison, and record the numbers without changing any tracked file."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- qa-strategist
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-benchmark
|
|
@@ -3,11 +3,6 @@ name: implement-bisect
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Find the change that broke a behaviour between a revision where it worked and one where it fails, without changing any tracked file."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# implement-bisect
|
|
@@ -3,10 +3,6 @@ name: implement-credentials
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Set up per-worker sign-in reuse for acceptance tests that need an authenticated actor."
|
|
5
5
|
requires: []
|
|
6
|
-
roles:
|
|
7
|
-
- acceptance-test-engineer
|
|
8
|
-
- devops-ci-engineer
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-credentials
|
|
@@ -3,11 +3,6 @@ name: implement-dep-bump
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Raise a dependency to a new version and check that the runtime, the version floors the project declares, and every call into it still hold."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# implement-dep-bump
|
|
@@ -3,12 +3,6 @@ name: implement-diagnose
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Reproduce a reported failure in one business flow, find its cause and give the one verdict that decides what the run does next. On a fix route the reproduction is a failing test."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- test-design-analyst
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
- devops-ci-engineer
|
|
11
|
-
routing-profile: default
|
|
12
6
|
---
|
|
13
7
|
|
|
14
8
|
# implement-diagnose
|
|
@@ -3,11 +3,6 @@ name: implement-minimize
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Shrink the input that makes a program crash to the smallest one that still crashes the same way, without changing any tracked file."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# implement-minimize
|
|
@@ -3,12 +3,6 @@ name: implement-oracle-parity
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Build a check that runs the same inputs through the project and through the outside reference it should match, and lists every difference."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- test-design-analyst
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
- devops-ci-engineer
|
|
11
|
-
routing-profile: default
|
|
12
6
|
---
|
|
13
7
|
|
|
14
8
|
# implement-oracle-parity
|
|
@@ -3,10 +3,6 @@ name: implement-quarantine
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Take a test that passes and fails on the same code out of the gating suite, with a record of why and of what lets it back in."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- qa-strategist
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-quarantine
|
|
@@ -4,10 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Move code into a better structure while every test stays green, adding no example and changing no behaviour."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
7
|
---
|
|
12
8
|
|
|
13
9
|
# implement-refactor
|
|
@@ -4,10 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Fix the production code behind a regression that an existing, correct test catches, and confirm the fix by that test turning GREEN again."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
7
|
---
|
|
12
8
|
|
|
13
9
|
# implement-regression-fix
|
|
@@ -4,12 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Delete a mechanism the project decided to retire: its code, its tests, its configuration and its documents, with no test added to prove it is gone."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
- devops-ci-engineer
|
|
11
|
-
- doc-steward
|
|
12
|
-
routing-profile: default
|
|
13
7
|
---
|
|
14
8
|
|
|
15
9
|
# implement-retire
|
|
@@ -3,10 +3,6 @@ name: implement-revert
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Undo the change a bisection named as the cause of a failure, and confirm the failure is gone and nothing else broke."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- frontend-engineer
|
|
8
|
-
- backend-engineer
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-revert
|
|
@@ -3,8 +3,6 @@ name: implement-scaffold
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Write, with `npx qfai atdd scaffold` or, in a project with purpose-named test files, by hand, the E2E test of each business flow and the integration test of each acceptance criterion the flow lacks, each with an empty body."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles: [test-design-analyst]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# implement-scaffold
|
|
@@ -3,10 +3,6 @@ name: implement-seam
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Land the minimal connection an acceptance test needs to reach its assertion, and leave that test failing at the assertion."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- frontend-engineer
|
|
8
|
-
- backend-engineer
|
|
9
|
-
routing-profile: default
|
|
10
6
|
---
|
|
11
7
|
|
|
12
8
|
# implement-seam
|
|
@@ -3,11 +3,6 @@ name: implement-stress-harness
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Build a harness that makes an intermittent failure appear on demand, under load or under a controlled schedule, and record how often it appears."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
routing-profile: default
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# implement-stress-harness
|
|
@@ -4,11 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Run a widened check over the whole tree and either fix each new finding or record it in the check's baseline with its reason."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- devops-ci-engineer
|
|
9
|
-
- frontend-engineer
|
|
10
|
-
- backend-engineer
|
|
11
|
-
routing-profile: default
|
|
12
7
|
---
|
|
13
8
|
|
|
14
9
|
# implement-sweep
|
|
@@ -4,14 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Take each example of one business flow that no test annotates through an observed Red, Green and Refactor cycle, appending the one example a diagnosed missing test needs, and align every surface that does not own the truth."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- delivery-planner
|
|
9
|
-
- test-design-analyst
|
|
10
|
-
- qa-strategist
|
|
11
|
-
- frontend-engineer
|
|
12
|
-
- backend-engineer
|
|
13
|
-
- devops-ci-engineer
|
|
14
|
-
routing-profile: default
|
|
15
7
|
---
|
|
16
8
|
|
|
17
9
|
# implement-tdd
|
|
@@ -141,8 +133,9 @@ See `.qfai/assistant/skill/qfai-implement/references/cross-spec-ownership.md`
|
|
|
141
133
|
for changes that touch another flow and
|
|
142
134
|
`.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md`
|
|
143
135
|
for independently owned
|
|
144
|
-
|
|
145
|
-
|
|
136
|
+
story units. Work one EX at a time by default. Stories with no test yet may
|
|
137
|
+
run in parallel only when the parallel-unit gate passes, which the session
|
|
138
|
+
agent decides and records.
|
|
146
139
|
|
|
147
140
|
## Red, Green, Refactor
|
|
148
141
|
|
|
@@ -4,11 +4,6 @@ owner: qfai-implement
|
|
|
4
4
|
purpose: "Repair a defective test, at whatever layer, so that it checks what its business flow, criterion or example states and nothing else."
|
|
5
5
|
requires:
|
|
6
6
|
- common-gate-run
|
|
7
|
-
roles:
|
|
8
|
-
- frontend-engineer
|
|
9
|
-
- backend-engineer
|
|
10
|
-
- acceptance-test-engineer
|
|
11
|
-
routing-profile: default
|
|
12
7
|
---
|
|
13
8
|
|
|
14
9
|
# implement-test-fix
|
|
@@ -3,9 +3,6 @@ name: implement-tooling
|
|
|
3
3
|
owner: qfai-implement
|
|
4
4
|
purpose: "Change a workflow, a script or a development tool, record whether the change reaches the CI the project ships to others, and record any release-path check that has to wait for the next release."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles:
|
|
7
|
-
- devops-ci-engineer
|
|
8
|
-
routing-profile: default
|
|
9
6
|
---
|
|
10
7
|
|
|
11
8
|
# implement-tooling
|
|
@@ -3,8 +3,6 @@ name: maintain-edit
|
|
|
3
3
|
owner: qfai-maintain
|
|
4
4
|
purpose: "Change wording, a typo, a code comment or document prose inside the write scope, with no behaviour change, and stop before any edit that has a semantic effect."
|
|
5
5
|
requires: [common-gate-run]
|
|
6
|
-
roles: [doc-steward]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# maintain-edit
|
|
@@ -102,8 +100,7 @@ own run of this route, one branch at a time, with every rule above.
|
|
|
102
100
|
|
|
103
101
|
## The edit
|
|
104
102
|
|
|
105
|
-
|
|
106
|
-
itself.
|
|
103
|
+
The session agent makes the edit and runs the checks itself.
|
|
107
104
|
|
|
108
105
|
1. Read the write scope. Edit nothing outside it.
|
|
109
106
|
2. Before editing, judge whether each planned edit has a semantic effect: a
|
|
@@ -3,8 +3,6 @@ name: prototyping-grill
|
|
|
3
3
|
owner: qfai-prototyping
|
|
4
4
|
purpose: "Settle by a delegated grilling session what the prototype is for, before the loop builds anything."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [orchestrator, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# prototyping-grill
|
|
@@ -125,9 +123,9 @@ user's behalf — with more evidence than before, and still not the user's answe
|
|
|
125
123
|
that re-opens a frozen requirement produces an answer that drifts from it.
|
|
126
124
|
What is left is what the session is for.
|
|
127
125
|
3. Run the session. **It is delegated** (`.agents/rules/grilling.md` § Two
|
|
128
|
-
kinds of session). The
|
|
129
|
-
worker. The griller interviews the
|
|
130
|
-
prototype
|
|
126
|
+
kinds of session). The session agent starts the griller, never a stage
|
|
127
|
+
worker. The griller interviews the session agent, which generates the
|
|
128
|
+
prototype; the evaluator is not interviewed. Each decision that is not critical takes its
|
|
131
129
|
recommendation. `DESIGN.md` is frozen from the discussion stage's answers, so
|
|
132
130
|
a question of taste or purpose it already answers is adopted from it. One it
|
|
133
131
|
leaves open is product intent, which is critical, and goes to the user.
|
|
@@ -3,8 +3,6 @@ name: prototyping-handoff
|
|
|
3
3
|
owner: qfai-prototyping
|
|
4
4
|
purpose: "Publish the prototype the user confirmed and record the handoff for implementation."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [orchestrator, product-experience-architect, devops-ci-engineer]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# prototyping-handoff
|
|
@@ -3,8 +3,6 @@ name: prototyping-loop
|
|
|
3
3
|
owner: qfai-prototyping
|
|
4
4
|
purpose: "Build and review one prototype lineage per UI contract and screen, and put each reviewed prototype to the user until they confirm it."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [orchestrator, product-experience-architect, product-surface-reviewer, devops-ci-engineer]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# prototyping-loop
|
|
@@ -26,7 +24,7 @@ answer. No command, score or check decides that the loop is done.
|
|
|
26
24
|
loop the project's stylesheet and motion files it restyles.
|
|
27
25
|
- `.qfai/prototype/iter-NN/review.json` and
|
|
28
26
|
`iter-NN/<ui-contract-id>/<screen>.review.json` (the reviewer).
|
|
29
|
-
- `.qfai/prototype/progress.md` (the
|
|
27
|
+
- `.qfai/prototype/progress.md` (the session agent).
|
|
30
28
|
- The session rows of `.qfai/prototype/grilling.md`.
|
|
31
29
|
|
|
32
30
|
## Required References
|
|
@@ -47,25 +45,25 @@ answer. No command, score or check decides that the loop is done.
|
|
|
47
45
|
|
|
48
46
|
## Delegation Scope Table
|
|
49
47
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
The session agent generates, implements and builds; `product-surface-reviewer`
|
|
49
|
+
reviews, started from a fresh context and a black-box brief, never with the
|
|
50
|
+
session's conversation. The reviewer operates Playwright during the assessment
|
|
51
|
+
and returns its review payloads; it has no write access, so the session agent
|
|
52
|
+
writes them. There is no fixed capture identity: a screenshot is taken by
|
|
53
|
+
whoever needs it.
|
|
56
54
|
|
|
57
|
-
| Work |
|
|
58
|
-
| --------------------------------------------- |
|
|
59
|
-
| Generation and implementation |
|
|
60
|
-
| Live Playwright review and evaluation scoring | product-surface-reviewer
|
|
61
|
-
| Build |
|
|
55
|
+
| Work | Owner |
|
|
56
|
+
| --------------------------------------------- | -------------------------- |
|
|
57
|
+
| Generation and implementation | The session agent |
|
|
58
|
+
| Live Playwright review and evaluation scoring | `product-surface-reviewer` |
|
|
59
|
+
| Build | The session agent |
|
|
62
60
|
|
|
63
61
|
Record `targetIterations`, `evaluationAxesSource`, `delegationMap` and
|
|
64
62
|
`plannedAt` in `.qfai/prototype/progress.md` before the first review.
|
|
65
63
|
`targetIterations` is an estimate of the iterations before the user confirms;
|
|
66
64
|
the loop does not stop at it. Report an
|
|
67
|
-
assignment that gives
|
|
68
|
-
runs.
|
|
65
|
+
assignment that gives review scoring to the session agent, or generation to
|
|
66
|
+
the reviewer, before either runs.
|
|
69
67
|
|
|
70
68
|
## Iteration kind
|
|
71
69
|
|
|
@@ -117,7 +115,7 @@ With `runScope` absent, every screen is in scope and nothing here applies.
|
|
|
117
115
|
Run these for iteration `NN`: the next index after the iterations already
|
|
118
116
|
under `.qfai/prototype/`, or `00` when there are none.
|
|
119
117
|
|
|
120
|
-
1. **Generator** (
|
|
118
|
+
1. **Generator** (the session agent). Reads the contracts,
|
|
121
119
|
`.qfai/prototype/grilling.md`, the generator prompt, the `DESIGN.md` tokens
|
|
122
120
|
and, from the run's second iteration on, this run's latest reviews and the
|
|
123
121
|
user's last answer. In a scoped run it also reads `runScope` in `progress.md` and
|
|
@@ -125,7 +123,7 @@ under `.qfai/prototype/`, or `00` when there are none.
|
|
|
125
123
|
primary UI contract preflight resolved: the one the request names, else
|
|
126
124
|
`prototyping.primaryUiContract`. Writes
|
|
127
125
|
`.qfai/prototype/iter-NN/index.html`.
|
|
128
|
-
2. **Build** (
|
|
126
|
+
2. **Build** (the session agent). Serves `.qfai/prototype/` at the URL
|
|
129
127
|
preflight checked, starting the server on the first iteration and keeping it
|
|
130
128
|
running for the loop, and hands `<url>/iter-NN/` to the reviewer.
|
|
131
129
|
3. **Reviewer** (product-surface-reviewer). Opens that URL, operates
|
|
@@ -134,7 +132,7 @@ under `.qfai/prototype/`, or `00` when there are none.
|
|
|
134
132
|
prompt: the four ordinal UX axes, a critique of at most 500 words,
|
|
135
133
|
`blockingFindings`, `layoutAntiPatternsDetected[]`,
|
|
136
134
|
`designMdViolations[]` and `pivotDirective`.
|
|
137
|
-
4. **
|
|
135
|
+
4. **Session agent.** Writes each payload to
|
|
138
136
|
`iter-NN/<ui-contract-id>/<screen>.review.json` and the summary to
|
|
139
137
|
`iter-NN/review.json`. Each payload is checked against the closed schema
|
|
140
138
|
before it is written, and one that does not conform is asked for again. A
|
|
@@ -3,8 +3,6 @@ name: prototyping-preflight
|
|
|
3
3
|
owner: qfai-prototyping
|
|
4
4
|
purpose: "Confirm the UI contracts, the root DESIGN.md and the Playwright environment the loop needs."
|
|
5
5
|
requires: [common-design-md]
|
|
6
|
-
roles: [orchestrator, devops-ci-engineer, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# prototyping-preflight
|
|
@@ -3,8 +3,6 @@ name: sdd-contract
|
|
|
3
3
|
owner: qfai-sdd
|
|
4
4
|
purpose: "Write the contracts and business rules the flow's examples need, or repair one named contract."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [solution-architect, test-design-analyst, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# sdd-contract
|
|
@@ -107,8 +105,8 @@ the run.
|
|
|
107
105
|
|
|
108
106
|
## Gate
|
|
109
107
|
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
The connected BF → US → AC → EX ← BR design and its contract realization hold
|
|
109
|
+
before `sdd-gate` runs; the specification review checks both.
|
|
112
110
|
|
|
113
111
|
## Passes when
|
|
114
112
|
|
|
@@ -3,8 +3,6 @@ name: sdd-cycle
|
|
|
3
3
|
owner: qfai-sdd
|
|
4
4
|
purpose: "Check the business rules against the examples they generalize, and apply what at most two cycles adopt."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [test-design-analyst, requirements-analyst, solution-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# sdd-cycle
|
|
@@ -19,7 +17,7 @@ rules against their examples. Follow
|
|
|
19
17
|
the Examples cell of a BR. No cycle runs when it changed none, even if an AC
|
|
20
18
|
or EX changed, or in an append stage.
|
|
21
19
|
- **Finder.** A sub-agent that wrote none of those BRs reads them, the EXs they
|
|
22
|
-
cite and the EXs this invocation wrote or changed. The
|
|
20
|
+
cite and the EXs this invocation wrote or changed. The session agent starts
|
|
23
21
|
it, never a stage worker. It raises findings of five kinds: a case the rule
|
|
24
22
|
implies that no example states, a redundant example, an example no rule
|
|
25
23
|
explains, a rule its examples do not support, and a flow, story or criterion
|
|
@@ -3,8 +3,6 @@ name: sdd-flow
|
|
|
3
3
|
owner: qfai-sdd
|
|
4
4
|
purpose: "Write the policy and technology facts and the business flows the triage decided to change."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [requirements-analyst, solution-architect, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# sdd-flow
|
|
@@ -3,8 +3,6 @@ name: sdd-story
|
|
|
3
3
|
owner: qfai-sdd
|
|
4
4
|
purpose: "Write the stories, acceptance criteria and examples of each affected flow."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [requirements-analyst, test-design-analyst, qa-strategist, product-experience-architect]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# sdd-story
|
|
@@ -3,8 +3,6 @@ name: sdd-triage
|
|
|
3
3
|
owner: qfai-sdd
|
|
4
4
|
purpose: "Select the requirement source, classify each requirement against the story tree, and record the decisions, questions and approvals the later writes depend on."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [delivery-planner, requirements-analyst]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# sdd-triage
|
|
@@ -14,7 +12,7 @@ changes, and record that decision before anything depends on it.
|
|
|
14
12
|
|
|
15
13
|
## Reads
|
|
16
14
|
|
|
17
|
-
- The applicable `.qfai/assistant/rule/` files
|
|
15
|
+
- The applicable `.qfai/assistant/rule/` files.
|
|
18
16
|
- `.qfai/assistant/skill/qfai-sdd/references/sdd-triage.md`: the operation set,
|
|
19
17
|
the approval boundary and the decision-row format.
|
|
20
18
|
- `.qfai/assistant/skill/qfai-sdd/references/requirements-decomposition.md` and
|
|
@@ -114,9 +112,9 @@ before the dependent write and report pending approvals.
|
|
|
114
112
|
|
|
115
113
|
UI-bearing is a property of the affected flow, not of the files this run
|
|
116
114
|
happened to edit. Resolve it from the source's surface classification and the UI
|
|
117
|
-
contracts linked to that flow, and record it for each affected flow
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
contracts linked to that flow, and record it for each affected flow; the
|
|
116
|
+
session agent designs the screens of a UI-bearing flow itself.
|
|
117
|
+
`product-surface-reviewer` joins a review in a route
|
|
120
118
|
only for a screen change, as `common-review-cycle`'s reviewer set says;
|
|
121
119
|
`qfai-sdd` invoked by name keeps the reviewers its own `## Review` section names.
|
|
122
120
|
|
|
@@ -224,7 +222,7 @@ Parallel branches pick the same next ID unless each reads the others first:
|
|
|
224
222
|
|
|
225
223
|
Before this step's first mutation, run the checkpoint for `Triage and records`
|
|
226
224
|
in `.qfai/assistant/skill/qfai-sdd/references/sdd-pre-draft-grilling.md`. The
|
|
227
|
-
|
|
225
|
+
session agent starts the griller, never a stage worker. Put each critical
|
|
228
226
|
decision it holds to the user, and list each decision it adopted in the final
|
|
229
227
|
report. Each later design-writing step runs its own checkpoint the
|
|
230
228
|
same way.
|
|
@@ -237,8 +235,8 @@ sets out. Every later step of the stage writes under that rule.
|
|
|
237
235
|
|
|
238
236
|
## Gate
|
|
239
237
|
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
The affected-flow scope and approval state are recorded before any drafting
|
|
239
|
+
step starts. Every requirement has a target, an approved or
|
|
242
240
|
approval-free operation and a recorded impact path, as
|
|
243
241
|
`.qfai/assistant/skill/qfai-sdd/references/sdd-triage.md#completion-of-triage`
|
|
244
242
|
states.
|
|
@@ -3,8 +3,6 @@ name: triage-answer
|
|
|
3
3
|
owner: qfai-triage
|
|
4
4
|
purpose: "Answer the request's question, citing the documents, code or diagnosis evidence that shows the answer, without changing any tracked file."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [discovery-analyst]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# triage-answer
|
|
@@ -3,8 +3,6 @@ name: triage-cluster
|
|
|
3
3
|
owner: qfai-triage
|
|
4
4
|
purpose: "Group automated reports by the signature of their failure, and separate the groups caused by an environment from those caused by the product."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [devops-ci-engineer, frontend-engineer, backend-engineer]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# triage-cluster
|
|
@@ -3,8 +3,6 @@ name: triage-decompose
|
|
|
3
3
|
owner: qfai-triage
|
|
4
4
|
purpose: "Split a request into child requests, each with its goal and the children it depends on, for triage-close to record as follow-ups."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [requirements-analyst, delivery-planner]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# triage-decompose
|
|
@@ -3,8 +3,6 @@ name: triage-dedupe
|
|
|
3
3
|
owner: qfai-triage
|
|
4
4
|
purpose: "Find the item a request repeats or the one that replaced it, check that the request's premise still holds, and link the two."
|
|
5
5
|
requires: []
|
|
6
|
-
roles: [discovery-analyst]
|
|
7
|
-
routing-profile: default
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# triage-dedupe
|