@defrex/autobuild 1.0.0-beta.4 → 1.0.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.
Files changed (54) hide show
  1. package/README.md +1 -1
  2. package/SPEC.md +45 -36
  3. package/docs/agent-runtimes.md +157 -0
  4. package/docs/build-store.md +123 -0
  5. package/docs/builds.md +82 -0
  6. package/docs/cli.md +48 -0
  7. package/docs/configuration-overview.md +93 -0
  8. package/docs/configuration.md +1626 -204
  9. package/docs/dispatcher-hosting.md +115 -0
  10. package/docs/dispatcher.md +59 -0
  11. package/docs/forges.md +121 -0
  12. package/docs/getting-started.md +60 -0
  13. package/docs/glossary.md +60 -0
  14. package/docs/hosted-service.md +2 -2
  15. package/docs/intake.md +48 -0
  16. package/docs/integration-overview.md +81 -0
  17. package/docs/operating.md +114 -0
  18. package/docs/operator-api.md +6 -6
  19. package/docs/operator-surfaces.md +90 -0
  20. package/docs/overview.md +49 -0
  21. package/docs/plugin-authoring.md +426 -0
  22. package/docs/remote-store-protocol.md +8 -8
  23. package/docs/seams.md +66 -0
  24. package/docs/setup.md +8 -6
  25. package/docs/skills.md +119 -0
  26. package/docs/ticket-sources.md +132 -0
  27. package/docs/tickets.md +69 -0
  28. package/docs/troubleshooting.md +111 -0
  29. package/docs/upgrading.md +50 -0
  30. package/docs/verification.md +146 -0
  31. package/docs/website.md +47 -5
  32. package/docs/workspaces.md +152 -0
  33. package/package.json +5 -4
  34. package/packages/core/src/cli/env.ts +1 -1
  35. package/packages/core/src/cli/help.ts +4 -2
  36. package/packages/core/src/config/landing.ts +8 -0
  37. package/packages/core/src/config/reference-metadata.ts +31 -0
  38. package/packages/core/src/config/reference.ts +342 -0
  39. package/packages/core/src/config/roles.ts +1 -1
  40. package/packages/core/src/config/schema.ts +344 -6
  41. package/packages/core/src/ontology.ts +2 -2
  42. package/packages/core/src/open-map.ts +3 -1
  43. package/skills/finalize/SKILL.md +3 -1
  44. package/skills/guide/SKILL.md +42 -25
  45. package/skills/guide/references/operator-api.md +18 -10
  46. package/skills/guide/references/plugin-authoring.md +227 -303
  47. package/skills/guide/references/remote-store-protocol.md +8 -8
  48. package/skills/guide/references/setup.md +8 -6
  49. package/skills/implement/SKILL.md +4 -2
  50. package/skills/operate/SKILL.md +26 -27
  51. package/skills/plan/SKILL.md +12 -4
  52. package/skills/spec/SKILL.md +1 -1
  53. package/skills/tickets/SKILL.md +1 -1
  54. package/templates/hosted-service/package.json +2 -2
@@ -62,7 +62,7 @@ headers, or available backend.
62
62
  `Date.toISOString()` form, for example `2026-07-15T12:00:00.000Z`.
63
63
  - Event sequence numbers and artifact revisions are integers assigned by the
64
64
  server. Clients must not assign either except for the negative deposit
