@open-agent-toolkit/cli 0.3.28 → 0.3.29

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.
Files changed (34) hide show
  1. package/README.md +2 -0
  2. package/assets/bundle-metadata.json +1 -1
  3. package/assets/docs/docs-tooling/add-docs-to-a-repo.md +2 -0
  4. package/assets/docs/docs-tooling/commands.md +47 -2
  5. package/assets/public-package-versions.json +4 -4
  6. package/assets/skills/authoring-docs/SKILL.md +2 -2
  7. package/assets/skills/authoring-docs/references/information-architecture.md +5 -2
  8. package/assets/skills/authoring-docs/references/page-templates/alert-runbook.md +63 -0
  9. package/assets/skills/authoring-docs/references/page-templates/command-reference.md +55 -0
  10. package/assets/skills/authoring-docs/references/page-templates/decisions-pointer.md +44 -0
  11. package/assets/skills/authoring-docs/references/page-templates/engineering-feature.md +53 -0
  12. package/assets/skills/authoring-docs/references/page-templates/per-area-agents.md +42 -0
  13. package/assets/skills/authoring-docs/references/page-templates/product-feature.md +49 -0
  14. package/assets/skills/authoring-docs/references/page-templates/qa-validation.md +59 -0
  15. package/assets/skills/authoring-docs/references/page-templates/screen-spec.md +51 -0
  16. package/assets/skills/authoring-docs/references/page-templates/skill-command-guide.md +44 -0
  17. package/assets/skills/authoring-docs/references/page-templates/solution-record.md +43 -0
  18. package/assets/skills/authoring-docs/references/templates.md +22 -2
  19. package/assets/skills/oat-docs-bootstrap/SKILL.md +11 -5
  20. package/dist/commands/docs/init/content.d.ts +23 -0
  21. package/dist/commands/docs/init/content.d.ts.map +1 -0
  22. package/dist/commands/docs/init/content.js +361 -0
  23. package/dist/commands/docs/init/index.d.ts.map +1 -1
  24. package/dist/commands/docs/init/index.js +32 -1
  25. package/dist/commands/docs/init/markdown.d.ts.map +1 -1
  26. package/dist/commands/docs/init/markdown.js +21 -2
  27. package/dist/commands/docs/init/resolve-options.d.ts +4 -1
  28. package/dist/commands/docs/init/resolve-options.d.ts.map +1 -1
  29. package/dist/commands/docs/init/resolve-options.js +4 -0
  30. package/dist/commands/docs/init/scaffold.d.ts.map +1 -1
  31. package/dist/commands/docs/init/scaffold.js +20 -1
  32. package/dist/release/public-package-contract.d.ts.map +1 -1
  33. package/dist/release/public-package-contract.js +10 -0
  34. package/package.json +3 -3
package/README.md CHANGED
@@ -45,6 +45,8 @@ Additional useful entry points:
45
45
 
46
46
  `oat docs init --framework fumadocs --app-name my-docs` creates a docs app with app-root `AGENTS.md`, a reader-first Getting Started stub and contributor/toolchain guides. The CLI owns these templates for both Fumadocs and legacy MkDocs; the bootstrap skill guides inspection and setup. Existing files and plain Markdown adoption are preserved.
47
47
 
48
+ For an approved fresh reader model, pass `--ia-preset <preset> --planned-pages <count>` together. The six presets materialize reader tracks at 15 or more anticipated pages, or grouped flat headings below 15; `flat-small` always stays flat. Canonical page templates go under excluded `contributing/templates/`, with a track table in framework app-root AGENTS or Markdown contributing guidance. Existing surfaces route to analyze/apply. See [preset selection and template subsets](../../apps/oat-docs/docs/docs-tooling/commands.md#approved-preset-readers). Direct init without both inputs retains its starter; selection does not create an IA decision.
49
+
48
50
  Fumadocs static exports include `llms.txt`, `llms-full.txt` and `llms/<page-slugs>/content.md` (root `llms/content.md`) for loaded `.md` readers. These retain authored Markdown and source-relative-link guidance; configured non-readers and MDX are excluded. Use authored Contents maps and `oat docs nav sync`, followed by `--check`, for navigation changes.
49
51
 
50
52
  `oat docs check [--target-dir <dir>] [--rule <id>...] [--json]` performs read-only reader, navigation, contributor-command and Mermaid/SVG checks without a site build. Errors exit 1; warnings exit 0. Configure validated severities, numeric thresholds and reason-bearing exceptions under `documentation.check`. Mermaid syntax parsing lazily uses a real DOM with strict sanitization and no script/resource execution; Node 22.17 remains the minimum. See [checker rules and configuration](../../apps/oat-docs/docs/docs-tooling/check.md).
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "oatVersion": "0.3.28"
3
+ "oatVersion": "0.3.29"
4
4
  }
