@open-agent-toolkit/cli 0.2.59 → 0.2.63

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 (120) hide show
  1. package/assets/agents/oat-phase-implementer.md +27 -4
  2. package/assets/agents/oat-reviewer.md +25 -14
  3. package/assets/bundle-metadata.json +1 -1
  4. package/assets/docs/cli-utilities/config-and-local-state.md +1 -0
  5. package/assets/docs/cli-utilities/configuration.md +10 -8
  6. package/assets/docs/cli-utilities/project-log.md +16 -0
  7. package/assets/docs/cli-utilities/workflow-gates.md +127 -19
  8. package/assets/docs/provider-sync/commands.md +3 -0
  9. package/assets/docs/provider-sync/instruction-sync.md +107 -0
  10. package/assets/docs/reference/cli-reference.md +26 -9
  11. package/assets/docs/reference/oat-directory-structure.md +33 -31
  12. package/assets/docs/workflows/ideas/index.md +1 -1
  13. package/assets/docs/workflows/index.md +1 -0
  14. package/assets/docs/workflows/projects/artifacts.md +24 -3
  15. package/assets/docs/workflows/projects/hill-checkpoints.md +21 -0
  16. package/assets/docs/workflows/projects/implementation-execution.md +5 -0
  17. package/assets/docs/workflows/projects/lifecycle.md +169 -7
  18. package/assets/docs/workflows/projects/picking-up-projects.md +14 -0
  19. package/assets/docs/workflows/projects/pr-flow.md +2 -0
  20. package/assets/docs/workflows/projects/reviews.md +1 -1
  21. package/assets/docs/workflows/projects/state-machine.md +20 -0
  22. package/assets/docs/workflows/skills/explainer-kit.md +10 -4
  23. package/assets/docs/workflows/skills/index.md +2 -1
  24. package/assets/docs/workflows/skills/repo-improve.md +15 -1
  25. package/assets/public-package-versions.json +4 -4
  26. package/assets/skills/oat-brainstorm/SKILL.md +61 -12
  27. package/assets/skills/oat-docs/SKILL.md +13 -8
  28. package/assets/skills/oat-doctor/SKILL.md +3 -3
  29. package/assets/skills/oat-explainer-kit/SKILL.md +14 -1
  30. package/assets/skills/oat-explainer-kit/references/config-contract.md +12 -0
  31. package/assets/skills/oat-explainer-kit/references/lifecycle-contract.md +57 -10
  32. package/assets/skills/oat-explainer-kit/scripts/check-terminal-outcome.mjs +28 -5
  33. package/assets/skills/oat-explainer-kit/scripts/probe-recap-seams.mjs +371 -0
  34. package/assets/skills/oat-explainer-kit/scripts/resolve-intent.mjs +123 -1
  35. package/assets/skills/oat-pjm-review-backlog/SKILL.md +2 -2
  36. package/assets/skills/oat-project-autonomous/SKILL.md +23 -9
  37. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +164 -150
  38. package/assets/skills/oat-project-capture/SKILL.md +2 -2
  39. package/assets/skills/oat-project-complete/SKILL.md +134 -4
  40. package/assets/skills/oat-project-discover/SKILL.md +6 -5
  41. package/assets/skills/oat-project-document/SKILL.md +11 -1
  42. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +164 -150
  43. package/assets/skills/oat-project-implement/SKILL.md +3 -3
  44. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +144 -21
  45. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +164 -150
  46. package/assets/skills/oat-project-implement/references/phase-execution.md +16 -1
  47. package/assets/skills/oat-project-implement/references/plan-and-resume.md +19 -1
  48. package/assets/skills/oat-project-import-plan/SKILL.md +47 -3
  49. package/assets/skills/oat-project-lite/SKILL.md +467 -0
  50. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +331 -0
  51. package/assets/skills/oat-project-next/SKILL.md +75 -16
  52. package/assets/skills/oat-project-plan/SKILL.md +44 -6
  53. package/assets/skills/oat-project-plan-writing/SKILL.md +6 -3
  54. package/assets/skills/oat-project-pr-final/SKILL.md +33 -7
  55. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +164 -150
  56. package/assets/skills/oat-project-pr-progress/SKILL.md +3 -3
  57. package/assets/skills/oat-project-progress/SKILL.md +27 -5
  58. package/assets/skills/oat-project-promote-spec-driven/SKILL.md +3 -1
  59. package/assets/skills/oat-project-quick-start/SKILL.md +264 -4
  60. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +164 -150
  61. package/assets/skills/oat-project-review-provide/SKILL.md +25 -6
  62. package/assets/skills/oat-project-summary/SKILL.md +61 -26
  63. package/assets/skills/oat-repo-improve/SKILL.md +40 -5
  64. package/assets/skills/oat-repo-improve/references/plan-template.md +84 -7
  65. package/assets/templates/plan-lite.md +165 -0
  66. package/assets/templates/plan.md +1 -1
  67. package/assets/templates/state.md +1 -1
  68. package/dist/commands/config/index.d.ts +1 -0
  69. package/dist/commands/config/index.d.ts.map +1 -1
  70. package/dist/commands/config/index.js +401 -18
  71. package/dist/commands/gate/index.d.ts +3 -1
  72. package/dist/commands/gate/index.d.ts.map +1 -1
  73. package/dist/commands/gate/index.js +699 -211
  74. package/dist/commands/init/tools/shared/skill-script-references.d.ts +126 -0
  75. package/dist/commands/init/tools/shared/skill-script-references.d.ts.map +1 -0
  76. package/dist/commands/init/tools/shared/skill-script-references.js +311 -0
  77. package/dist/commands/instructions/instructions.types.d.ts +63 -0
  78. package/dist/commands/instructions/instructions.types.d.ts.map +1 -1
  79. package/dist/commands/instructions/instructions.utils.d.ts +51 -2
  80. package/dist/commands/instructions/instructions.utils.d.ts.map +1 -1
  81. package/dist/commands/instructions/instructions.utils.js +201 -4
  82. package/dist/commands/instructions/sync/sync.d.ts.map +1 -1
  83. package/dist/commands/instructions/sync/sync.js +12 -1
  84. package/dist/commands/instructions/validate/validate.d.ts.map +1 -1
  85. package/dist/commands/instructions/validate/validate.js +12 -1
  86. package/dist/commands/project/index.d.ts.map +1 -1
  87. package/dist/commands/project/index.js +2 -0
  88. package/dist/commands/project/log/append.d.ts +195 -0
  89. package/dist/commands/project/log/append.d.ts.map +1 -1
  90. package/dist/commands/project/log/append.js +1034 -11
  91. package/dist/commands/project/new/index.d.ts +3 -2
  92. package/dist/commands/project/new/index.d.ts.map +1 -1
  93. package/dist/commands/project/new/index.js +2 -1
  94. package/dist/commands/project/new/scaffold.d.ts +5 -3
  95. package/dist/commands/project/new/scaffold.d.ts.map +1 -1
  96. package/dist/commands/project/new/scaffold.js +38 -10
  97. package/dist/commands/project/promote/index.d.ts +2 -0
  98. package/dist/commands/project/promote/index.d.ts.map +1 -0
  99. package/dist/commands/project/promote/index.js +1 -0
  100. package/dist/commands/project/promote/promote.d.ts +47 -0
  101. package/dist/commands/project/promote/promote.d.ts.map +1 -0
  102. package/dist/commands/project/promote/promote.js +322 -0
  103. package/dist/commands/project/split/run.d.ts.map +1 -1
  104. package/dist/commands/project/split/run.js +8 -1
  105. package/dist/commands/project/validate-plan/index.d.ts.map +1 -1
  106. package/dist/commands/project/validate-plan/index.js +25 -1
  107. package/dist/commands/project/validate-plan/validate-plan.d.ts +8 -0
  108. package/dist/commands/project/validate-plan/validate-plan.d.ts.map +1 -1
  109. package/dist/commands/project/validate-plan/validate-plan.js +49 -0
  110. package/dist/commands/shared/frontmatter.d.ts +1 -1
  111. package/dist/commands/shared/frontmatter.d.ts.map +1 -1
  112. package/dist/commands/shared/frontmatter.js +1 -0
  113. package/dist/commands/state/generate.d.ts.map +1 -1
  114. package/dist/commands/state/generate.js +23 -0
  115. package/dist/commands/tools/shared/pack-manifest.d.ts.map +1 -1
  116. package/dist/commands/tools/shared/pack-manifest.js +2 -0
  117. package/dist/config/oat-config.d.ts +41 -0
  118. package/dist/config/oat-config.d.ts.map +1 -1
  119. package/dist/config/oat-config.js +111 -0
  120. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-capture
