axstack 0.20.2 → 0.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,142 +1,124 @@
1
1
  # Axstack
2
2
 
3
- Axstack is a standalone toolkit for finishing agreed engineering work with less
4
- supervision while retaining independent review. Chat drives execution; a Bun
5
- CLI installs owned skills and role data and checks capabilities. Axstack has no
6
- daemon, scheduler, runtime database, or workflow state machine.
7
-
8
- Orca is the only supported active runtime. Its installed, version-matched
9
- `orchestration` and `orca-cli` guides own worktrees, sessions, supervised
10
- dispatch, messages, settlement, and handoff mechanics. Axstack owns scope,
11
- role choices, evidence, review policy, and one private derived run record.
12
-
13
- ## How a run works
14
-
15
- Invoke the needed phase directly: `axstack-align`, `axstack-spec`,
16
- `axstack-tickets`, `axstack-implement`, `axstack-review`, and `axstack-watch`.
17
- Direct `axstack-research`, `axstack-explain`,
18
- `axstack-improve`, and `axstack-debug` routes need no spec ceremony. `axstack-relay` remains an
19
- optional inline route for explicit messages and authorized notifications; an
20
- unavailable or legacy-runtime-only relay falls back to the current conversation
21
- without changing authority.
22
-
23
- 1. Classify new engineering work as substantial, small, or unclear with a brief
24
- reason. Small, bounded one-PR work uses the current request or selected issue
25
- as a snapshotted small-change intent;
26
- substantial or stacked work needs an approved spec and matching ticket map.
27
- Substantial work uses Linear by default, or explicitly selected GitHub Issues
28
- or repository Markdown, as its authoritative spec and capability tracker.
29
- 2. The current chat drives on whatever model runs it; there is no driver
30
- profile. Bind each ready task to the selected role snapshot and an authoritative Orca
31
- Run, Task, and Dispatch. Exactly one writer owns a candidate at a time. All
32
- subagent and delegated worker dispatches go through Orca orchestration rather than
33
- harness-native subagent tools.
34
- 3. Peer PRs receive both configured independent reviewer roles. Authored PRs
35
- receive one eligible reviewer from the selected preset's explicit mapping
36
- and actual author provenance. Every review binds the exact head and base.
37
- Stable IDs are `axstack-reviewer-primary` and `axstack-reviewer-secondary`.
38
- 4. Accepted repairs return to the same author where its session and evidence
39
- remain valid. The human merges by default, bottom-up for a stack.
40
- 5. Full handoff requires explicit recipient acceptance of the exact scope and
41
- authority before ownership changes. Ordinary resume reconciles the current
42
- owner instead of replacing it.
43
-
44
- Active PR fanout is dependency- and capacity-driven; there is no fixed count.
45
- Each PR has one theme and a measured size under the shared
46
- [PR-shape policy](skills/axstack/references/pr-shape.md). Routine shape and
47
- fanout choices remain autonomous inside approved scope. Material scope,
48
- serious-risk, unavailable-model, and human-merge holds remain explicit.
49
- The autonomous driver records the rationale band's cohesion rationale; the exception band needs a
50
- reasonable split attempt and full exception record. Size alone never requires
51
- user approval.
52
-
53
- ## Install from source
54
-
55
- Requirements: Bun >=1.3.14, Git, `gh`, the `gh stack` extension, and a running
56
- Orca with its runtime-owned guides. Filesystem access uses Bun's implementation
57
- of `node:fs` and `node:fs/promises`; there are no runtime dependencies.
3
+ Engineering workflows for AI agents, from an idea to a reviewed pull request.
4
+
5
+ Axstack is a set of skills for engineers who want agents to carry work forward
6
+ with less supervision, without giving up clear scope, independent review, or
7
+ control over what ships. Use it to plan a feature, implement an agreed task,
8
+ review a teammate's PR, or maintain your own PRs as feedback arrives.
9
+
10
+ Your chat stays in charge. Orca provides the worktrees, agent sessions, and
11
+ coordination; Axstack supplies the workflow and review rules. A small Bun CLI
12
+ installs the skills and checks prerequisites. There is no Axstack daemon,
13
+ scheduler, or runtime database to operate. Orca is the only supported runtime.
14
+
15
+ ## What you can do
16
+
17
+ | Need | Skill |
18
+ | --- | --- |
19
+ | Explore an idea and settle scope | `axstack-align` |
20
+ | Turn agreed scope into a specification | `axstack-spec` |
21
+ | Break a specification into executable tickets | `axstack-tickets` |
22
+ | Build an approved task with tests and independent review | `axstack-implement` |
23
+ | Review a pull request | `axstack-review` |
24
+ | Monitor or maintain an existing PR | `axstack-watch` |
25
+ | Diagnose a bug and establish a failing check | `axstack-debug` |
26
+ | Answer a bounded question with sources | `axstack-research` |
27
+ | Explain a system or identify improvements | `axstack-explain`, `axstack-improve` |
28
+ | Measure a run's outcomes and gaps | `axstack-audit` |
29
+ | Send an explicit message or authorized notification | `axstack-relay` |
30
+
31
+ Start at the phase you need. Small, bounded changes can begin with your request
32
+ or an existing issue; substantial work needs an approved spec and matching
33
+ tickets before implementation. Research, explanation, and peer review do not
34
+ require a new specification.
35
+
36
+ For a larger feature, the usual path is:
37
+
38
+ ```text
39
+ align → spec → tickets → implement → review → watch
40
+ ```
41
+
42
+ The implementation workflow includes the author–review–repair loop. You do not
43
+ need to manually coordinate every agent or repeat an approval that is still valid.
44
+
45
+ ## Quick start
46
+
47
+ You need Bun >=1.3.14, Git, the GitHub CLI (`gh`), the `gh stack` extension,
48
+ and a running Orca with its `orca-cli` and `orchestration` guides available.
49
+ The agents selected by your preset must also be available in Orca.
50
+
51
+ Install the CLI and skills for your harness. For example, for Codex:
58
52
 