65
- placeholders described in [Atomic deposits](#7-atomic-deposits).
65
+ placeholders described in [Atomic deposits](#8-atomic-deposits).
66
66
  - Optional object members are omitted, not represented as `null`, unless a
67
67
  response below explicitly specifies JSON `null`.
68
68
  - The server owns durability. Events and artifact metadata visible in a
@@ -144,8 +144,8 @@ An actor is exactly one of:
144
144
 
145
145
  `role`, `session`, `user`, and `source` are nonempty strings. A human actor may
146
146
  carry an optional `via` marker naming the delegate that performed the write on
147
- the person's behalf: `{ "kind": "session", "id": nonempty }` (an operator's
148
- orchestrator session) or `{ "kind": "mcp", "client": nonempty }` (an MCP
147
+ the person's behalf: `{ "kind": "session", "id": nonempty }` (a human account's
148
+ operator-agent session) or `{ "kind": "mcp", "client": nonempty }` (an MCP
149
149
  client). `via` is valid only on `human` actors and only on build and
150
150
  repository events — session events are the delegate's own log — and a `via`
151
151
  key on any other actor variant is a validation failure. These are the
@@ -688,7 +688,7 @@ authority:
688
688
  ## 5. Operator-session operations
689
689
 
690
690
  Operator sessions are a third resource kind: durable orchestrator-conversation
691
- state keyed by repository and operator. They are hosted-only — local installs
691
+ state keyed by repository and session owner (the human account in `operator`). They are hosted-only — local installs
692
692
  interact through the CLI and dashboard and never create one — but the resource
693
693
  contract is uniform, and a conforming server implements it the same way it
694
694
  implements the repository journal. A session record is:
@@ -698,7 +698,7 @@ implements the repository journal. A session record is:
698
698
  {
699
699
  "id": "os_9f2c…", // server-assigned, `os_`-prefixed
700
700
  "repo": "acme/autobuild",
701
- "operator": "alice", // trimmed nonblank operator identity
701
+ "operator": "alice", // trimmed nonblank session-owner identity
702
702
  "title": "fix the login flow", // optional
703
703
  "createdAt": "2026-07-15T12:00:00.000Z",
704
704
  "updatedAt": "2026-07-15T12:03:00.000Z"
@@ -707,13 +707,13 @@ implements the repository journal. A session record is:
707
707
 
708
708
  Creating a session makes the record and its first event visible together: the
709
709
  record's creation atomically appends a `session.created` event as sequence 1
710
- with the operator as a human actor. The session event catalog is closed and
710
+ with the session owner as a `human` actor. The session event catalog is closed and
711
711
  separate from the build and repository catalogs (`session.created`,
712
712
  `message.posted`, `session.wake-set`, `turn.started`, `turn.suspended`,
713
713
  `turn.resumed`, `approval.requested`, `approval.answered`, `turn.completed`,
714
714
  `turn.failed`, `session.archived`), with its own per-session sequence starting
715
715
  at 1 and its own actor-per-type rules. A `via` member is never valid on a
716
- session event: session events are the delegate's own log, and the operator's
716
+ session event: session events are the delegate's own log, and the session owner's
717
717
  identity is already the actor.
718
718
 
719
719
  | BuildStore operation | HTTP route | Request | Success |
@@ -967,7 +967,7 @@ project; phase CLI scoped handles still constrain build and session access.
967
967
  Authenticated raw writes cannot claim a delegated `via`. Owner-project
968
968
  credentials also use their recorded creator for operator writes. Dispatcher
969
969
  credentials have an immutable server-side purpose: raw store and tickets only,
970
- never human operator controls. The hosted dispatcher issues one per project
970
+ never operator controls. The hosted dispatcher issues one per project
971
971
  invocation, expiring at its configured TTL, and does not revoke at tick return
972
972
  for dispatcher plumbing. Spawned builds receive independent delegated grants. Shared content-addressed blobs
973
973
  remain deduplicated; this is resource authorization, not blob partitioning.
@@ -115,17 +115,19 @@ exits nonzero on failure. Then:
115
115
  alternate. The runtime that launched setup and the temporary fresh-skeleton
116
116
  default do not constrain the final arrangement.
117
117
  3. Choose the ticket source and workflow states. Confirm account/team facts and
118
- required environment credentials. Configure end-to-end verification with the
119
- repository's real lifecycle and tools. When judgment is required, author a repository-owned
120
- agent-verify skill and select it from an agent verify step.
118
+ required environment credentials. Author a repository-owned acceptance-check skill and select it from an agent
119
+ verify step in every repository. An **acceptance check** is a repository-owned agent verify step that runs the built software, exercises each acceptance criterion in the spec, attaches evidence, and returns a typed verdict. Every repository must configure one. It is not a test suite and leaves no test files behind.
120
+ Wire an existing maintained end-to-end or browser test suite into an ordinary `check` step. If none exists, do not create one during setup. The acceptance check neither substitutes for nor seeds a suite.
121
121
  4. Preserve an existing `autobuild.toml` and unrelated repository choices on a
122
122
  rerun. Change only choices the maintainer approves.
123
123
  5. Commit the config, setup files, lockfiles, and installed reference changes,
124
124
  then push them to `baseBranch`. A remote sandbox clones the authoritative
125
125
  GitHub revision; it cannot acquire local-only edits.
126
126
  6. Run `ab init --validate`. Fix every named failure, review warnings and unknowns, and rerun
127
- validation. Only then use the installed grooming/ticket skills to create the
128
- first groomed Ready ticket and start `ab dispatch`.
127
+ validation. Setup ends at successful validation. Ask the human to start
128
+ `bun ab dispatch`, then open their coding agent at the repository root with
129
+ `ab-operate` loaded to specify, create, groom, and shepherd the first ticket.
130
+ The setup agent must not start dispatch itself.
129
131
 
130
132
  Validation is explicit and noninteractive. It does not dispatch, claim a
131
133
  ticket, or create build, phase, session, event, transcript, or artifact history.
@@ -554,7 +556,7 @@ without the optional readiness capability report UNKNOWN and need an adapter
554
556
  upgrade; local Git passes these hosted-policy checks trivially.
555
557
 
556
558
  Known hard failures make `ab init --validate` exit unsuccessfully. Warnings and
557
- unknowns preserve the workspace validation result and require operator review.
559
+ unknowns preserve the workspace validation result and require your review.
558
560
  Dispatch reports known hard failures once per invocation as durable
559
561
  `dispatcher.forge-readiness-failed` repository notices without adding an admission
560
562
  gate. External orchestrators follow these through `ab watch` with no slugs or an
@@ -9,6 +9,8 @@ You are the implementer. The spec is the contract, the approved plan is your
9
9
  map, and your output is commits on the build branch plus deposited notes.
10
10
  You never push — the push is plumbing that happens when you finish.
11
11
 
12
+ Guidance is an external operator answer, from the operator agent or a human.
13
+
12
14
  ## Session shape
13
15
 
14
16
  1. Run `ab context`. Read the manifest path printed by the command (normally
@@ -17,7 +19,7 @@ You never push — the push is plumbing that happens when you finish.
17
19
  You get the approved spec and plan, your own prior-round notes, every verify report
18
20
  deposited so far under `.ab/verify/`, and this round's feedback when the
19
21
  round has any — at most one of `.ab/findings.json` (code-review findings), a
20
- failed verify step's report in `.ab/verify/`, or `.ab/guidance.json` (a human
22
+ failed verify step's report in `.ab/verify/`, or `.ab/guidance.json` (an
21
23
  operator's answer to the escalation that blocked this build). The manifest's
22
24
  `feedback` field names which one this round is, and is absent when the round
23
25
  carries none.
@@ -61,7 +63,7 @@ You never push — the push is plumbing that happens when you finish.
61
63
  `findings` → resolve every finding in `.ab/findings.json`; findings you
62
64
  dodge come back marked as persisting, and a chain that stays persistent
63
65
  goes to a human. `verify` → get the named step's report in `.ab/verify/`
64
- to pass. `guidance` → `.ab/guidance.json` carries a human operator's reply
66
+ to pass. `guidance` → `.ab/guidance.json` carries an operator's reply
65
67
  to the escalation that blocked this build. The escalation may have come
66
68
  from you, from the reviewer, from the kernel's code-loop stall or policy
67
69
  guards, or from the verify-attempt policy guard after a failed report.
@@ -5,16 +5,15 @@ description: Orchestrate a repository's builds - file and groom tickets, watch b
5
5
 
6
6
  # Operating the repository
7
7
 
8
- The orchestrator is a role, not a deployment. It is whichever agent is
9
- pointed at a repository to file tickets, watch builds, unblock them, answer
10
- operator questions, and drive work to merge. Any agent can take it on: a
8
+ The operator agent is whichever agent is pointed at a repository to file tickets, watch builds, unblock them, answer
9
+ human questions, and drive work to merge. Any agent can take it on: a
11
10
  coding-agent session at the repository root using the `ab` CLI (or `ab mcp`),
12
11
  or the hosted service's embedded turn runner. There is no initialization
13
12
  step — deciding to orchestrate is enough. By default, the agent that
14
13
  specified and queued work (the `ab-spec` and `ab-tickets` skills) takes the
15
14
  role for that work as soon as it is ready, unless the human opts out.
16
15
 
17
- The orchestrator is not a build phase: it never runs pipeline steps, never
16
+ The operator agent is not a build phase: it never runs pipeline steps, never
18
17
  edits the repository, and never touches a build's checkout. Its reach is the
19
18
  operator surface — the `ab` CLI, or the operator tool registry bound into a
20
19
  hosted turn.
@@ -26,7 +25,7 @@ after them apply to both.
26
25
 
27
26
  ## Running locally with the `ab` CLI
28
27
 
29
- Each command acts with the operator's authority, so say what you are doing
28
+ Each command acts with the human's authority, so say what you are doing
30
29
  before you do anything destructive.
31
30
 
32
31
  ### Resolve the local invocation first
@@ -41,7 +40,7 @@ Determine the package manager from `packageManager` and the lockfile:
41
40
  `pnpm-lock.yaml`, or `yarn.lock`. Resolve workspace context from the manifest
42
41
  declaring the dependency and the repository's package-manager configuration.
43
42
  If evidence conflicts or cannot establish the manager, diagnose and tell the
44
- operator instead of guessing.
43
+ human instead of guessing.
45
44
 
46
45
  Verify that the dependency is already installed and that its installed package
47
46
  exposes the `ab` binary you will execute. For node_modules installs, verify
@@ -68,7 +67,7 @@ Before using Yarn Classic, verify its installed local binary and check that
68
67
  command. Report a script conflict instead of executing it.
69
68
 
70
69
  These forms execute an already-installed dependency. A missing dependency,
71
- unavailable binary, or failed local execution must be reported to the operator;
70
+ unavailable binary, or failed local execution must be reported to the human;
72
71
  never hide it with global fallback or install dependencies automatically.
73
72
  Never use bare `bunx ab`, `npx ab`, `dlx`, or other registry-fetching
74
73
  variants: the registry package named `ab` is not Autobuild. Offline cache
@@ -98,7 +97,7 @@ are terminal; add `--repository` for repository attention. With no slugs all
98
97
  active builds and repository attention are included. Reconcile status after
99
98
  arming because historical build attention is silently baselined.
100
99
 
101
- Add an extra monitor only for an identified need, such as an operator asking
100
+ Add an extra monitor only for an identified need, such as a human asking
102
101
  to hear when a particular build merges or an outcome triggering follow-up work.
103
102
  Scope it to named slugs and explicit `--event` globs (for example,
104
103
  `ab watch my-build --event pr.merged --json`), and retire it when that need ends.
@@ -127,7 +126,7 @@ active cause, operation, message, and expected reset. Reset times are advisory;
127
126
  recovery means reads actually succeeded. Allow the existing cooldown and retry
128
127
  behavior, investigate persistent ready-scan failures or a condition still active
129
128
  after its reset estimate, and keep watching through recovery. Empty builds do
130
- not establish idle intake; diagnose persistent trouble and report it to the operator.
129
+ not establish idle intake; diagnose persistent trouble and report it to the human.
131
130
 
132
131
  Repository records have null build and state. Handle them with repository
133
132
  status rather than build commands, keep their cursor, and re-arm. A legacy
@@ -154,7 +153,7 @@ read-only observation: `{repo, build:null, state:null, observation:{type:
154
153
  "dispatcher.lost", run, observedAt, leaseExpiresAt, ...identity}, cursor}`.
155
154
  It has no durable event envelope. Keep its cursor just as for event records;
156
155
  resuming it suppresses repeated loss reports for that run. Inspect repository
157
- status to diagnose the condition and report dispatcher trouble to the operator.
156
+ status to diagnose the condition and report dispatcher trouble to the human.
158
157
  Neither a loss observation nor a later retry authorizes dispatcher intervention.
159
158
 
160
159
  ### Keep watching until the work is done
@@ -193,7 +192,7 @@ Checking once is not shepherding. When you take responsibility for builds:
193
192
  (`blocked`) needs a response, not patience. A watch that exits because
194
193
  every named build is terminal still needs the step 3 status read to learn
195
194
  how each ended.
196
- 6. Report each outcome to the operator, and file or move tickets when the
195
+ 6. Report each outcome to the human, and file or move tickets when the
197
196
  outcome makes that obviously right.
198
197
 
199
198
  ### Inspect
@@ -247,13 +246,13 @@ policy, and explain the landing flow to the human. Ask when intent is unclear.
247
246
  `ab ticket create|update|block|unblock|list|show|move|states` file, edit, and
248
247
  move tickets; the `ab-tickets` skill covers the tracker's details. Moving a
249
248
  ticket into the ready state sends it to dispatch — do that only when the
250
- ticket genuinely conforms and the operator's intent is clear.
249
+ ticket genuinely conforms and the human's intent is clear.
251
250
 
252
251
  ### What the CLI does not offer
253
252
 
254
253
  The registry has operator notes, harvest control, and `discard`, which have no
255
254
  CLI equivalent, and no bulk control beyond `pause --all` / `resume --all`. Say
256
- so rather than improvising; tell the operator, or record it with `ab observe`
255
+ so rather than improvising; tell the human, or record it with `ab observe`
257
256
  when you are inside a build. `ab mcp` mounts the same registry over MCP for
258
257
  harnesses that support it — if you have those tools, the hosted section's tool
259
258
  descriptions apply.
@@ -272,10 +271,10 @@ Each of your turns is one durable agent loop:
272
271
  - The conversation is reconstructed from durable state on every invocation.
273
272
  Nothing is held in memory between invocations; if your turn suspends and
274
273
  resumes in a fresh invocation, the model input is identical.
275
- - Your output streams as protocol parts onto the turn's stream. The operator
274
+ - Your output streams as protocol parts onto the turn's stream. The human
276
275
  sees it live in the session.
277
- - Every tool call is attributed to the session's operator — the human actor
278
- named on every write is that operator, with your session as the delegate.
276
+ - Every tool call is attributed to the session owner — the human account
277
+ named on every write is that owner, with your session as the delegate.
279
278
  Act accordingly: you are spending their authority.
280
279
  - Your tools target exactly one repository, the session's own. You never
281
280
  supply a repository argument; it is bound for you.
@@ -289,7 +288,7 @@ Your turn can stop in two ways, and both are normal:
289
288
  provider call — with the identical conversation. Never assume a turn
290
289
  died; never repeat work a checkpoint already covers.
291
290
  - **Approval.** Some tools are on the repository's approval list. Calling
292
- one suspends your turn (`cause: approval`) until the operator answers.
291
+ one suspends your turn (`cause: approval`) until the human answers.
293
292
  An `approve` answer executes the call; a `deny` answer hands you a denied
294
293
  tool output — treat it as a firm no, say so briefly, and move on. Tools
295
294
  not on the list run without pause.
@@ -309,7 +308,7 @@ Your tools are the operator registry. The read-only ones are always safe:
309
308
  - `repository.status` — the repository's derived status.
310
309
  - `harvest.status` — the observation workflow's current state.
311
310
 
312
- The mutating ones carry the operator's authority — prefer the narrowest
311
+ The mutating ones carry the human's authority — prefer the narrowest
313
312
  that does the job, and say what you are doing before you do it:
314
313
 
315
314
  - `builds.control` — pause, resume, abort, or discard a build. `abort` and
@@ -325,7 +324,7 @@ that does the job, and say what you are doing before you do it:
325
324
  blocker relations.
326
325
  - `tickets.move` — move a ticket between workflow states. Moving a ticket
327
326
  into the ready state sends it to dispatch — do that only when the ticket
328
- genuinely conforms and the operator's intent is clear.
327
+ genuinely conforms and the human's intent is clear.
329
328
  - `notes.read`, `notes.write` — the operator-notes artifact: durable,
330
329
  human-readable notes about this repository's operation. Write what the
331
330
  next turn (or the next human) will need; read it before acting on
@@ -351,7 +350,7 @@ Treat every default-watch record as a call to act:
351
350
  - `escalation.raised`: inspect the question and evidence, then resolve it using
352
351
  the shared rules.
353
352
  - `build.consent-ready`: inspect the one consent queue, then land or hold the
354
- selected candidate under the operator's policy. Unready or stale candidates
353
+ selected candidate under the human's policy. Unready or stale candidates
355
354
  do not produce this observation.
356
355
  - `build.merge-decision`: diagnose the current merge-gate deferral or unsafe
357
356
  forge outcome. Consent and hold decisions use only `build.consent-ready`.
@@ -373,7 +372,7 @@ Treat every default-watch record as a call to act:
373
372
  dispatcher.
374
373
  - Dispatcher loss, abnormal stop, restart-required reload, rejected config, or
375
374
  persistent tick failure: diagnose through repository status and report the
376
- condition to the operator. Repository read failures fail the watch tick and
375
+ condition to the human. Repository read failures fail the watch tick and
377
376
  retry on the next tick, using the existing five-minute persistent-failure
378
377
  attention. For validation failures, inspect the stored tick error for reducer,
379
378
  scope, cursor, field path, and running version/commit. Never start or run a dispatcher.
@@ -389,7 +388,7 @@ These apply in both settings. Where the text below says "plain streamed text", a
389
388
 
390
389
  ### Resolve attention by default
391
390
 
392
- Make a best effort to resolve attention without operator input. Inspect the
391
+ Make a best effort to resolve attention without human input. Inspect the
393
392
  escalation, spec, code, build artifacts/events, and applicable operator notes.
394
393
  Answer questions supported by that evidence, retry when the evidence warrants
395
394
  it, and file or move tickets where that is clearly right, within the existing
@@ -399,17 +398,17 @@ or a human decision is required.
399
398
 
400
399
  ### When to escalate instead of act
401
400
 
402
- Stop and ask the operator — in plain streamed text — whenever:
401
+ Stop and ask the human — in plain streamed text — whenever:
403
402
 
404
403
  - The action is destructive and not clearly instructed (`abort`, `discard`,
405
404
  a bulk control, a repository-wide setting).
406
- - Two readings of the operator's intent diverge in cost or risk.
405
+ - Two readings of the human's intent diverge in cost or risk.
407
406
  - You would be guessing about product direction, priorities, or scope.
408
407
  - A tool refusal repeats and you cannot resolve it with the tools you have.
409
408
  - The attention event is one you cannot act on with the tools you have at all.
410
409
 
411
410
  Filing a ticket is acting — do it when the request is concrete. Default to
412
- resolving attention yourself within these boundaries; ask the operator only
411
+ resolving attention yourself within these boundaries; ask the human only
413
412
  for the exceptions above.
414
413
 
415
414
  ### Boundaries
@@ -437,8 +436,8 @@ for the exceptions above.
437
436
  - Never start, restart, or stop a dispatcher: no `ab dispatch` in any mode,
438
437
  and no dispatcher process-management commands. This applies when the
439
438
  dispatcher is lost, stopped, absent, or failing repeatedly. Its lease,
440
- process, and configuration management belong to the operator. Diagnose
441
- through repository status and report trouble to the operator; reporting
439
+ process, and configuration management belong to the maintainer. Diagnose
440
+ through repository status and report trouble to the human; reporting
442
441
  does not authorize process intervention, including on a later retry.
443
442
 
444
443
  - You never claim to have done anything outside the tools you have. If you cannot
@@ -9,6 +9,8 @@ You are the planner for one build. Your contract: turn the spec into a plan
9
9
  another agent can implement without re-deriving your reasoning. You never
10
10
  write product code in this phase.
11
11
 
12
+ Guidance is an external operator answer, from the operator agent or a human.
13
+
12
14
  ## Session shape
13
15
 
14
16
  1. Run `ab context` first. It hydrates `.ab/` with everything you may see:
@@ -16,7 +18,7 @@ write product code in this phase.
16
18
  commands, and this round's `feedback` when the round has any), `.ab/spec.md`
17
19
  (the contract you plan against), `.ab/ticket.md`, your prior plan revision
18
20
  once you have one, and this round's feedback: `.ab/findings.json` (the
19
- reviewer's findings) or `.ab/guidance.json` (a human operator's answer to
21
+ reviewer's findings) or `.ab/guidance.json` (an operator's answer to
20
22
  the escalation that blocked this build). A round never carries both, and a
21
23
  round may carry neither.
22
24
  When the manifest lists `assets`, they are the build's pinned ticket assets
@@ -59,10 +61,14 @@ Put the selection in an opening TOML front-matter block in the same
59
61
 
60
62
  ```toml
61
63
  +++
62
- verifySteps = ["types", "e2e"]
64
+ verifySteps = ["types", "acceptance"]
63
65
  +++
64
66
  ```
65
67
 
68
+ Here, `acceptance` is an acceptance check: a repository-owned agent verify step
69
+ that runs the built software against each spec acceptance criterion, attaches
70
+ evidence, and returns a typed verdict. It leaves no test files behind.
71
+
66
72
  The array is the complete selected set, including every mandatory step. Its
67
73
  written order does not reorder execution; the kernel canonicalizes to
68
74
  `[verify].steps` order. With no front matter, all configured steps run, which
@@ -80,7 +86,9 @@ verdict.
80
86
  - **Steps** — ordered, concrete, each naming the files it touches and what
81
87
  changes. An implementer should be able to execute steps top to bottom.
82
88
  - **Testing** — what gets unit-tested and at which seams; what the verify
83
- steps will exercise.
89
+ steps will exercise. Prefer unit and integration tests at seams. Add end-to-end
90
+ or browser-automation tests only when the repository already maintains such a
91
+ suite or the spec explicitly asks for one.
84
92
  - **Risks** — the parts most likely to go wrong, and how the implementer
85
93
  will know.
86
94
 
@@ -97,7 +105,7 @@ A round that carries feedback carries exactly one kind, and only that file
97
105
  exists. `.ab/findings.json` is the reviewer's findings against your previous
98
106
  revision: address every one — change the plan, or state in the plan why the
99
107
  finding is wrong (the reviewer sees your revision next round).
100
- `.ab/guidance.json` is a human operator's answer to the escalation that blocked
108
+ `.ab/guidance.json` is an operator's answer to the escalation that blocked
101
109
  this build. It may have been raised by you or the reviewer, or by the kernel's
102
110
  plan-loop stall or policy guards. The file carries the escalation id and the
103
111
  answer text.
@@ -230,7 +230,7 @@ planner does not treat it as a contract.
230
230
 
231
231
  Once work you specified sits in the ready state, its builds start without
232
232
  anyone watching them. By default, the agent that wrote the spec becomes their
233
- operator. You hold the context an escalation asks about — the intent, the
233
+ operator agent. You hold the context an escalation asks about — the intent, the
234
234
  alternatives the human rejected, what was ruled out of scope — and a build
235
235
  blocked on a question you could answer should not wait for a human.
236
236
 
@@ -170,7 +170,7 @@ bounces.
170
170
  stop a build, that's `ab` (or a human), not `mv`.
171
171
 
172
172
  When a conversation queues work by moving it into `ready/` (or the configured
173
- ready state of any source), the agent that queued it becomes its operator by
173
+ ready state of any source), the agent that queued it becomes its operator agent by
174
174
  default, as the `ab-spec` skill describes under "After filing": load the
175
175
  `ab-operate` skill and shepherd those builds to completion unless the human
176
176
  says they will operate them, hands them to another agent, or the session
@@ -4,8 +4,8 @@
4
4
  "build": "ab-hosted-service-build"
5
5
  },
6
6
  "dependencies": {
7
- "@defrex/autobuild-hosted-store-service": "0.14.0",
8
- "@defrex/autobuild": "0.14.0",
7
+ "@defrex/autobuild-hosted-store-service": "1.0.0",
8
+ "@defrex/autobuild": "1.0.0",
9
9
  "next": "16.1.6",
10
10
  "react": "19.2.4",
11
11
  "react-dom": "19.2.4"