3
- version: 1.0.1
3
+ version: 1.0.2
4
4
  description: Use when work happened outside the OAT project workflow and needs retroactive project tracking. Creates a full project from an existing branch and conversation context.
5
5
  disable-model-invocation: true
6
6
  user-invocable: true
@@ -24,7 +24,7 @@ Use when:
24
24
  Don't use when:
25
25
 
26
26
  - A project already exists for the current branch — use `oat-project-reconcile` instead
27
- - You haven't started any work yet — use `oat-project-quick-start` or `oat-project-new`
27
+ - You haven't started any work yet — use `oat-project-lite` for single-sitting work, `oat-project-quick-start` for quick work, or `oat-project-new` for spec-driven work
28
28
  - You only need to map new commits to an existing plan — use `oat-project-reconcile`
29
29
 
30
30
  ## Prerequisites
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-complete
3
- version: 1.7.7
3
+ version: 1.7.8
4
4
  description: Use when all implementation work is finished and the project is ready to close. Marks the OAT project lifecycle as complete.
5
5
  disable-model-invocation: true
6
6
  user-invocable: true
@@ -493,7 +493,40 @@ mutation. Initialize `SELECTED_PROJECT_RECAP_RUN=""`.
493
493
  When `SHOULD_GENERATE_RECAP="true"`, inspect manifests under
