@pilotspace/add 1.17.0 → 2.1.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/CHANGELOG.md +193 -0
- package/GETTING-STARTED.md +20 -64
- package/README.md +138 -158
- package/agents/add-advisor.md +66 -21
- package/agents/add-worker.md +102 -0
- package/bin/cli.js +88 -21
- package/package.json +2 -3
- package/personas-teacher/VENDOR.md +6 -0
- package/skill/add/SKILL.md +100 -144
- package/skill/add/adopt.md +28 -0
- package/skill/add/beyond.md +37 -0
- package/skill/add/deltas.md +25 -2
- package/skill/add/design.md +56 -74
- package/skill/add/{report-template.md → gate-udd.md} +28 -38
- package/skill/add/intake.md +56 -25
- package/skill/add/loop.md +32 -19
- package/skill/add/persona-author/SKILL.md +116 -0
- package/skill/add/persona-author/assets/example-design-persona.md +55 -0
- package/skill/add/persona-author/assets/example-persona.md +57 -0
- package/skill/add/persona-author/references/contract.md +69 -0
- package/skill/add/persona-author/references/patterns.md +122 -0
- package/skill/add/persona-author/references/seeding.md +79 -0
- package/skill/add/phases/build.md +79 -0
- package/skill/add/phases/direction.md +287 -0
- package/skill/add/phases/verify.md +161 -0
- package/skill/add/run.md +16 -18
- package/skill/add/terms.md +18 -0
- package/tooling/add.py +2421 -3258
- package/tooling/add_engine/autonomy.py +2 -37
- package/tooling/add_engine/components.py +4 -87
- package/tooling/add_engine/constants.py +148 -93
- package/tooling/add_engine/guidelines.py +10 -11
- package/tooling/add_engine/io_state.py +72 -5
- package/tooling/add_engine/predicates.py +90 -2
- package/tooling/add_engine/search.py +6 -6
- package/tooling/add_engine/taskdoc.py +15 -10
- package/tooling/templates/CONVENTIONS.md.tmpl +1 -1
- package/tooling/templates/GLOSSARY.md.tmpl +10 -4
- package/tooling/templates/MILESTONE.md.tmpl +20 -16
- package/tooling/templates/PLAN.md.tmpl +129 -0
- package/tooling/templates/PROJECT.md.tmpl +6 -1
- package/tooling/templates/PROMPT.persona.md.tmpl +17 -21
- package/tooling/templates/personas/build-engineer.md.tmpl +45 -0
- package/tooling/templates/personas/data-steward.md.tmpl +45 -0
- package/tooling/templates/personas/evidence-verifier.md.tmpl +45 -0
- package/tooling/templates/personas/platform-engineer.md.tmpl +45 -0
- package/tooling/templates/personas/product-lead.md.tmpl +51 -0
- package/tooling/templates/personas/quality-auditor.md.tmpl +47 -0
- package/tooling/templates/personas/release-manager.md.tmpl +52 -0
- package/tooling/templates/personas/security-gatekeeper.md.tmpl +45 -0
- package/tooling/templates/personas/software-architect.md.tmpl +45 -0
- package/tooling/templates/personas/stream-orchestrator.md.tmpl +44 -0
- package/tooling/templates/personas/technical-writer.md.tmpl +49 -0
- package/tooling/templates/personas/ux-experience-lead.md.tmpl +48 -0
- package/tooling/templates/specs/SPEC.md.tmpl +18 -0
- package/tooling/templates/udd-wireframe.md +1 -1
- package/agents/add-build.md +0 -29
- package/agents/add-design.md +0 -32
- package/agents/add-persona.md +0 -33
- package/agents/add-verify.md +0 -36
- package/docs/00-introduction.md +0 -46
- package/docs/01-principles.md +0 -71
- package/docs/02-the-flow.md +0 -113
- package/docs/03-step-1-specify.md +0 -123
- package/docs/04-step-2-scenarios.md +0 -90
- package/docs/05-step-3-contract.md +0 -80
- package/docs/06-step-4-tests.md +0 -85
- package/docs/07-step-5-build.md +0 -82
- package/docs/08-step-6-verify.md +0 -105
- package/docs/09-the-loop.md +0 -75
- package/docs/10-setup-and-stages.md +0 -118
- package/docs/11-governance.md +0 -91
- package/docs/12-roles.md +0 -99
- package/docs/13-adoption.md +0 -67
- package/docs/14-foundation.md +0 -142
- package/docs/15-foundations-and-lineage.md +0 -106
- package/docs/16-releasing.md +0 -182
- package/docs/17-components.md +0 -143
- package/docs/18-personas.md +0 -80
- package/docs/README.md +0 -77
- package/docs/add-competencies.png +0 -0
- package/docs/add-flow.png +0 -0
- package/docs/add-foundation.png +0 -0
- package/docs/add-hierarchy.png +0 -0
- package/docs/add-milestone-task-lifecycle.png +0 -0
- package/docs/add-task-growth-wheel.png +0 -0
- package/docs/appendix-a-templates.md +0 -88
- package/docs/appendix-b-prompts.md +0 -154
- package/docs/appendix-c-glossary.md +0 -176
- package/docs/appendix-d-worked-example.md +0 -231
- package/docs/appendix-e-checklists.md +0 -92
- package/docs/appendix-f-requirements-matrix.md +0 -171
- package/docs/appendix-g-references.md +0 -106
- package/skill/add/advisor.md +0 -81
- package/skill/add/compact-foundation.md +0 -40
- package/skill/add/components.md +0 -52
- package/skill/add/confidence.md +0 -32
- package/skill/add/fold.md +0 -63
- package/skill/add/graduate.md +0 -39
- package/skill/add/phases/0-ground.md +0 -64
- package/skill/add/phases/0-setup.md +0 -103
- package/skill/add/phases/1-specify.md +0 -61
- package/skill/add/phases/2-scenarios.md +0 -48
- package/skill/add/phases/3-contract.md +0 -60
- package/skill/add/phases/4-tests.md +0 -61
- package/skill/add/phases/5-build.md +0 -62
- package/skill/add/phases/6-verify.md +0 -69
- package/skill/add/phases/7-observe.md +0 -45
- package/skill/add/phases/fast-lane.md +0 -34
- package/skill/add/release.md +0 -61
- package/skill/add/scope.md +0 -72
- package/skill/add/self-improve.md +0 -20
- package/skill/add/sensitivity.md +0 -51
- package/skill/add/setup-review.md +0 -48
- package/skill/add/soul.md +0 -58
- package/skill/add/streams.md +0 -269
- package/tooling/add_engine/release.py +0 -86
- package/tooling/templates/TASK.fast.md.tmpl +0 -78
- package/tooling/templates/TASK.md.tmpl +0 -181
- package/tooling/templates/personas/_template.md.tmpl +0 -82
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: <persona name — e.g. Frontend Engineer, UX Researcher>
|
|
3
|
-
vibe: <one-line essence — what this persona keeps true>
|
|
4
|
-
flow: <RECOMMENDED — which of the three apply-surfaces this persona is loaded at (see
|
|
5
|
-
docs/18-personas.md "Apply — three surfaces"): design (the UDD requirements lens) | build
|
|
6
|
-
(the domain-identity overlay on SOUL.md) | advisor (subagent/streams delegation, incl. the
|
|
7
|
-
verify refute-read) — comma-separate if more than one, e.g. `build, advisor`>
|
|
8
|
-
source: <OPTIONAL — the teacher file(s) this was distilled from, e.g. `.add/personas-teacher/engineering/engineering-software-architect.md` (provenance; omit if hand-authored)>
|
|
9
|
-
---
|
|
10
|
-
<!-- A PERSONA is a project-fit requirements persona, distilled from the vendored teacher
|
|
11
|
-
library (`.add/personas-teacher/`) to the parts ADD can act on. The AI authors one file
|
|
12
|
-
per persona this project needs (frontend, backend, reviewer, …) from PROJECT.md +
|
|
13
|
-
the teacher; the engine only seeds + validates this schema (presence-based). This
|
|
14
|
-
`_template.md` is the schema reference — copy it to `<slug>.md` and fill it.
|
|
15
|
-
|
|
16
|
-
REQUIRED (engine-checked): `name` + `vibe` frontmatter and the Identity / Critical Rules /
|
|
17
|
-
Default Requirement / Success Metrics sections.
|
|
18
|
-
RECOMMENDED (not engine-checked, but expected on every persona for consistency): `flow:`
|
|
19
|
-
frontmatter and the `## Abilities` section — a persona with no stated flow or abilities is
|
|
20
|
-
hard for the design/build/advisor surfaces to actually pick up and use.
|
|
21
|
-
OPTIONAL (recommended for a faithful distillation): `source:` frontmatter, and the
|
|
22
|
-
`## Anti-patterns` + `## Playbook` sections. The engine never requires the optional
|
|
23
|
-
parts; absence is conformant.
|
|
24
|
-
|
|
25
|
-
DISTILLATION DISCIPLINE (how to fill this faithfully — learned from the teacher corpus):
|
|
26
|
-
1. SCOPE = stance, not voice. A persona is a domain STANCE (what to enforce, what to
|
|
27
|
-
suspect, what "good" measures). TONE/voice belongs to SOUL.md — never duplicate it here.
|
|
28
|
-
2. KEEP the teacher's own rules. Carry 1–2 of the teacher's signature Critical Rules
|
|
29
|
-
VERBATIM-in-spirit before adding project-specific ones — distil, don't replace.
|
|
30
|
-
3. TAG provenance honestly. In `## Playbook`, mark each item teacher-derived vs
|
|
31
|
-
ADD-native. Never credit home-grown project scaffolding to the teacher.
|
|
32
|
-
4. METRICS are rules, not snapshots. Prefer an invariant ("suite matches the last
|
|
33
|
-
green run") over a volatile literal ("2491/0") that rots as the project grows.
|
|
34
|
-
5. NAME the flow. State which apply-surface(s) actually load this persona — a persona
|
|
35
|
-
that fits none of design/build/advisor is dead weight nobody will ever pick up.
|
|
36
|
-
6. ABILITIES are checkable skills, not aspirations. Anchor each to a real file, tool, or
|
|
37
|
-
command this project already has — the same anchoring discipline as Critical Rules
|
|
38
|
-
and Success Metrics, applied to "what this persona can concretely do." -->
|
|
39
|
-
|
|
40
|
-
## Identity
|
|
41
|
-
<who this persona is — role, domain depth, and the EARNED perspective it brings (what it has
|
|
42
|
-
seen succeed/fail that shapes its judgement). One short paragraph.>
|
|
43
|
-
|
|
44
|
-
## Abilities
|
|
45
|
-
<concrete, checkable things this persona can actually DO — a capability list, distinct from
|
|
46
|
-
Critical Rules (always-enforced constraints) and Playbook (optional step-by-step scaffolding).
|
|
47
|
-
State each as something the agent can perform right now, anchored to a real file/tool/command
|
|
48
|
-
where possible — not an aspiration.>
|
|
49
|
-
- <ORIENT first (convention): lead with the 1–3 commands the agent RUNS on load before acting —
|
|
50
|
-
e.g. `add.py status` · the domain's suite · the diff to judge — acting beats re-deriving>
|
|
51
|
-
- <a concrete capability — e.g. "can diff two response fixtures byte-for-byte to prove passthrough">
|
|
52
|
-
- <another concrete capability>
|
|
53
|
-
|
|
54
|
-
## Critical Rules
|
|
55
|
-
<non-negotiables this persona ALWAYS enforces. Lead with 1–2 carried from the teacher (its
|
|
56
|
-
signature stance), then add project-specific ones.>
|
|
57
|
-
- <a teacher-sourced rule (the persona's signature non-negotiable)>
|
|
58
|
-
- <a project-specific rule this project needs>
|
|
59
|
-
|
|
60
|
-
<!-- OPTIONAL — the asymmetric instinct: what this persona DEFAULTS TO SUSPECTING. Distinct
|
|
61
|
-
from Critical Rules (always-do) — these are "treat X as guilty until proven innocent". -->
|
|
62
|
-
## Anti-patterns
|
|
63
|
-
- <a smell this persona refuses to wave through, with its default reaction — e.g.
|
|
64
|
-
"'0 issues found' on a first pass → look harder", "an abstraction with no second caller → cut it">
|
|
65
|
-
- <another anti-pattern + the default response>
|
|
66
|
-
|
|
67
|
-
## Default Requirement
|
|
68
|
-
<the one requirement this persona includes by default in every deliverable
|
|
69
|
-
(e.g. "WCAG AA accessibility in all designs", "tests-first for every change")>
|
|
70
|
-
|
|
71
|
-
## Success Metrics
|
|
72
|
-
<MEASURABLE outcomes that prove this persona's work is right. State each as an INVARIANT
|
|
73
|
-
(a rule that stays true as the project grows), not a today-snapshot that will rot.>
|
|
74
|
-
- <a measurable outcome — e.g. "4.5:1 contrast", "p95 < 100ms", "full suite green vs last logged run">
|
|
75
|
-
- <another measurable metric>
|
|
76
|
-
|
|
77
|
-
<!-- OPTIONAL — delete if the persona needs no executable scaffolding. -->
|
|
78
|
-
## Playbook
|
|
79
|
-
<the highest-value EXECUTABLE know-how — a checklist, a template, or a step sequence the
|
|
80
|
-
build can actually follow (e.g. an ADR skeleton, a STRIDE pass, a red→green loop). Tag each
|
|
81
|
-
item `(teacher)` or `(ADD)` so provenance is honest. Keep it to what gets used at the work
|
|
82
|
-
moment; link the full teacher file for depth: see the `source:` path above.>
|