agent-orchestrator-kit 0.3.0 → 0.4.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 +13 -0
- package/README.md +159 -5
- package/bin/agent-orchestrator.js +900 -89
- package/package.json +2 -2
- package/profiles/generic/orchestrator.yaml +16 -0
- package/profiles/mvp/orchestrator.yaml +16 -0
- package/profiles/node/orchestrator.yaml +19 -1
- package/profiles/vue3/orchestrator.yaml +18 -1
- package/templates/.agents/amp.settings.json.example +12 -0
- package/templates/.agents/github.local.env.example +10 -0
- package/templates/.agents/gitlab.local.env.example +12 -0
- package/templates/.agents/mcp.json.example +12 -0
- package/templates/.agents/rules/memory-mcp-autosetup.mdc +1 -1
- package/templates/.agents/rules/session-handoff.mdc +7 -4
- package/templates/.agents/skills/agent-orchestration/SKILL.md +7 -3
- package/templates/.agents/subagents/session-handoff.md +7 -5
- package/templates/.cursor/memory.json +11 -0
- package/templates/orchestrator.yaml +16 -0
- package/templates/scripts/browser-mcp-launcher.cjs +21 -0
- package/templates/scripts/github-mcp-launcher.cjs +66 -0
- package/templates/scripts/gitlab-mcp-launcher.cjs +70 -0
- package/templates/scripts/pre-commit-gate-check.sh +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.4.0] - 2026-08-28
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **Phase 3 cloud agent handoff** — persist writes `## Runtime` (`runtime: local|cloud`, `agent_id`) via `--runtime` → `AOK_RUNTIME` → `CLOUD_ENV_MARKERS` → existing section → `local`; `handoff <name> --cloud-check` blocks on uncommitted/unpushed artifacts for cloud (local: warning, exit 0); persist never commits/pushes — cloud sessions print persist → commit → push → cloud-check on stderr
|
|
11
|
+
- **Phase 2 decisions canon** — git-tracked append-only `openspec/changes/<name>/decisions.md`; `npx agent-orchestrator-kit handoff <name>` appends dated bullets from `handoff.md ## Decisions` (no duplicates; same topic + new text keeps history); Memory `Decision:*` mirrors the file (last topic wins, file → Memory only); `handoff --restore` prints from the git file or `decisions: none`
|
|
12
|
+
- **Skill inventory** — `skills.kit` / `skills.stack` / `skills.external` in `orchestrator.yaml` (template + all profiles); kit skill list for `init`/`update` is enumerated from `templates/.agents/skills/` (no hardcoded `KIT_SKILL_DIRS`); `status` prints warn-only Skill health (`ok` / `missing` / `stale`) plus Amp wrapper freshness; missing stack skills hint `npx <external> install --agent all --yes` without running an install
|
|
13
|
+
- **`agentic-factory-roadmap`** — planning (docs-only) capability: sequences factory phases 1–4 and records platform-level non-goals; implementation stays in later changes
|
|
14
|
+
- **Phase 1 factory gates & MCP** — opt-in pre-commit `gate-check --staged` via `hooks-setup` / `init --hooks` (husky-first, otherwise `core.hooksPath=.githooks`; never writes `.git/hooks/`)
|
|
15
|
+
- **`mcp-setup`** — GitHub / GitLab / browser stdio launchers (Figma pattern); VCS host from `git remote origin` (not `--ci`); `--vcs` override; `--no-browser`
|
|
16
|
+
- **MCP health** in `status` (`ok` / `not configured` / `skipped`) without printing token values
|
|
17
|
+
- Committed examples list `memory`, `figma`, `github`, `gitlab`, `browser`; gitignored `.agents/github.local.env` and `.agents/gitlab.local.env`
|
|
18
|
+
|
|
7
19
|
## [0.3.0] - 2026-08-18
|
|
8
20
|
|
|
9
21
|
### Added
|
|
@@ -181,6 +193,7 @@ All notable changes to this project will be documented in this file.
|
|
|
181
193
|
### Added
|
|
182
194
|
- Initial release: 5-role orchestration pipeline, `/opsx:*` commands, IDE sync
|
|
183
195
|
|
|
196
|
+
[0.4.0]: https://github.com/makshc2/agent-orchestrator-kit/compare/v0.3.0...v0.4.0
|
|
184
197
|
[0.3.0]: https://github.com/makshc2/agent-orchestrator-kit/compare/v0.2.0...v0.3.0
|
|
185
198
|
[0.2.0]: https://github.com/makshc2/agent-orchestrator-kit/compare/v0.1.14...v0.2.0
|
|
186
199
|
[0.1.14]: https://github.com/makshc2/agent-orchestrator-kit/compare/v0.1.13...v0.1.14
|
package/README.md
CHANGED
|
@@ -74,12 +74,14 @@ npx agent-orchestrator-kit@latest init --profile generic --ci gitlab --spec-veri
|
|
|
74
74
|
|
|
75
75
|
See [Installation](#installation) for profile/CI options.
|
|
76
76
|
|
|
77
|
-
**🔄 Already have the kit installed? Upgrade to latest (lean pipeline
|
|
77
|
+
**🔄 Already have the kit installed? Upgrade to latest (factory phases 1–3 in v0.4.0+, lean pipeline / archive CLI in v0.3.0+, handoff CLI in v0.1.14+, Figma PAT in v0.1.11+):**
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
80
|
npx agent-orchestrator-kit@latest update
|
|
81
81
|
npx agent-orchestrator-kit@latest sync # or: ./scripts/sync-local-agent-skills.sh
|
|
82
|
+
npx agent-orchestrator-kit@latest mcp-setup # optional — GitHub/GitLab from origin + browser
|
|
82
83
|
npx agent-orchestrator-kit@latest figma-setup # optional — local Figma token
|
|
84
|
+
npx agent-orchestrator-kit@latest hooks-setup # optional — pre-commit review gate
|
|
83
85
|
npx agent-orchestrator-kit@latest status
|
|
84
86
|
```
|
|
85
87
|
|
|
@@ -468,13 +470,13 @@ Orchestration hard rules (review approval, one active change) used to rely entir
|
|
|
468
470
|
npx agent-orchestrator-kit status
|
|
469
471
|
```
|
|
470
472
|
|
|
471
|
-
Prints every active OpenSpec change with task progress (`N/M tasks`), review verdict (`APPROVE` / `REQUEST CHANGES` / `none`), design brief (`brief: yes/no`),
|
|
473
|
+
Prints every active OpenSpec change with task progress (`N/M tasks`), review verdict (`APPROVE` / `REQUEST CHANGES` / `none`), design brief (`brief: yes/no`), a `ready to archive` flag once all tasks are `[x]`, and an **MCP health** section (launcher / env / live config — never prints token values). VCS tools that do not match `git remote origin` show as `skipped (no origin match)`.
|
|
472
474
|
|
|
473
475
|
```bash
|
|
474
|
-
npx agent-orchestrator-kit gate-check [change-name] [--src-glob src/] [--base HEAD~1]
|
|
476
|
+
npx agent-orchestrator-kit gate-check [change-name] [--src-glob src/] [--base HEAD~1] [--staged]
|
|
475
477
|
```
|
|
476
478
|
|
|
477
|
-
Fails (non-zero exit) when `pipeline.require_spec_review: true`, the diff against `--base` touches `--src-glob`, and the active change has no `review.md` with `Verdict: APPROVE`. When `pipeline.require_design_brief: true` and `src/` changed, it also requires `design-brief.md` (or a `Design: none` line in `proposal.md` for non-UI changes). It degrades gracefully to exit 0 (with a message, not silently) when: `.agents/orchestrator.yaml` is missing, neither review nor design brief is required, the diff can't be computed (e.g. shallow clone), or nothing under `--src-glob` changed. It also warns (never fails) when active changes exceed `pipeline.max_active_changes`. Both `agent-verify.yml` fragments (GitHub and GitLab) call `gate-check` automatically.
|
|
479
|
+
Fails (non-zero exit) when `pipeline.require_spec_review: true`, the diff against `--base` (or **staged** files with `--staged`) touches `--src-glob`, and the active change has no `review.md` with `Verdict: APPROVE`. When `pipeline.require_design_brief: true` and `src/` changed, it also requires `design-brief.md` (or a `Design: none` line in `proposal.md` for non-UI changes). It degrades gracefully to exit 0 (with a message, not silently) when: `.agents/orchestrator.yaml` is missing, neither review nor design brief is required, the diff can't be computed (e.g. shallow clone), or nothing under `--src-glob` changed. It also warns (never fails) when active changes exceed `pipeline.max_active_changes`. Both `agent-verify.yml` fragments (GitHub and GitLab) call `gate-check` automatically. Pre-commit uses `--staged` so it checks the index, not `HEAD~1`.
|
|
478
480
|
|
|
479
481
|
```bash
|
|
480
482
|
npx agent-orchestrator-kit gate-check --tasks <change-name>
|
|
@@ -488,6 +490,60 @@ npx agent-orchestrator-kit gate-check --review <change-name> [--json]
|
|
|
488
490
|
|
|
489
491
|
Deterministic Tier 1 of the review phase: strict OpenSpec validation, the task-contract lint, `Non-goals` / `Acceptance criteria` sections in `proposal.md`, and non-empty ADDED/MODIFIED/REMOVED sections in delta specs. Human-readable stdout, or `--json` for a `{pass, errors[]}` report.
|
|
490
492
|
|
|
493
|
+
### Pre-commit review gate (optional)
|
|
494
|
+
|
|
495
|
+
`gate-check` already exists; it is **not** wired to `git commit` unless you opt in. The kit never writes `.git/hooks/` directly.
|
|
496
|
+
|
|
497
|
+
```bash
|
|
498
|
+
npx agent-orchestrator-kit hooks-setup
|
|
499
|
+
# or: npx agent-orchestrator-kit init --hooks
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
- If `.husky/` exists, a marked line `sh scripts/pre-commit-gate-check.sh` is appended to `.husky/pre-commit` (idempotent; existing content is kept). `core.hooksPath` is not changed.
|
|
503
|
+
- Otherwise the kit writes committed `.githooks/pre-commit` and runs `git config core.hooksPath .githooks`. If `core.hooksPath` is already set to something else, the command refuses and prints a manual line to add.
|
|
504
|
+
- Lefthook: add `sh scripts/pre-commit-gate-check.sh` to your pre-commit job yourself (no auto-write).
|
|
505
|
+
- `init` without `--hooks` still installs `scripts/pre-commit-gate-check.sh` as a managed file, unconnected.
|
|
506
|
+
- Disable: remove the marked line from `.husky/pre-commit`, or `git config --unset core.hooksPath`.
|
|
507
|
+
- MVP (`require_spec_review: false`): the hook is a no-op (exit 0).
|
|
508
|
+
- Keep `agent-orchestrator-kit` in the project's **devDependencies** so `npx agent-orchestrator-kit` on every commit does not cold-fetch from the registry.
|
|
509
|
+
|
|
510
|
+
Run `hooks-setup` on each machine (`git config` is local), same as `figma-setup`.
|
|
511
|
+
|
|
512
|
+
### Optional MCP: GitHub, GitLab, browser
|
|
513
|
+
|
|
514
|
+
Same pattern as Figma: stdio launcher + gitignored env + committed `.example`. Tokens never go in chat or committed MCP JSON.
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
npx agent-orchestrator-kit mcp-setup
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
Detection uses `git remote get-url origin` (https and ssh). `--ci` is ignored.
|
|
521
|
+
|
|
522
|
+
| Origin hostname | Installed VCS MCP |
|
|
523
|
+
|-----------------|-------------------|
|
|
524
|
+
| `github.com` | GitHub only |
|
|
525
|
+
| `gitlab.com` or hostname contains `gitlab` (self-hosted) | GitLab only; `GITLAB_API_URL=https://<hostname>/api/v4` |
|
|
526
|
+
| missing / unrecognized | no VCS MCP (`status` shows skipped) |
|
|
527
|
+
|
|
528
|
+
Browser MCP (`@playwright/mcp`) is always added unless you pass `--no-browser`. Override detection with `--vcs github` or `--vcs gitlab`.
|
|
529
|
+
|
|
530
|
+
```bash
|
|
531
|
+
npx agent-orchestrator-kit mcp-setup --vcs gitlab --no-browser
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
Then put tokens **only** in the gitignored files (never in chat):
|
|
535
|
+
|
|
536
|
+
| Path | Git |
|
|
537
|
+
|------|-----|
|
|
538
|
+
| `.agents/github.local.env` | ignored |
|
|
539
|
+
| `.agents/gitlab.local.env` | ignored |
|
|
540
|
+
| `.agents/*.local.env.example` | committed |
|
|
541
|
+
| `scripts/*-mcp-launcher.cjs` | committed |
|
|
542
|
+
|
|
543
|
+
Cursor, Claude Code, and Amp all spawn the same launchers. Committed examples list all five servers (`memory`, `figma`, `github`, `gitlab`, `browser`); live `.mcp.json` / `.amp/settings.json` receive only the detected VCS plus browser.
|
|
544
|
+
|
|
545
|
+
`npx agent-orchestrator-kit status` prints MCP health (`ok` / `not configured` / `skipped`) without token values.
|
|
546
|
+
|
|
491
547
|
---
|
|
492
548
|
|
|
493
549
|
### Design intake: `/opsx:design`
|
|
@@ -695,6 +751,74 @@ Handoff:add-bulk-export next_role: implementer, next_command: /opsx:apply add
|
|
|
695
751
|
|
|
696
752
|
Session boundaries are **parent-driven** (no routine subagent): every `/opsx:*` session restores via `npx agent-orchestrator-kit handoff --restore` (the CLI briefing already reads memory.json and `handoff.md`), falling back to reading `handoff.md` directly if the CLI fails. At exit the parent itself writes `handoff.md`, runs `npx agent-orchestrator-kit handoff <name>` (upserts `.cursor/memory.json` with an absolute path), and pastes the CLI stdout prompt. The `session-handoff` subagent is spawned only when the CLI path fails; Memory MCP is an optional mirror. The prompt is self-contained — Amp often skips Memory MCP, so the next thread must be able to work from the pasted text alone. Never configure Memory with a relative `MEMORY_FILE_PATH`; use `scripts/memory-mcp-launcher.cjs` (`npx agent-orchestrator-kit memory-setup`). The next phase always starts in a new chat. The canonical Session Start / Exit protocol lives in one place — `.agents/rules/session-handoff.mdc` — and the `/opsx:*` commands reference it instead of duplicating it.
|
|
697
753
|
|
|
754
|
+
### Change decisions (`decisions.md`)
|
|
755
|
+
|
|
756
|
+
Session decisions accumulate in git-tracked, append-only `openspec/changes/<name>/decisions.md`. That file is the canon visible in a PR/MR; Memory `Decision:*` is a **file → Memory** mirror only.
|
|
757
|
+
|
|
758
|
+
```bash
|
|
759
|
+
npx agent-orchestrator-kit handoff add-bulk-export
|
|
760
|
+
# appends dated bullets from handoff.md ## Decisions (skips duplicates; same topic + new text → new row)
|
|
761
|
+
npx agent-orchestrator-kit handoff add-bulk-export --restore
|
|
762
|
+
# prints decisions from the git file (or `decisions: none` if the file does not exist)
|
|
763
|
+
```
|
|
764
|
+
|
|
765
|
+
`Decisions: none` does not create the file. Re-running persist with the same handoff does not duplicate rows. A later revision of the same topic is a new line; the old line stays. `update` does not migrate historical Memory entities into the file.
|
|
766
|
+
|
|
767
|
+
### Cloud agent handoff (Phase 3)
|
|
768
|
+
|
|
769
|
+
Every persist writes a `## Runtime` section to `openspec/changes/<name>/handoff.md`:
|
|
770
|
+
|
|
771
|
+
```
|
|
772
|
+
## Runtime
|
|
773
|
+
- runtime: local|cloud
|
|
774
|
+
- agent_id: <id|none>
|
|
775
|
+
```
|
|
776
|
+
|
|
777
|
+
Detection is a fixed chain (no TTY / `CURSOR_AGENT` magic): `--runtime` → env `AOK_RUNTIME` → `CLOUD_ENV_MARKERS` (starts with `CURSOR_BACKGROUND_AGENT`) → existing `## Runtime` in the file → `local`. `agent_id` uses `--agent-id` → `AOK_AGENT_ID` → existing value → `none`. Invalid `--runtime` (not `local` or `cloud`) exits non-zero. Legacy files without Runtime stay valid; the next persist appends the section.
|
|
778
|
+
|
|
779
|
+
Configure a cloud agent once:
|
|
780
|
+
|
|
781
|
+
```
|
|
782
|
+
AOK_RUNTIME=cloud
|
|
783
|
+
AOK_AGENT_ID=<vm-or-run-id>
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
`--cloud-check` is a **separate** branch of `handoff`, never part of persist (persist has just rewritten `handoff.md`, so the tree is always dirty at that point). It verifies (1) `git status --porcelain -- openspec/changes/<name>/` is empty and (2) the current branch has an upstream with no unpushed commits. Verdict: `cloud` + any failure = non-zero; `local` + the same failure = warning + exit 0; clean = exit 0. The CLI never runs `git commit` or `git push`.
|
|
787
|
+
|
|
788
|
+
Cloud Session Exit order:
|
|
789
|
+
|
|
790
|
+
```bash
|
|
791
|
+
npx agent-orchestrator-kit handoff <name> --runtime cloud
|
|
792
|
+
git add openspec/changes/<name>/
|
|
793
|
+
git commit
|
|
794
|
+
git push
|
|
795
|
+
npx agent-orchestrator-kit handoff <name> --cloud-check # require exit 0
|
|
796
|
+
```
|
|
797
|
+
|
|
798
|
+
Persist with `runtime: cloud` prints those four steps on stderr; stdout stays the pure `/opsx:` next-thread prompt. Local persist is unchanged.
|
|
799
|
+
|
|
800
|
+
### Skill inventory
|
|
801
|
+
|
|
802
|
+
`.agents/orchestrator.yaml` carries a machine-readable `skills:` section (`kit` / `stack` / `external`) instead of hardcoded skill names in the CLI:
|
|
803
|
+
|
|
804
|
+
```yaml
|
|
805
|
+
skills:
|
|
806
|
+
kit:
|
|
807
|
+
- agent-orchestration
|
|
808
|
+
- openspec-howto
|
|
809
|
+
# ... remaining kit skills
|
|
810
|
+
stack: [] # vue3: vue-core, vue-pinia, vue-axios, vue-router
|
|
811
|
+
external: "" # vue3/node: frontend-agent-skills
|
|
812
|
+
```
|
|
813
|
+
|
|
814
|
+
`npx agent-orchestrator-kit status` prints **Skill health** after MCP health (`ok` / `missing` / `stale`) for kit + stack skills and Amp `subagent-*` wrappers. The section is warn-only: missing or stale skills never change the exit code. Repair with the existing commands — `sync` (stale IDE copies), `update` (missing kit files), or a manual stack install:
|
|
815
|
+
|
|
816
|
+
```bash
|
|
817
|
+
npx frontend-agent-skills install --agent all --yes
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
The CLI never auto-installs external skill packages. `.agents/orchestrator.yaml` is outside kit-managed paths, so `update` does **not** refresh `skills.kit` — after a kit skill is added or removed, edit that list by hand (or re-init with `--force`).
|
|
821
|
+
|
|
698
822
|
## Amp Code — Deep Integration Notes
|
|
699
823
|
|
|
700
824
|
Amp is the **primary target** of this kit. It reads `.agents/skills/` and `AGENTS.md` without any sync step — your team commits `.agents/` and everyone gets the same orchestration behavior automatically.
|
|
@@ -739,6 +863,7 @@ npx agent-orchestrator-kit init [options]
|
|
|
739
863
|
--name <name> Project name (default: directory name)
|
|
740
864
|
--ci <provider> CI provider: gitlab | github | none (default: github)
|
|
741
865
|
--spec-verify Install AI Spec Verifier blocking gate (GitLab or GitHub)
|
|
866
|
+
--hooks Opt-in: install pre-commit gate-check hook (husky-first)
|
|
742
867
|
--force Overwrite existing files
|
|
743
868
|
|
|
744
869
|
npx agent-orchestrator-kit update
|
|
@@ -750,20 +875,35 @@ npx agent-orchestrator-kit sync [options]
|
|
|
750
875
|
present in .agents/ (does not touch memory.json, .mcp.json, CLAUDE.md, etc.)
|
|
751
876
|
|
|
752
877
|
npx agent-orchestrator-kit status
|
|
753
|
-
Show progress, review verdict,
|
|
878
|
+
Show progress, review verdict, archive-readiness, MCP health, and Skill health
|
|
879
|
+
(warn-only; missing/stale skills do not fail the command)
|
|
754
880
|
|
|
755
881
|
npx agent-orchestrator-kit gate-check [change-name] [options]
|
|
756
882
|
--src-glob <glob> Source path filter used to detect code changes (default: src/)
|
|
757
883
|
--base <ref> Git ref to diff against (default: HEAD~1)
|
|
884
|
+
--staged Check staged files (git diff --cached) instead of --base
|
|
758
885
|
--tasks <name> Lint task contracts (Files / Do / Done-when)
|
|
759
886
|
--review <name> Deterministic Tier 1 review (optional --json)
|
|
760
887
|
Exit non-zero when require_spec_review is true, src/ changed, and the
|
|
761
888
|
active change has no review.md with Verdict: APPROVE. Graceful no-op
|
|
762
889
|
otherwise (missing config, review not required, no relevant diff).
|
|
763
890
|
|
|
891
|
+
npx agent-orchestrator-kit hooks-setup
|
|
892
|
+
Opt-in pre-commit gate (husky-first, else core.hooksPath=.githooks)
|
|
893
|
+
|
|
894
|
+
npx agent-orchestrator-kit mcp-setup [--vcs github|gitlab] [--no-browser]
|
|
895
|
+
Install GitHub/GitLab (from origin) and browser MCP launchers
|
|
896
|
+
|
|
764
897
|
npx agent-orchestrator-kit archive <name> [--sync | --no-sync --force]
|
|
765
898
|
Gate-check a completed change, optionally merge delta specs, move to
|
|
766
899
|
openspec/changes/archive/YYYY-MM-DD-<name>, validate, write final handoff
|
|
900
|
+
|
|
901
|
+
npx agent-orchestrator-kit handoff [change-name] [options]
|
|
902
|
+
--restore Print the restore briefing instead of persisting
|
|
903
|
+
--runtime <value> local | cloud (invalid values exit non-zero)
|
|
904
|
+
--agent-id <id> Cloud agent identifier (default: none)
|
|
905
|
+
--cloud-check Verify change artifacts are committed and pushed
|
|
906
|
+
(cloud: non-zero on failure; local: warning, exit 0)
|
|
767
907
|
```
|
|
768
908
|
|
|
769
909
|
## Directory Reference
|
|
@@ -799,8 +939,22 @@ openspec/ # Committed — spec-driven workflow
|
|
|
799
939
|
changes/ # Active work; <name>/handoff.md indexes session state
|
|
800
940
|
```
|
|
801
941
|
|
|
942
|
+
## Roadmap
|
|
943
|
+
|
|
944
|
+
The kit moves toward an Agentic Factory in four phases. **One phase = one OpenSpec change**; the next phase does not start until the previous change is archived.
|
|
945
|
+
1. `add-factory-gates-and-mcp` — local review gate on commit and Figma-style MCP launchers (GitHub / GitLab / browser). Implemented: `hooks-setup`, `mcp-setup`, `gate-check --staged`, MCP health in `status`.
|
|
946
|
+
2. `add-factory-memory-and-skills` — git-canonical decisions with Memory MCP as a mirror, plus a machine skill inventory. Implemented: append-only `decisions.md`, Skill health in `status`.
|
|
947
|
+
3. `add-cloud-agent-handoff` — session artifacts exist only on git-tracked paths. Implemented: `## Runtime` in `handoff.md`, `--runtime` / `--agent-id` / `--cloud-check`, cloud Session Exit.
|
|
948
|
+
4. Phase 4 (`add-factory-control-plane`) is an opt-in platform decision, not the next sprint.
|
|
949
|
+
Phase bounds and non-goals: [`openspec/specs/agentic-factory-roadmap/spec.md`](openspec/specs/agentic-factory-roadmap/spec.md).
|
|
950
|
+
|
|
802
951
|
## Changelog
|
|
803
952
|
|
|
953
|
+
### 0.4.0
|
|
954
|
+
- Factory phases 1–3: `hooks-setup` / `gate-check --staged`, `mcp-setup` (GitHub / GitLab / browser), MCP and Skill health in `status`
|
|
955
|
+
- Git-canonical append-only `decisions.md`; Memory `Decision:*` is a file→Memory mirror
|
|
956
|
+
- Cloud agent handoff: `## Runtime` in `handoff.md`, `--runtime` / `--agent-id` / `--cloud-check`
|
|
957
|
+
|
|
804
958
|
### 0.3.0
|
|
805
959
|
- **`archive` CLI** — deterministic archive with gates, `--sync` delta merge, and rollback on validate failure
|
|
806
960
|
- **Task contract** — `gate-check --tasks` enforces `Files:` / `Do:` / `Done-when:` (`pipeline.task_contract: warn|strict|off`)
|