494
494
  `{PROJECT_PATH}/explainers/` before generating. A fresh `project-recap` manifest for the current completed implementation is reused without invoking the adapter again. Fresh means the manifest identifies recipe `project-recap`, belongs to this project, has a terminal outcome, and its recorded source hashes match the current approved implementation inputs, including the refreshed summary when present.
495
495
 
496
- If no fresh recap exists, invoke `scripts/run.mjs#runOatExplainer` exactly once with recipe `project-recap`, project invocation, the active project, and unattended lifecycle mode so approved OAT artifacts do not trigger a second content prompt. A returned `failed` outcome warns but does not block completion. An invocation that returns no terminal outcome blocks lifecycle mutation. Use a returned valid terminal `project-recap` manifest as the selected run; do not rerun to improve its outcome.
496
+ If no fresh recap exists, probe seam availability before invoking the adapter.
497
+ Call `oat-explainer-kit/scripts/probe-recap-seams.mjs#probeRecapSeams` in
498
+ `mode: unattended` with the exact seam inputs this step would pass. The probe is
499
+ pure and covers all five required seams — author, fact critic, browser session,
500
+ visual critic, and set planner — so a host missing only the set planner is
501
+ detected here instead of at the adapter's `E_SET_PLANNER_REQUIRED`. When
502
+ `OAT_AUTONOMOUS=1`, pass the result to autonomous intent resolution as
503
+ `seamProbe`. The resolver accepts a `seamProbe` only for autonomous
504
+ `projectRecap`, so an interactive completion keeps the decision recorded at the
505
+ batched prompt and does not pass one.
506
+
507
+ In autonomy, a probe result of `seams-unavailable` means no provider is
508
+ configured for a required seam. Autonomous resolution then returns a recordable
509
+ `skip` with source `capability_probe`: record it with the warning, leave
510
+ `SELECTED_PROJECT_RECAP_RUN` empty, and complete without a recap. That
511
+ probe-driven skip record supersedes the intent resolved and persisted earlier in
512
+ this run for the remainder of the run: persist it through the same
513
+ `oat-explainer-kit` intent-persistence helper with a freshly captured state hash,
514
+ treat any `SHOULD_GENERATE_RECAP="true"` set from the earlier resolution as
515
+ stale, and pass the skip — not the earlier `generate` — to the terminal-outcome
516
+ guard as `--intent skip --skip-reason capability_probe`. Passing the superseded
517
+ `generate` with no manifest raises `E_RECAP_OUTCOME` and blocks completion,
518
+ which is the exact failure this gate exists to prevent. An interactive
519
+ completion is unchanged: the decision recorded at the batched prompt governs, a
520
+ recorded `generate` still attempts the recap, and a run that fails for a missing
521
+ seam is still the `failed` outcome it is today. A probe result
522
+ of `seams-invalid` means a seam is supplied but violates a resolution rule:
523
+ report the configuration error and fail closed. Never convert a
524
+ configured-but-invalid seam, or a run that failed after a passing probe, into a
525
+ skip; that run stays `failed`.
526
+
527
+ In autonomy, attempt the adapter run exactly once and only when the probe resolves every seam; an interactive `generate` still attempts the run regardless of the probe result, and a seam-less interactive attempt is still the `failed` outcome it is today. The autonomy gate and the interactive rule are two separate rules and are never read as one.
528
+
529
+ When the gate above allows the attempt, invoke `scripts/run.mjs#runOatExplainer` exactly once with recipe `project-recap`, project invocation, the active project, and unattended lifecycle mode so approved OAT artifacts do not trigger a second content prompt. A returned `failed` outcome warns but does not block completion. An invocation that returns no terminal outcome blocks lifecycle mutation. Use a returned valid terminal `project-recap` manifest as the selected run; do not rerun to improve its outcome.
497
530
  Before that invocation, construct exactly one brief-aware, provider-neutral