59
53
  ```sh
60
- bun bin/axstack.js check --bundle . [--harness claude|codex|opencode|antigravity]
61
- bun bin/axstack.js install --bundle . --skills-dir <dir> --instructions <file> --preset mixed [--yes]
62
- bun bin/axstack.js install --bundle . --skills-dir <dir> --preset mixed
63
- bun bin/axstack.js uninstall --skills-dir <dir> --instructions <file>
54
+ bun add --global axstack
55
+ axstack check --harness codex
56
+ axstack install --harness codex --preset mixed --yes
57
+ ```
58
+
59
+ Then open an Orca chat and ask for the relevant skill:
60
+
61
+ ```text
62
+ $axstack-align Help me scope account recovery.
63
+ $axstack-implement Build the task we agreed on.
64
+ $axstack-review Review this pull request: <PR URL>
65
+ $axstack-watch Monitor this PR without making changes: <PR URL>
64
66
  ```
65
67
 
66
- Use `--harness claude|codex|opencode|antigravity` only for a verified default
67
- skill directory and rules file. `--claude-settings` and `--no-claude-settings` manage the existing
68
- Claude Code subagent default transaction; they do not configure Orca roles.
69
- See [installation details](docs/installation.md).
70
-
71
- `--instructions` manages one versioned Axstack block in `AGENTS.md`,
72
- `CLAUDE.md`, or `GEMINI.md`. Harness defaults resolve those files automatically. The block
73
- requires direct matching phase-skill invocation and requires every subagent, delegated
74
- worker, reviewer, and cross-harness dispatch to use visible Orca orchestration via the `orca` CLI
75
- rather than a harness-native subagent tool (e.g. Claude/Codex native subagents). OpenCode
76
- and Antigravity subagents run as Orca-supervised workers. Text and file
77
- mode outside the markers are preserved; edited, malformed, unowned, or unsafe
78
- targets are reported without normal-path adoption. Install exits nonzero when
79
- an instruction conflict is preserved, while clean and idempotent installs exit
80
- successfully.
81
-
82
- The public bundle preserves three canonical 24-role inputs:
68
+ Use `--harness claude`, `opencode`, or `antigravity` for another supported
69
+ installation target, or provide explicit skill and instruction paths.
70
+ Installation adds an owned instruction block and preserves unrelated content;
71
+ it does not enable automations or prove that every configured model is available.
72
+ See [installation](docs/installation.md) for source installs, custom paths,
73
+ upgrades, conflicts, and uninstalling.
74
+
75
+ ## How work stays controlled
76
+
77
+ - **One accountable driver, one writer per candidate.** Your current chat
78
+ coordinates work; separate worktrees keep PR jobs isolated.
79
+ - **Independent review.** Peer PRs receive two independent reviews; authored
80
+ changes receive a reviewer selected from the actual author's configured
81
+ pairing. Reviews apply to an exact revision, not just a branch name.
82
+ - **Visible agent work.** Delegation uses visible Orca orchestration via the `orca` CLI,
83
+ not harness-native subagent tools.
84
+ - **Explicit boundaries.** Agents work within agreed scope. Missing authority,
85
+ unavailable models, and serious risks are surfaced rather than silently
86
+ bypassed. The human merges by default.
87
+ - **Resumable progress.** Work retains ownership, decisions, and evidence so a
88
+ later session can reconcile what happened before continuing.
89
+
90
+ Choose an explicit role preset:
83
91
  [mixed](profiles/presets/mixed.json),