@@ -63,6 +63,8 @@ Choose Markdown files or a framework app, using the guided skill or direct CLI.
63
63
 
64
64
  The docs-bootstrap skill offers Markdown, Fumadocs, and MkDocs. Configured tooling is authoritative; framework evidence is checked before plain-directory evidence. A root README alone does not trigger adoption, and an empty selected target stays fresh setup. Markdown uses file checks and an adopt/audit handoff, with no app questions, dependencies, framework patches, docs-root AGENTS, or site build.
65
65
 
66
+ For fresh empty targets, the skill obtains explicit IA approval with an anticipated reader-page count, probes `--ia-preset` and `--planned-pages`, then passes both to CLI init. The CLI materializes the selected model at 15 or more pages and collapses it into grouped root headings below 15 (always flat for `flat-small`). It also supplies relevant non-reader page templates. Existing surfaces use analyze and individually approved apply; adoption receives no preset flags. See [preset mappings and template subsets](commands.md#approved-preset-readers). Selection guidance does not replace the existing IA decision/adoption flow.
67
+
66
68
  For framework apps, it wraps `oat docs init` with a seven-step guided flow: preflight detection (repo shape + existing-setup conflict surfacing), richer input gathering (including a site name distinct from the package name), the CLI invocation itself, CLI-owned scaffold inspection, install + build verification, post-scaffold config inspection, and a chunked educational walkthrough.
67
69
 
68
70
  What the framework path adds over the raw CLI:
@@ -60,9 +60,53 @@ Key behavior:
60
60
  - for framework apps, when the repo root exposes a compatible Turbo `scripts.build`, patches it to exclude the new docs app from the default root build and adds a root-level `build:docs` script
61
61
  - prints a unified diff before writing the root `package.json` change and returns a manual snippet when the patch is skipped because the build script is missing, non-Turbo, or ambiguous
62
62
 
63
- Markdown setup:
63
+ ### Approved preset readers
64
+
65
+ Opt into an approved reader model with `--ia-preset <preset> --planned-pages <count>`.
66
+ Both flags are required together; the count is an integer of at least 1 and covers
67
+ anticipated reader pages, excluding contributor/toolchain/template content. No flags
68
+ keeps the existing starter. Preset init requires an empty target and refuses existing
69
+ docs config/ownership; use analyze and individually approved apply for existing trees.
70
+
71
+ | Preset | Reader directories at 15 or more anticipated pages | Templates |
72
+ | ------------------------ | ----------------------------------------------------- | ------------------------------------------- |
73
+ | `product-engineering-qa` | `product/`, `engineering/`, `qa/` | All ten |
74
+ | `consumer-maintainer` | `consumer/`, `maintainer/` | Six support shapes |
75
+ | `domain-engineering` | `engineering/` | Engineering feature plus six support shapes |
76
+ | `task-type` | `tutorials/`, `how-to/`, `reference/`, `explanation/` | Six support shapes |
77
+ | `toolkit-cli` | `tools/`, `workflows/` | Six support shapes |
78
+ | `flat-small` | Always grouped headings in one flat root index | Six support shapes |
79
+
80
+ Below 15 pages, each model uses grouped root headings and flat reader pages while
81
+ retaining its template subset. Track entries have purpose, entry principle and
82
+ useful sections. Engineering is hybrid: domain/implementation contracts alongside
83
+ paired feature pages; Product/QA enter by feature or journey.
84
+
85
+ Templates live under `contributing/templates/`: Product feature, Engineering
86
+ feature, QA validation, conditional Screen spec, Alert runbook, incident Solution
87
+ record, Command reference, Skill or command guide, Decisions pointer and Per-area
88
+ AGENTS. The six support shapes are the last six in that list. Screen pages and
89
+ per-track AGENTS are never automatically instantiated. Bodies come from canonical
90
+ `authoring-docs` assets, with verified-literal rules and separate planned automation,
91
+ implemented assertions and dated execution evidence.
92
+
93
+ The CLI merges `contributing/templates/**` into `documentation.nonReaderPaths`
94
+ before nav generation. These drafts stay out of reader Contents, navigation,
95
+ checker inventory and manifests; `excludes` remains manifest-only. Pinned MkDocs
96
+ 1.4.2 can still render excluded routes and retains `use_directory_urls: false`.
97
+ Framework app-root AGENTS gets the track table; Markdown uses `contributing.md`,
98
+ with no docs-root AGENTS, dependencies, sidebar, build or default manifest.
99
+ Selection guidance is not a persisted IA decision: bootstrap still requires explicit
100
+ approval and the existing adoption/`record-ia` flow, without implicit PJM adoption.
64
101
 
65
- - Creates only authored root `index.md` and `contributing.md` baseline pages,
102
+ ```bash
103
+ oat docs init --framework markdown --ia-preset toolkit-cli --planned-pages 14 --yes
104
+ oat docs init --framework fumadocs --ia-preset product-engineering-qa --planned-pages 30 --yes
105
+ ```
106
+
107
+ ### Default Markdown setup
108
+
109
+ - Without preset inputs, creates only authored root `index.md` and `contributing.md` baseline pages,
66
110
  with metadata, context and real relative `.md` Contents links.
67
111
  - Records literal root/tooling/authored index and managed root guidance; no
68
112
  docs-root AGENTS, app package, dependencies, package/Turbo patch or site build.
@@ -112,6 +156,7 @@ Supported flags:
112
156
  - `--framework <markdown|fumadocs|mkdocs>` (default: `fumadocs` in non-interactive mode)
113
157
  - `--site-name <name>` (site display title or Markdown documentation title)
114
158
  - `--description <text>` (documentation description, optional)
159
+ - `--ia-preset <preset>` and `--planned-pages <count>` (approved fresh selection; pair required, integer count >= 1)
115
160
  - `--lint <none|markdownlint-cli2>`
116
161
  - `--format <oxfmt|none>`
117
162
  - `--adopt` (Markdown only; add missing baseline files, preserve existing bytes)
@@ -1,6 +1,6 @@
1
1
  {
2
- "cli": "0.3.28",
3
- "docs-config": "0.3.28",
4
- "docs-theme": "0.3.28",
5
- "docs-transforms": "0.3.28"
2
+ "cli": "0.3.29",
3
+ "docs-config": "0.3.29",
4
+ "docs-theme": "0.3.29",
5
+ "docs-transforms": "0.3.29"
6
6
  }
@@ -6,7 +6,7 @@ disable-model-invocation: false
6
6
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
7
7
  user-invocable: true
8
8
  metadata:
9
- version: 1.1.0
9
+ version: 1.2.0
10
10
  ---
11
11
 
12
12
  # Authoring Docs
@@ -116,7 +116,7 @@ Load only the references needed for the current task:
116
116
  - `references/categories.md`: API, CLI, app, service, library, framework,
117
117
  monorepo, architecture, operations, and audience-specific guidance.
118
118
  - `references/writing-style.md`: plain technical writing and Markdown rules.
119
- - `references/templates.md`: reusable page and handoff templates.
119
+ - `references/templates.md`: reusable page and handoff templates, linking canonical copyable Markdown under `references/page-templates/`. Fresh approved preset init consumes those same bodies; local templates remain preferred.
120
120
  - `references/review-rubric.md`: readiness checklist and review rubric.
121
121
 
122
122
  ## Examples
@@ -123,8 +123,11 @@ use filename/slug parity for paired features and reciprocal links. A Product
123
123
  feature must link to its QA validation and Engineering counterpart (and back).
124
124
  Quote exact UI literals only when verified against source; distinguish a user
125
125
  concept from literal screen text. Do not fabricate test IDs or independent
126
- verification needs. Feature and QA validation page templates are not included here;
127
- use the page-type guidance and IA Proposal template to plan their content.
126
+ verification needs. Use the [Product feature](page-templates/product-feature.md),
127
+ [Engineering feature](page-templates/engineering-feature.md) and
128
+ [QA validation](page-templates/qa-validation.md) templates alongside the page-type
129
+ guidance and IA Proposal template. A shared screen spec is conditional on several
130
+ journeys using the same screen; do not manufacture one per feature.
128
131
 
129
132
  ## Navigation Principles
130
133
 
@@ -0,0 +1,63 @@
1
+ ---
2
+ title: Alert runbook
3
+ description: Triage, recovery and verification for a specific operational alert.
4
+ ---
5
+
6
+ # Alert runbook
7
+
8
+ ## When to use and entry criteria
9
+
10
+ Name the alert/symptoms and checks that establish this runbook applies.
11
+
12
+ ## Production context
13
+
14
+ Identify environment, affected components, customer impact and access prerequisites.
15
+
16
+ ## Ownership
17
+
18
+ Name the responding role, escalation route and owner-review gaps.
19
+
20
+ ## First-five-minutes triage
21
+
22
+ | Signal | Check | Interpretation | Next action |
23
+ | ------------------ | ----------------- | -------------------------- | ----------------------------- |
24
+ | <observed symptom> | <read-only check> | <supported interpretation> | <numbered step or escalation> |
25
+
26
+ ## Procedure
27
+
28
+ 1. Establish scope with a read-only check.
29
+ **Verify:** state the expected observation and stop/escalate condition.
30
+ 2. Perform the reviewed recovery action.
31
+ **Verify:** state the successful observation and failure response.
32
+
33
+ Warn immediately before any destructive command, state its scope and require the
34
+ reviewed dry run first. Do not invent runnable production commands or dry-run flags.
35
+
36
+ ## Why this approach
37
+
38
+ Explain the evidence and tradeoffs behind the recovery sequence.
39
+
40
+ ## Rollback
41
+
42
+ Describe the inverse action, recovery prerequisites and verification, or state why
43
+ rollback is unavailable and give the escalation route.
44
+
45
+ ## Verification checklist
46
+
47
+ - Confirm service health and the original alert condition.
48
+ - Confirm customer-visible recovery and absence of new side effects.
49
+ - Record dated evidence and unresolved owner-reviewed gaps.
50
+
51
+ ## Writing and evidence rules
52
+
53
+ Use backticks only for literals verified verbatim in source, such as commands,
54
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
55
+ source location for each verified literal; label unknown facts as unknown.
56
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
57
+
58
+ Keep these three evidence classes separate:
59
+
60
+ - Planned automation: intended coverage, with owner and remaining work.
61
+ - Implemented assertions: the test path and the exact assertion it implements.
62
+ - Dated execution evidence: date, environment/configuration, result and evidence
63
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,55 @@
1
+ ---
2
+ title: Command reference
3
+ description: Verified command inputs, outputs and mutation boundaries.
4
+ ---
5
+
6
+ # Command reference
7
+
8
+ Source: <source location for the command registration and handler, or unknown>
9
+
10
+ ## Production impact
11
+
12
+ State affected environments, access and operational risks; say unknown when unknown.
13
+
14
+ ## Command group index
15
+
16
+ | Command | Purpose | Mutates |
17
+ | --------------------- | ------------- | -------------------------- |
18
+ | <verified invocation> | <reader goal> | <yes/no/unknown and scope> |
19
+
20
+ ## Shared flags
21
+
22
+ List verified spelling, defaults, accepted values and applicability.
23
+
24
+ ## Per-command arguments
25
+
26
+ For each command, describe positional arguments, flags, required combinations,
27
+ validation and defaults. State unknown rather than inferring behavior from a name.
28
+
29
+ ## Outputs and JSON
30
+
31
+ Describe human output and the verified --json schema where supported; otherwise
32
+ state unsupported or unknown. Show examples only when verified from source or a run.
33
+
34
+ ## Exit codes
35
+
36
+ List known categorical outcomes and their codes, including partial results.
37
+
38
+ ## Side effects
39
+
40
+ Name file, config, service and remote mutations, overwrite behavior and dry-run
41
+ support. Mark unverified effects unknown and identify the reviewing owner.
42
+
43
+ ## Writing and evidence rules
44
+
45
+ Use backticks only for literals verified verbatim in source, such as commands,
46
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
47
+ source location for each verified literal; label unknown facts as unknown.
48
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
49
+
50
+ Keep these three evidence classes separate:
51
+
52
+ - Planned automation: intended coverage, with owner and remaining work.
53
+ - Implemented assertions: the test path and the exact assertion it implements.
54
+ - Dated execution evidence: date, environment/configuration, result and evidence
55
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,44 @@
1
+ ---
2
+ title: Decisions pointer
3
+ description: A curated guide to consequential decisions, not a ledger or an ADR.
4
+ ---
5
+
6
+ # Decisions pointer
7
+
8
+ ## Where records live
9
+
10
+ Link the repository's authoritative decision store. This page is not a ledger and
11
+ is not an ADR; it routes readers to records without copying their full content.
12
+
13
+ ## How records are created
14
+
15
+ Describe the existing repository process and required review. Do not initialize a
16
+ new decision system or imply adoption because this template was scaffolded.
17
+
18
+ ## Selected decisions
19
+
20
+ Curate 3–8 real records relevant to this audience, each with a one-line consequence.
21
+ Remove the drafting row and do not fabricate records to fill a quota.
22
+
23
+ | Record | Consequence | Staleness flag |
24
+ | ------------------ | ------------------------------------ | --------------------------------- |
25
+ | <real record link> | <current effect on reader decisions> | <current/superseded/needs review> |
26
+
27
+ ## Staleness and review
28
+
29
+ Identify superseded guidance, last verification and owner-review gaps. Keep the
30
+ canonical record authoritative when this pointer becomes stale.
31
+
32
+ ## Writing and evidence rules
33
+
34
+ Use backticks only for literals verified verbatim in source, such as commands,
35
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
36
+ source location for each verified literal; label unknown facts as unknown.
37
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
38
+
39
+ Keep these three evidence classes separate:
40
+
41
+ - Planned automation: intended coverage, with owner and remaining work.
42
+ - Implemented assertions: the test path and the exact assertion it implements.
43
+ - Dated execution evidence: date, environment/configuration, result and evidence
44
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,53 @@
1
+ ---
2
+ title: Engineering feature
3
+ description: Implementation contracts and testing seams for one feature.
4
+ ---
5
+
6
+ # Engineering feature
7
+
8
+ ## Routes and params
9
+
10
+ List verified routes, parameters, defaults and validation boundaries.
11
+
12
+ ## Primary files
13
+
14
+ Link implementation entry points and explain each file's responsibility.
15
+
16
+ ## Data and state
17
+
18
+ Describe ownership, lifecycle, persistence and shared contracts; link domain references.
19
+
20
+ ## Flags
21
+
22
+ List verified flags and rollout/configuration behavior; state unknown when unverified.
23
+
24
+ ## Failure modes and constraints
25
+
26
+ Describe failure propagation, recovery and supported limits with source references.
27
+
28
+ ## Testing seams
29
+
30
+ Identify setup, injection boundaries and observable assertions without claiming coverage.
31
+
32
+ ## Paired documentation
33
+
34
+ Link the Product feature and QA validation pages. Engineering is hybrid: domain and
35
+ implementation contracts coexist with paired feature pages, without duplicating facts.
36
+
37
+ ## Source references
38
+
39
+ Cite source paths and symbols supporting each implementation claim.
40
+
41
+ ## Writing and evidence rules
42
+
43
+ Use backticks only for literals verified verbatim in source, such as commands,
44
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
45
+ source location for each verified literal; label unknown facts as unknown.
46
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
47
+
48
+ Keep these three evidence classes separate:
49
+
50
+ - Planned automation: intended coverage, with owner and remaining work.
51
+ - Implemented assertions: the test path and the exact assertion it implements.
52
+ - Dated execution evidence: date, environment/configuration, result and evidence
53
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Per-area AGENTS
3
+ description: Local authoring instructions excluded from reader navigation.
4
+ ---
5
+
6
+ # Per-area AGENTS
7
+
8
+ ## Audience
9
+
10
+ Name the reader and agent work contexts this area serves.
11
+
12
+ ## Voice
13
+
14
+ Describe the area's vocabulary, level of detail and evidence expectations.
15
+
16
+ ## Belongs here versus elsewhere
17
+
18
+ State the entry principle, canonical facts owned here and routes to adjacent areas.
19
+
20
+ ## Cross-area triggers
21
+
22
+ Name changes requiring paired Product/Engineering/QA pages or shared-contract review.
23
+
24
+ ## Verification
25
+
26
+ List the actual checks and review process for this area. Keep this instruction file
27
+ out of reader Contents and navigation. This copyable template does not automatically
28
+ create per-track AGENTS files; reconcile ancestor instructions before adopting it.
29
+
30
+ ## Writing and evidence rules
31
+
32
+ Use backticks only for literals verified verbatim in source, such as commands,
33
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
34
+ source location for each verified literal; label unknown facts as unknown.
35
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
36
+
37
+ Keep these three evidence classes separate:
38
+
39
+ - Planned automation: intended coverage, with owner and remaining work.
40
+ - Implemented assertions: the test path and the exact assertion it implements.
41
+ - Dated execution evidence: date, environment/configuration, result and evidence
42
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: Product feature
3
+ description: Intended behavior and reader-visible boundaries for one feature or journey.
4
+ ---
5
+
6
+ # Product feature
7
+
8
+ ## Availability and entry points
9
+
10
+ Describe who can use the feature, prerequisites and supported entry points.
11
+ Identify unavailable contexts without guessing rollout status.
12
+
13
+ ## Expected journey
14
+
15
+ Describe the reader's goal, starting state, numbered actions and observable result.
16
+
17
+ ## Behavior rules
18
+
19
+ State the rules and permissions that determine the result; link canonical shared rules.
20
+
21
+ ## States and edge cases
22
+
23
+ Cover loading, empty, success, denied and failed states that source supports.
24
+
25
+ ## External boundary
26
+
27
+ Name external systems and where this feature stops owning behavior.
28
+
29
+ ## Paired documentation
30
+
31
+ Link the Engineering feature and QA validation pages using matching feature names.
32
+
33
+ ## Evidence and owner-review gaps
34
+
35
+ Cite implementation/product evidence and name unconfirmed behavior and its reviewer.
36
+
37
+ ## Writing and evidence rules
38
+
39
+ Use backticks only for literals verified verbatim in source, such as commands,
40
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
41
+ source location for each verified literal; label unknown facts as unknown.
42
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
43
+
44
+ Keep these three evidence classes separate:
45
+
46
+ - Planned automation: intended coverage, with owner and remaining work.
47
+ - Implemented assertions: the test path and the exact assertion it implements.
48
+ - Dated execution evidence: date, environment/configuration, result and evidence
49
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,59 @@
1
+ ---
2
+ title: QA validation
3
+ description: Reproducible behavioral validation for one feature or journey.
4
+ ---
5
+
6
+ # QA validation
7
+
8
+ ## Scope
9
+
10
+ Name the behavior, supported platforms and paired Product and Engineering pages.
11
+
12
+ ## Named seeds
13
+
14
+ Name each reproducible account/data seed, setup procedure and preconditions. Do not
15
+ include credentials or real personal data; document safe provisioning instead.
16
+
17
+ ## Configuration matrix
18
+
19
+ List relevant versions, flags, permissions, data states and platform combinations.
20
+
21
+ ## Scenarios
22
+
23
+ | ID | Priority | Given | When | Then (exact copy) | Evidence | Automation |
24
+ | ----------- | ---------- | ---------------------- | -------- | --------------------------------------- | ------------------------------ | --------------------------------------- |
25
+ | <stable ID> | <priority> | <named seed and state> | <action> | <verified observable result or unknown> | <dated result link or not run> | <planned or implemented test reference> |
26
+
27
+ ## Ready signal
28
+
29
+ State the observable signal that setup and asynchronous work are ready before acting.
30
+
31
+ ## Cleanup
32
+
33
+ Give reset/removal steps and verify that seeds and side effects are cleaned up.
34
+
35
+ ## Platform deltas
36
+
37
+ Document supported differences, including locators and expected results.
38
+
39
+ ## External boundary
40
+
41
+ Name external behavior that requires another owner or test environment.
42
+
43
+ ## Out of scope
44
+
45
+ Explain excluded behaviors and who verifies them. Keep owner-review gaps visible.
46
+
47
+ ## Writing and evidence rules
48
+
49
+ Use backticks only for literals verified verbatim in source, such as commands,
50
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
51
+ source location for each verified literal; label unknown facts as unknown.
52
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
53
+
54
+ Keep these three evidence classes separate:
55
+
56
+ - Planned automation: intended coverage, with owner and remaining work.
57
+ - Implemented assertions: the test path and the exact assertion it implements.
58
+ - Dated execution evidence: date, environment/configuration, result and evidence
59
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,51 @@
1
+ ---
2
+ title: Screen spec
3
+ description: Shared visible-state contract only for screens serving several journeys.
4
+ ---
5
+
6
+ # Screen spec
7
+
8
+ ## When to use
9
+
10
+ Create this page only when one screen serves several journeys. Otherwise keep the
11
+ state contract in its feature pages and avoid a second canonical description.
12
+
13
+ ## Route and params
14
+
15
+ List verified route identity, parameters, validation and defaults.
16
+
17
+ ## Entry points
18
+
19
+ Name the journeys and deep links reaching this screen and their preconditions.
20
+
21
+ ## Visible states
22
+
23
+ Describe loading, empty, content, permission and error states supported by source.
24
+
25
+ ## Locators
26
+
27
+ | Element | Test ID | A11y label | Literal text | Source path |
28
+ | ----------------- | ------------------------ | --------------------------- | -------------------------- | ----------------- |
29
+ | <element concept> | <verified ID or unknown> | <verified label or unknown> | <verified text or unknown> | <source location> |
30
+
31
+ ## Transitions
32
+
33
+ Describe actions, state changes and visible results; link journey-specific behavior.
34
+
35
+ ## Back behavior
36
+
37
+ Explain back, dismissal, restoration and cancellation for each supported entry path.
38
+
39
+ ## Writing and evidence rules
40
+
41
+ Use backticks only for literals verified verbatim in source, such as commands,
42
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
43
+ source location for each verified literal; label unknown facts as unknown.
44
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
45
+
46
+ Keep these three evidence classes separate:
47
+
48
+ - Planned automation: intended coverage, with owner and remaining work.
49
+ - Implemented assertions: the test path and the exact assertion it implements.
50
+ - Dated execution evidence: date, environment/configuration, result and evidence
51
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,44 @@
1
+ ---
2
+ title: Skill or command guide
3
+ description: A reader task guide for invoking one skill or command.
4
+ ---
5
+
6
+ # Skill or command guide
7
+
8
+ ## Invocation
9
+
10
+ Give the verified invocation and how to provide the required inputs.
11
+
12
+ ## Prerequisites
13
+
14
+ Describe setup, access, repository state and authority needed for this invocation.
15
+
16
+ ## Example scenario
17
+
18
+ Explain one concrete input, goal and expected result without invented product facts.
19
+
20
+ ## What it does without asking
21
+
22
+ State automatic actions, mutation scope, approval boundaries and stop conditions.
23
+
24
+ ## Expected output
25
+
26
+ Describe resulting files, messages or state and how to verify success or partial work.
27
+
28
+ ## Next step
29
+
30
+ Name the next reader action, review or recovery route and link canonical guidance.
31
+
32
+ ## Writing and evidence rules
33
+
34
+ Use backticks only for literals verified verbatim in source, such as commands,
35
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
36
+ source location for each verified literal; label unknown facts as unknown.
37
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
38
+
39
+ Keep these three evidence classes separate:
40
+
41
+ - Planned automation: intended coverage, with owner and remaining work.
42
+ - Implemented assertions: the test path and the exact assertion it implements.
43
+ - Dated execution evidence: date, environment/configuration, result and evidence
44
+ location. Implemented assertions alone do not prove a successful execution.
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Solution record
3
+ description: An incident diagnosis and fix, distinct from a capability solution guide.
4
+ symptoms: []
5
+ root_cause: unknown
6
+ component: unknown
7
+ severity: unknown
8
+ date: null
9
+ ---
10
+
11
+ # Solution record
12
+
13
+ ## Problem
14
+
15
+ Describe impact, reproduction and observed symptoms. Keep the frontmatter symptoms
16
+ verbatim from observed errors; do not invent an incident, date or severity.
17
+
18
+ ## Root cause
19
+
20
+ Explain the causal chain with source/evidence references and remaining uncertainty.
21
+
22
+ ## Fix
23
+
24
+ Describe the actual change, affected component, verification and rollback.
25
+
26
+ ## Prevention
27
+
28
+ Separate proposed prevention from implemented assertions and dated execution results.
29
+ Name follow-up owners and unresolved review gaps.
30
+
31
+ ## Writing and evidence rules
32
+
33
+ Use backticks only for literals verified verbatim in source, such as commands,
34
+ errors, labels and identifiers. Write concepts in ordinary prose. Cite the
35
+ source location for each verified literal; label unknown facts as unknown.
36
+ Remove drafting prompts before publishing and retain owner-review gaps explicitly.
37
+
38
+ Keep these three evidence classes separate:
39
+
40
+ - Planned automation: intended coverage, with owner and remaining work.
41
+ - Implemented assertions: the test path and the exact assertion it implements.
42
+ - Dated execution evidence: date, environment/configuration, result and evidence
43
+ location. Implemented assertions alone do not prove a successful execution.