498
531
  author seam as documented by
499
532
  `oat-explainer-kit/references/author-callback.md`. In-process callers pass
@@ -520,10 +553,13 @@ intent and, for `generate`, the selected or attempted manifest. The only
520
553
  terminal generated outcomes are `built-durable`, `built-not-durable`,
521
554
  `built-needs-review`, and `failed`. Missing records and `incomplete` block
522
555
  completion; do not substitute a warning or infer an outcome from filesystem
523
- presence. A `skip` intent requires no manifest.
556
+ presence. A `skip` intent requires no manifest; pass its recorded source as
557
+ `--skip-reason` so the receipt states why no recap exists.
524
558
 
525
559
  When recap intent resolves to `skip`, leave `SELECTED_PROJECT_RECAP_RUN` empty
526
- and complete without a recap. A terminal `failed` recap attempt is recorded as
560
+ and complete without a recap. This covers both an interactive skip and a
561
+ probe-driven `capability_probe` skip; neither prompts, and neither blocks
562
+ completion. A terminal `failed` recap attempt is recorded as
527
563
  a warning rather than changing project completion status.
528
564
 
529
565
  `project-explainer` runs are active-project working artifacts, not durable post-completion reference products. Do not export, re-attest, or add archive-aware PR or summary reference links for a `project-explainer` run.
@@ -614,6 +650,96 @@ Route on the structured result:
614
650
  it; only when skill loading is unavailable in the current host/runtime, author
615
651
  a complete summary inline before continuing.
616
652
 