84
- [codex-only](profiles/presets/codex-only.json), and
85
- [claude-only](profiles/presets/claude-only.json). Each is exactly
86
- `{ "version": 1, "roles": [...] }`. Installation writes the selected snapshot
87
- to `<skills-dir>/axstack/roles.json` as
88
- `{ "version": 1, "preset": "<name>", "roles": [...] }` under normal ownership
89
- hashes. An edited installed role file is preserved.
90
-
91
- Mixed configures independent Astra and Fable advisers at high. Single-provider
92
- presets preserve both adviser IDs and mark the unavailable one with `model:
93
- null` inside that preset's provider bounds; installation remains ready, while
94
- Align and Spec hold because both receipts are required. The mixed
95
- `axstack-checker` and `axstack-research-web-google` roles launch Antigravity by
96
- agent ID with explicit `model: null`; the run records the model reported by the
97
- TUI. The single-provider presets configure the checker and record the Google
98
- research branch as intentionally absent. Preset changes affect new runs only. Stored model, effort, and permission
99
- fields are declared intent until actual Orca launch receipts establish effective
100
- behavior; installation never proves provider availability or permission parity.
101
- Subscription availability and quota never select a fallback model.
102
- End-to-end compatibility remains unverified without matching runtime receipts.
103
-
104
- ## Runtime evidence and holds
105
-
106
- Native Orca exercises have returned Codex, Claude, and OpenCode Muse Spark
107
- worker completions, same-terminal follow-up, separate worktree placement, settlement
108
- cleanup, `user_takeover` retention, and recovery from `consumer_fenced`. These are
109
- bounded runtime facts, not proof that every role or harness is compatible.
110
-
111
- Input acceptance is not agent readiness. A trust prompt was observed after an
112
- accepted launch, so startup recovery must inspect the existing attempt, never
113
- answer trust or permission prompts on the worker's behalf, and never create a
114
- duplicate writer. A `worker_done` advances work only when its Task and Dispatch
115
- match the active attempt and its revision evidence verifies.
116
-
117
- Two logical native PR-manager lanes run on staggered 15-minute schedules. Each
118
- pass uses a fresh finite session in a new isolated workspace. Review
119
- and watch each admit at most five bounded PR jobs;
120
- waiting PRs stay covered without reserving slots. Axstack adds no custom
121
- scheduler, queue engine, or decision interpreter. Sessions reconcile before
122
- admission across the whole lane, save durable continuity and decisions outside
123
- disposable workspaces, and retire only their verified pass workspace as the
124
- final action. Manual review/watch never inherits this cleanup lifecycle.
125
- Native fresh-session, overlapping-pass, recovery, and VPS resource behavior
126
- require a canary before activation.
127
-
128
- Mobile completion/reply behavior remains unverified. Structural checks and
129
- qualitative scenario evaluation are not live runtime proof.
130
-
131
- ## Historical migration boundary
132
-
133
- Older releases used Paseo for orchestration and could leave profile ownership
134
- provenance or retired skills behind. That state is historical and inert in the
135
- Orca runtime. Migration preserves user-edited and unknown assets and records
136
- legacy ownership without reading, writing, or deleting live host configuration.
137
- Use the explicit migration guidance in [installation](docs/installation.md);
138
- release installation, host cutover, and old-timer cleanup need separate
139
- authorization.
92
+ [codex-only](profiles/presets/codex-only.json), or
93
+ [claude-only](profiles/presets/claude-only.json).
94
+ Mixed supports the cross-provider implementation workflow. Single-provider
95
+ presets have workflow limitations; they are not automatic fallbacks when a
96
+ model is unavailable. See [workflow and routing details](docs/workflows.md).
97
+
98
+ ## Optional PR automation
99
+
100
+ Manual review and watch work independently of scheduled automation.
101
+ For recurring use, Axstack defines two native Orca manager lanes: one discovers
102
+ eligible peer-review requests, and the other monitors your open PRs and handles
103
+ authorized repair events.
104
+
105
+ The lanes use staggered 15-minute schedules. Each pass uses a fresh finite
106
+ session in an isolated workspace and admits at most five executing PR jobs per
107
+ lane, fewer under resource pressure. Waiting PRs remain tracked without consuming
108
+ execution slots, so a large open-PR backlog does not require an idle agent per PR.
109
+ Completed passes save continuity and retire their own verified resources.
110
+
111
+ Scheduling is opt-in and requires host-specific runtime validation before
112
+ activation. Installing Axstack does not turn it on. Repairs are limited to
113
+ explicitly allowed repositories; automation never merges for you.
114
+ See [PR-manager setup and safety](skills/axstack/references/automations.md).
115
+
116
+ ## Documentation
117
+
118
+ - [Installation and configuration](docs/installation.md)
119
+ - [Workflows, review policy, and model routing](docs/workflows.md)
120
+ - [PR scope and sizing](skills/axstack/references/pr-shape.md)
121
+ - [Releases](https://github.com/axatbhardwaj/axstack/releases)
140
122
 
141
123
  ## License
142
124
 
package/docs/workflows.md CHANGED
@@ -228,6 +228,8 @@ Predeclared scenario evaluation is qualitative behavior evidence, not determinis
228
228
  compatibility requires actual guide discovery, role/session evidence, worktree
229
229
  and Dispatch receipts, completion delivery, and cleanup as applicable. Mobile
230
230
  completion and reply behavior remain unverified.
231
+ End-to-end compatibility remains unverified for any route without matching
232
+ runtime receipts; evidence from one route does not establish support for all roles.
231
233
 
232
234
  ## Historical migration
233
235
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axstack",
3
- "version": "0.20.2",
3
+ "version": "0.20.3",
4
4
  "description": "Axstack installer and setup CLI: installs owned chat skills and role data, configures supported harness settings, and checks Orca capabilities.",
5
5
  "keywords": [
6
6
  "claude-code",