653
+ **Absorbed-project retirement sweep.** Run this sweep here — after the status
654
+ probe above and before the roll-up below — so that every finding it produces is dispositioned in the project log while
655
+ appends are still allowed. Retiring an absorbed scaffold is a semantic claim
656
+ about the active planning surfaces, not the physical removal of a directory, so
657
+ this sweep checks the claim. It is advisory: a raw match is never a hard block
658
+ on closeout.
659
+
660
+ ```bash
661
+ PJM_DOCTOR=$(oat pjm doctor --json 2>/dev/null || true)
662
+ ```
663
+
664
+ Skip the sweep, record the single note
665
+ `Retirement sweep skipped: no PJM adoption.`, and continue when `PJM_DOCTOR` is
666
+ empty, is not parseable JSON, or reports an `adoption.state` other than
667
+ `declared` or `inferred-legacy`. This skill ships to repositories that never
668
+ adopted PJM and to repositories where the planning surfaces do not exist; a
669
+ missing surface degrades this sweep and never fails closeout.
670
+
671
+ Otherwise read `absorbed_projects` and `absorbed_backlog_ids` from
672
+ `"$PROJECT_PATH/state.md"` frontmatter. These two fields are the only inputs the
673
+ sweep takes. When both are absent or empty, nothing was consolidated: record
674
+ `Retirement sweep: no absorbed projects recorded.` and continue.
675
+
676
+ For each absorbed slug and each absorbed backlog ID, search the active planning
677
+ surfaces:
678
+
679
+ - `.oat/repo/pjm/roadmap.md` — the Now/Next/Later lanes and the sequencing map
680
+ - `.oat/repo/pjm/current-state.md`
681
+ - `.oat/repo/pjm/backlog/index.md` — the Curated Overview
682
+ - the `state.md` of projects that are still active. Project states are
683
+ scope-nested as `<projects-root-parent>/<scope>/<project>/state.md`, so
684
+ resolve the configured root first — `oat config get projects.root`, default
685
+ `.oat/projects/shared` — and scan its sibling scope directories, which are
686
+ `shared`, `local`, and `synced` under the default layout
687
+ (`.oat/projects/*/*/state.md`). Skip the sibling `archived` tree, which holds
688
+ durable evidence rather than an active claim, and skip any project whose own
689
+ `state.md` already records a terminal `oat_lifecycle: complete` — a completed
690
+ project left in an active scope directory is not a live ownership claim
691
+ either
692
+
693
+ Match a slug or backlog ID only where it carries future-oriented ownership
694
+ language — an active surface that still claims the absorbed work as planned,
695
+ owned, scheduled, or in flight. A bare mention that makes no such claim is not a
696
+ finding. The completing project's own `absorbed_projects` and
697
+ `absorbed_backlog_ids` fields are the sweep's input, never a finding. Prose that
698
+ clearly describes past state is exempt: a dated history entry, a retro, a decision record, a changelog line,
699
+ or any sentence whose tense reports what already happened is evidence, not a
700
+ stale claim.
701
+
702
+ Each remaining hit becomes a named finding carrying a recorded disposition,
703
+ either fixed now — edit the stale surface in this run — or accepted as
704
+ historical with the reason it is exempt. An autonomous run records the third
705
+ disposition, `deferred advisory`, described below. Append the dispositions to the project
706
+ log before the roll-up runs, so the roll-up summarizes them and the seal remains
707
+ the final entry:
708
+
709
+ ```bash
710
+ oat project log append \
711
+ --project "$PROJECT_PATH" \
712
+ --structural \
713
+ --producer oat-project-complete \
714
+ --ref retirement-sweep \
715
+ --body "Retirement sweep: <surface>:<finding> — <fixed|accepted as historical>; <reason>."
716
+ ```
717
+
718
+ If a disposition edits inputs that `summary.md` reflects, regenerate the summary
719
+ before the roll-up, exactly as this step already requires for a log with
720
+ entries.
721
+
722
+ Three bounded variations change where the dispositions land, never whether the
723
+ sweep runs:
724
+
725
+ - **Autonomous completion.** No new interactive gate may be opened here, so
726
+ record every finding as an advisory warning entry with the disposition
727
+ `deferred advisory` and continue, mirroring the warn-and-continue precedent
728
+ for non-blocking completion warnings in
729
+ `oat-project-implement/references/completion-and-closeout.md`.
730
+ - **No project log** (`status: "absent"` from the probe above). Record the
731
+ findings and their dispositions in the Step 12 completion summary
732
+ instead, and never create a project log for them.
733
+ - **Resumed completion whose log already carries a seal.** The status probe
734
+ above reports no seal state, so detect the seal directly before appending
735
+ anything: read `logPath` from `PROJECT_LOG_CHECK` and treat the log as sealed
736
+ when it already contains a structural seal heading of the form
737
+ `### <date> · structural · oat-project-complete · seal`. On a sealed log the
738
+ sweep runs in report-only mode: surface the findings and dispositions in the
739
+ Step 12 completion summary, append nothing to the sealed log, and never
740
+ re-enter the roll-up or the seal. No project-log append may follow the seal,
741
+ on a resume as much as on a first run.
742
+
617
743
  For a log with entries, reuse the summary flow's structured roll-up result only
618
744
  when this completion run has that exact result in memory and it reports
619
745
  `status: "ok"`. Otherwise run the idempotent enforcement surface:
@@ -1505,6 +1631,10 @@ Show user:
1505
1631
  - Report the final recap outcome and tracked reference root. A failed
1506
1632
  attestation is a warning with `built-not-durable`, not a project-completion
1507
1633
  failure.
1634
+ - Report every absorbed-project retirement finding from the Step 3.7 sweep with
1635
+ its disposition. This is the required destination whenever the sweep could not
1636
+ append them to the project log — an absent log, or a resume whose log is
1637
+ already sealed — and it stays a report, never a completion failure.
1508
1638
  - If PR was opened: include the PR URL.
1509
1639
  - If `oat_pr_url` is present, show it in the completion summary even when PR creation was skipped because the project already tracked an open PR.
1510
1640
  - If Step 11.5 ran, report whether the PR description was synced (e.g. `PR description synced: <PR URL>`) or warn that the sync failed and surface the artifact path so the user can update it manually.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: oat-project-discover
3
- version: 2.2.4
4
- description: Use when the user explicitly asks to continue discovery for an active spec-driven OAT project — e.g. "continue discovery", "run discovery", or confirms a previously offered discovery step. Do NOT auto-invoke for new ideas or quick-mode projects. Gathers requirements and context before spec/design.
3
+ version: 2.2.5
4
+ description: Use when the user explicitly asks to continue discovery for an active spec-driven OAT project — e.g. "continue discovery", "run discovery", or confirms a previously offered discovery step. Do NOT auto-invoke for new ideas or quick/lite-mode projects. Gathers requirements and context before spec/design.
5
5
  disable-model-invocation: false
6
6
  user-invocable: true
7
7
  allowed-tools: Read, Write, Bash(git:*), Bash(oat:*), Bash(pnpm:*), Glob, Grep, AskUserQuestion
@@ -15,11 +15,11 @@ Gather requirements and understand the problem space through natural collaborati
15
15
 
16
16
  **Required:** Knowledge base must exist. If missing, run the `oat-repo-knowledge-index` skill first.
17
17
 
18
- **Required for model invocation:** An active spec-driven OAT project must already exist. If no active project exists, route to `oat-project-new` for spec-driven setup or `oat-project-quick-start` for quick workflow. If the active project is quick or import mode, decline this skill and route to the current mode's next step instead.
18
+ **Required for model invocation:** An active spec-driven OAT project must already exist. If no active project exists, route to `oat-project-new` for spec-driven setup, `oat-project-quick-start` for quick workflow, or `oat-project-lite` for single-sitting lite work. If the active project is quick, import, or lite mode, decline this skill and route to the current mode's next step instead.
19
19
 
20
20
  ## Model Invocation Gate
21
21
 
22
- This skill is model-invokable only for explicit discovery-continuation asks on an active spec-driven project. Do NOT auto-invoke when the user mentions a new idea, asks for a quick workflow, or has an active quick/import project.
22
+ This skill is model-invokable only for explicit discovery-continuation asks on an active spec-driven project. Do NOT auto-invoke when the user mentions a new idea, asks for a quick or lite workflow, or has an active quick/import/lite project.
23
23
 
24
24
  Before acting:
25
25
 
@@ -27,7 +27,7 @@ Before acting:
27
27
  2. Confirm `{PROJECT_PATH}/state.md` exists.
28
28
  3. Confirm `oat_workflow_mode` is `spec-driven` or absent only in a legacy spec-driven project.
29
29
 
30
- If any check fails, decline this skill. Offer `oat-project-new` for a new spec-driven project, `oat-project-quick-start` for a quick project, or `oat-project-open` for switching to an existing project. When the gate passes, summarize the active project and ask before continuing discovery.
30
+ If any check fails, decline this skill. Offer `oat-project-new` for a new spec-driven project, `oat-project-quick-start` for a quick project, `oat-project-lite` for single-sitting work, or `oat-project-open` for switching to an existing project. When the gate passes, summarize the active project and ask before continuing discovery.
31
31
 
32
32
  ## Mode Assertion
33
33
 
@@ -101,6 +101,7 @@ PROJECTS_ROOT="${PROJECTS_ROOT%/}"
101
101
  - Read `oat_workflow_mode` from `{PROJECT_PATH}/state.md`
102
102
  - If `oat_workflow_mode` is present and not `spec-driven`, stop and route:
103
103
  - quick project: continue with `oat-project-quick-start` / `oat-project-progress`
104
+ - lite project: continue with `oat-project-lite` / `oat-project-progress`
104
105
  - import project: continue with `oat-project-import-plan` / `oat-project-progress`
105
106
  - Ask user:
106
107
  - **Continue** with active project, or
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-document
3
- version: 1.8.1
3
+ version: 1.8.2
4
4
  description: Use when the user requests or confirms documenting an active OAT project — e.g. "document the project", "update the docs", "run oat-project-document", or confirms a previously offered documentation run. Do NOT auto-invoke when implementation completes. Analyzes project artifacts, presents a documentation delta plan, and applies approved changes.
5
5
  argument-hint: '[project-path] [--auto]'
6
6
  disable-model-invocation: false
@@ -196,6 +196,16 @@ adoption could not be determined — the usual causes are `jq` missing from
196
196
 
197
197
  Read all available project artifacts to build an understanding of what was built.
198
198
 
199
+ For `oat_workflow_mode: lite`, use the reduced artifact contract instead of
200
+ the numbered artifact list below. Read the five `plan.md` sections `Summary`,
201
+ `Decisions`, `Assumptions`, `Out of Scope`, and `Validation Criteria`, then read
202
+ `implementation.md` task outcomes and `Final Summary (for PR/docs)` as the
203
+ shipped results. A lite project accepts `discovery.md`, `spec.md`, and
204
+ `design.md` as absent; do not read or require them. Build the documentation
205
+ delta from what actually shipped and continue with code verification.
206
+
207
+ For every other workflow mode, read the numbered artifact list below.
208
+
199
209
  **Read in order:**
200
210
 
201
211
  1. `$PROJECT_PATH/discovery.md` — initial requirements, key decisions, constraints