@artblocks/abx-cli 0.1.0-alpha.15 → 0.1.0-alpha.17

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 ADDED
@@ -0,0 +1,1476 @@
1
+ # @artblocks/abx-cli
2
+
3
+ ## 0.1.0-alpha.17
4
+
5
+ ### Patch Changes
6
+
7
+ - df298d8: `abx attach` takes several `<key> <uri>` pairs and sends ONE transaction
8
+
9
+ The safety half of backlog B20. The CLI's most-documented flow — mint, then attach each artifact, then
10
+ refresh — sent one transaction per step with **no all-or-nothing boundary**, so a failure partway
11
+ through left a permanently half-written token, and a mint cannot be undone. An integrator hit exactly
12
+ that and folded 8 operations into 1 transaction (846,556 gas) using the SDK's `batchOps` — a primitive
13
+ the CLI already shipped and did not call. Now it calls it.
14
+
15
+ ```bash
16
+ abx attach 0x… stems ipfs://…/stems.wav score ipfs://…/score.pdf readme ar://…
17
+ # → 3 artifacts, one multicall: a revert lands NONE of them
18
+ ```
19
+
20
+ Three things make the batch safe rather than merely shorter:
21
+
22
+ - **Every pair is validated before anything is sent.** A bad locator in pair 5 stops pair 1 — otherwise
23
+ batching would defeat its own purpose.
24
+ - **A key repeated inside one batch is refused.** A field holds one active value, so the later write
25
+ would silently win — the same full-column-upsert hazard that was a real bug in the resolver's
26
+ `register` and a real trap in `lock-field`.
27
+ - **A single pair is unchanged.** `batchOps` passes a lone op through untouched, so the one-artifact
28
+ case sends the identical plain field transaction it always did — no multicall wrapper, no new gas.
29
+
30
+ An odd number of positionals is refused and names the dangling argument, rather than silently ignoring
31
+ it.
32
+
33
+ Still open in B20, and recorded there rather than quietly skipped: batching **`set-field` across several
34
+ fields** needs a flag-grammar decision first (`attach` batched cleanly because its arguments are
35
+ positional pairs; `set-field` takes one `--field` with a correlated `--text`/`--value`, and the parser
36
+ has no notion of correlated repeats). Same for an all-or-nothing "mint and configure" — mint and
37
+ configure are separate commands, so that needs a verb that owns both.
38
+
39
+ - df298d8: `abx deploy-code --resume <address>` — finish a deploy whose setup transaction failed
40
+
41
+ Closes backlog B15. A code project deploys in **two** transactions: create the clone, then one atomic
42
+ `multicall` carrying the script chunks, the PostParam schemas, the dependency declarations, the
43
+ on-chain-URI legs, and any reserve mints. There is no rollback. When the second one fails you own a
44
+ live-but-unusable contract — and the CREATE2 salt reserved for its address is **spent**, so the dry
45
+ run's pinned-salt reproduce command can never be run again. One reporter session produced three
46
+ orphaned contracts from three attempts; another produced five.
47
+
48
+ The useful half of that report is that those contracts were **recoverable, not lost**: resending the
49
+ setup with an adequate gas limit completed one, after which `abx verify` reported chain-complete and the
50
+ token returned its on-chain `animation_url`. The tester did it by hand with `cast`. We deliberately
51
+ never documented that as a recipe — telling a creator to hand-assemble a multicall is worse than telling
52
+ them nothing — so this is the verb.
53
+
54
+ ```bash
55
+ abx deploy-code --resume 0x… <the same content flags the original deploy used> --dry-run
56
+ ```
57
+
58
+ It deploys nothing. It reads what the contract already holds and sends only the missing legs, in one
59
+ transaction — safe to run twice, and if nothing is missing it sends nothing and says so. Three judgments
60
+ carry it:
61
+
62
+ - **Chunks compare by content, not by count.** A count check would call a chunk "present" when a hand
63
+ repair wrote different bytes at that index — and a hand repair with `cast` is exactly what happened.
64
+ - **A schema that already exists is left alone.** Re-writing one is an upsert that can strand values
65
+ already stored under it; that hazard belongs to `set-schema` and its guard, never to a repair.
66
+ - **Mints are a shortfall against current supply, never a re-send.** `mint` is the one non-idempotent
67
+ leg, and a token cannot be un-minted.
68
+
69
+ `--salt`, `--721c`, `--bootstrap-factory` and `--mint-all` are refused rather than ignored: they all
70
+ describe how a contract is _created_, and this creates nothing. ERC-721C especially — enrollment is
71
+ deploy-time-only and permanent, so silently accepting the flag would imply it can be added later.
72
+
73
+ It shares the deploy's own setup-leg builder, so a resume can never drift from what a fresh deploy would
74
+ have written — a second implementation of that sequence is the failure mode a repair verb most easily
75
+ introduces. Signing goes through the same choke point as every other write, so `--sign` / `--unsigned` /
76
+ the owner check / the chain-id guard all apply, and `--dry-run` previews the repair (one bug found and
77
+ fixed while building this: the deploy's dry-run block returned first, so `--resume … --dry-run` printed a
78
+ fresh-deploy plan with a newly-reserved salt and a different predicted address).
79
+
80
+ 15 tests, including every diff branch and the four refusals.
81
+
82
+ - df298d8: `--json` on every value-emitting command: `mint`, `deploy`, `deploy-series`, `deploy-code`, `state`, `verify`
83
+
84
+ Closes backlog B19. The rule it enforces, from an integrator who drove the CLI from a server: **a value
85
+ a program needs must be obtainable without parsing prose.** They had to regex-scrape ANSI-coloured
86
+ stdout for every value — and an escape code was captured into a locator, written into a _stored_ player
87
+ URL, and 404'd in production. The cause was found only by inspecting stored bytes.
88
+
89
+ Under `--json`, **stdout carries exactly one JSON document and nothing else.** Every narration line the
90
+ command would print for a human moves to **stderr** — diverted, not suppressed, because a human
91
+ watching a deploy still wants to see it while a program redirecting stdout still gets a clean parse.
92
+ (The update check already wrote to stderr for exactly this reason; this carries the instinct through to
93
+ the values themselves.)
94
+
95
+ - **`mint --json`** → `{tokenIds, txHash, blockNumber, sent, …}`. The token ids come from the mint's own
96
+ `Transfer(from=0x0)` logs, not from re-reading `nextTokenId` afterwards — a concurrent mint would make
97
+ that answer wrong, and a number that is usually right is worse than no number. A `--count N` batch
98
+ reports all N.
99
+ - **`deploy` / `deploy-series` / `deploy-code --json`** → the address, emitted _the moment it is known_
100
+ rather than at the end, so a failure in the indexing steps that follow still leaves the caller with
101
+ the address of a contract that really exists. That matters most for `deploy-code`, which is two
102
+ transactions: if the setup tx fails, the address of the live-but-incomplete contract is exactly what a
103
+ recovery needs (backlog B15). With `--dry-run` it reports the **predicted** address plus
104
+ `saltPinned` — false meaning a plain re-run reserves a fresh salt and lands elsewhere, so a caller
105
+ must not treat it as reserved.
106
+ - **`state --json`** → the on-chain snapshot as data, with canonical **names** for param types and auth
107
+ legs rather than raw Solidity enum indices (a caller must not have to know the enum ordering), and
108
+ `undefined` (getter absent) kept distinct from a zero address (present, deliberately unset).
109
+ - **`verify --json`** → the findings, with `ok` matching the exit code. This is the one command a CI job
110
+ would gate on, since it already exits non-zero on a byte mismatch. The tri-states stay tri-states:
111
+ `canonical` and each check's `verified` are `true | false | null`, because collapsing "couldn't check"
112
+ into "failed" would report a normal state as a failure.
113
+
114
+ The mechanism is a single shared helper (`withJson`) rather than a `quiet` flag threaded through every
115
+ command body — deliberately, since the alternative is touching dozens of call sites where the one that
116
+ gets missed is a stray line that corrupts a parse, i.e. the exact failure being fixed. A command that
117
+ emits no payload leaves stdout **empty** and exits non-zero rather than printing a `{}` a caller would
118
+ trust. 8 tests cover the channel contract itself, including that the swap is restored when a body
119
+ throws.
120
+
121
+ - df298d8: `abx storage status <locator>` — is it retrievable yet, or only accepted?
122
+
123
+ Backlog B21, and the second half of a gap two independent integrations hit eight days apart. An upload
124
+ service answers "accepted" the moment it holds your bytes; a gateway serves them only once they
125
+ propagate, and on Arweave that runs to minutes. Nothing in the upload result distinguished the two, so
126
+ the natural implementation — upload during a mint, write the locator into the token — mints a token
127
+ that renders broken for the first minutes of its life.
128
+
129
+ The first reporter rebuilt this layer themselves (ranged GETs, a propagating/ready model, retry ladders
130
+ lengthened after measuring real times) and concluded "every serious integrator will rebuild some
131
+ version of this." The second published 32 renders and found **32/32 404ing on `arweave.net` while 22/32
132
+ already served from `permagate.io` and `vilenarios.com`**, with the uploader reporting `CONFIRMED`
133
+ throughout — and the expensive part is what a creator does next, since a placeholder on a fresh drop
134
+ reads as a failed render, so you re-run `abx render --force` and re-upload everything for nothing.
135
+
136
+ That second observation shapes the design: propagation is **per-gateway**, so the check probes the
137
+ gateway your project actually uses _plus two others_, which buys a third verdict the reporters' own
138
+ two-state model couldn't express.
139
+
140
+ - **`ready`** — your gateway serves the bytes. Safe to reference.
141
+ - **`propagating`** — another gateway serves them, so the data **provably exists** on the network and
142
+ yours is merely behind. Waiting is the fix, and the command says plainly not to re-upload.
143
+ - **`unreachable`** — nothing probed serves them. Deliberately _not_ called propagating: from outside,
144
+ a locator that is still settling and one that is simply wrong look identical, and reporting the
145
+ friendlier of the two is how a tool teaches someone to ignore it. When every gateway rejects the id
146
+ itself (a 4xx that isn't 404) rather than just missing it, that _is_ evidence, and the output says
147
+ "malformed locator, waiting will not fix it" — the inverse mistake of waiting out a typo costs more
148
+ than a needless re-upload.
149
+
150
+ Accepts every form a locator arrives in (`ar://`, `ipfs://`, a gateway URL, a bare txid/CID, with a
151
+ directory path suffix), reads **headers only** via a ranged request with the body cancelled — so
152
+ checking a 40 MB asset doesn't download it — and **exits non-zero unless ready**, which makes waiting a
153
+ one-liner instead of a retry ladder: `until abx storage status <loc> --json; do sleep 10; done`.
154
+
155
+ The primitive is `locatorStatus()` in `@artblocks/abx-storage`, not CLI-only (per B20): anything
156
+ programmatic should call it in-process rather than spawning the CLI per check. `abx render`'s existing
157
+ propagation note now points at the command, so the advisory has an answer attached.
158
+
159
+ - df298d8: `abx tokens <address>` — every token's owner, seed, and params, from chain alone
160
+
161
+ The most obvious post-deploy question about a generative collection — _what did the seeds actually
162
+ deal?_ — had no command. `abx verify` reports per-token minted/render status but no seed; `abx
163
+ tokenuri` prints one token and the seed lives inside its base64 `animation_url`; `abx inspect` is
164
+ pre-deploy and static. An agent's workaround was to start `abx serve`, `GET /api/project/<addr>`,
165
+ base64-decode each `tokenURI`, base64-decode the `animation_url` inside it, then regex
166
+ `0x[0-9a-f]{64}` out of the resulting HTML — 32 times. Every input to that was already a plain
167
+ contract read.
168
+
169
+ `abx tokens <address> [--json] [--from <id>] [--limit <n>]` is chain-only: no indexer projection, no
170
+ running resolver, no event scan. The params store maintains its own key lists inside its write paths
171
+ (`tokenParamKeys` / `contractParamKeys`) and `seed` is a reserved param read by name, so the whole
172
+ listing is `eth_call`s — available to anyone with an RPC URL, including before any indexing has
173
+ happened. Seeds print in full (truncating the one value the command exists for would repeat the
174
+ `tokenuri` bug); `--json` emits `{tokenId, owner, seed, params}` per token, contract-scope params
175
+ once on the parent rather than copied into every row.
176
+
177
+ It reports honestly across all three token types rather than failing: a 1/1 has no params extension
178
+ and says so (owners still list), a pre-enumeration project still yields seeds and flags that params
179
+ can't be enumerated, and an id whose `ownerOf` reverts is `null` — not "not minted", because a
180
+ burned id and an unminted id revert identically and a chain-only read can't tell them apart.
181
+
182
+ Two things it deliberately is not. It is not a trait spread: a trait comes from running the script
183
+ against the seed, which is `abx render`'s job — the token-scope _param_ spread it does print is
184
+ labelled as such. And the reader is in the **SDK** (`listTokens`), not just the CLI, so a
185
+ programmatic integrator gets it without reimplementing it.
186
+
187
+ Backlog B25 (from the 2026-08-04 tester batch, feedback `dcfdc6f4`).
188
+
189
+ - df298d8: `abx tokenuri --fetch` — follow the URL the contract commits to and print what is actually served
190
+
191
+ Closes backlog B14. No command printed the served JSON body: `tokenuri` read the chain, `verify`
192
+ re-hashed bytes, `status` reported the indexing lifecycle — each a different slice, none of them the
193
+ document a marketplace actually reads. An agent in a cold sweep fell back to raw `curl` for exactly
194
+ this, which is the tell that a command was missing.
195
+
196
+ ```bash
197
+ abx tokenuri 0x… --fetch # GET the baked URL, print the served body + HTTP status
198
+ abx tokenuri 0x… --fetch --json # {tokenURI, onChain, served: {url, status, contentType, body}}
199
+ ```
200
+
201
+ It also answers the question a _warning_ could not, which is why the other half of B14 stays declined.
202
+ "Nothing tells you the provider you registered with isn't the base baked on-chain" is a real gap, but
203
+ the obvious check — compare the remote's base URL to the on-chain one — false-positives on the common
204
+ custom-domain case (a baked `meta.artist.xyz` fronting `api.provider.xyz`), and a warning that cries
205
+ wolf on the correct setup is worse than none. Fetching what the **baked** base returns makes the
206
+ mismatch self-evident instead: you see the other provider's 404, or another project's document, with no
207
+ guessing and no false positive.
208
+
209
+ Three judgments worth naming:
210
+
211
+ - **A `data:` URI is not a failure.** It IS the document, and a fully-on-chain project's whole point is
212
+ that there is no server to ask — so it reports "nothing to fetch" and exits 0. Treating it as an error
213
+ would punish the strongest configuration the protocol offers.
214
+ - **A dead host and a served error are different answers**, because they route to different fixes ("your
215
+ provider said no" vs "the URL a marketplace will ask is unreachable").
216
+ - **A non-2xx says it is about the SERVICE, never a mistyped path** — the URL came from the chain, so it
217
+ is right by construction, and the readout points at `abx status --remote` for the lifecycle.
218
+
219
+ Under `--json` the body is verbatim and untruncated and a non-2xx exits non-zero, so CI can gate on it;
220
+ the human readout clips at 1200 chars and says how many it clipped. The fetch itself lives in
221
+ `src/served.ts` with an injectable `fetch`, since `main.ts` exports nothing — the same reason
222
+ `scaffold.ts` was extracted.
223
+
224
+ This retired the last two `curl` recommendations in the shipped skill: verifying an attach is now
225
+ `abx tokenuri <addr> --fetch` (the served document carries the `artifacts` manifest), and the skill's
226
+ claim that `tokenuri` "follows" the URL — previously true only of `contracturi` — is now accurate.
227
+
228
+ - Updated dependencies [df298d8]
229
+ - Updated dependencies [df298d8]
230
+ - Updated dependencies [df298d8]
231
+ - @artblocks/abx-sdk@0.1.0-alpha.9
232
+ - @artblocks/abx-token-api@0.1.0-alpha.12
233
+ - @artblocks/abx-storage@0.1.0-alpha.9
234
+ - @artblocks/abx-indexer@0.1.0-alpha.10
235
+
236
+ ## 0.1.0-alpha.16
237
+
238
+ ### Patch Changes
239
+
240
+ - 8f3c63c: Four output surfaces that misinformed: an occupied port, a repeated `verify` advisory, a silently-dropped `tokenuri` argument, and a release-notes URL that 404s.
241
+
242
+ **`abx serve` / `abx preview` on an occupied port crashed with a raw Node stack trace.** `listen()` had
243
+ no `'error'` handler, so `EADDRINUSE` reached Node's default handler and printed a trace through
244
+ `node:net` and our own `dist/` paths. In a CLI where every other error is formatted, that reads as a
245
+ crash inside abx rather than a port conflict, and it leaks internal paths. Both commands now preflight
246
+ the port and name the port and the fix in one line — `demo` already did this, and the check it used is
247
+ now shared. (`preview`'s default 8788 colliding with a studio left running in another terminal was
248
+ reported as the harder-to-diagnose half of this.)
249
+
250
+ **`abx verify` printed the identical thumbnail advisory once per token.** On a 32-token project with no
251
+ local renders that was 32 consecutive copies of the same full sentence — ~4KB of text for one fact —
252
+ which pushed the four lines that answer "did my deploy work" off a default terminal. It now prints one
253
+ line per outcome with a count and the affected token ids (truncated past 12), so the same information
254
+ costs three lines at 32 tokens and three lines at 1000.
255
+
256
+ **`abx tokenuri <address> 0` silently ignored the `0`** (the token id is `--token`) and printed token 0 —
257
+ a _coincidentally correct_ answer, which is the dangerous kind: `… <address> 7` would have printed token 0
258
+ just as confidently and exited 0. A stray positional is now refused, and a numeric one names the
259
+ corrected invocation. The `positionalArgs` helper moved next to `parseFlags`, because the two must
260
+ consume argv by the same rule — the obvious hand-rolled version of this check reads `--token 0` as a
261
+ stray `0`.
262
+
263
+ **The update banner pointed at `github.com/ArtBlocks/abx/releases`, which 404s** for anyone outside the
264
+ org, and no changelog shipped in the package — so "what changed?" was unanswerable. A tester
265
+ reconstructed the diff by running the same dry run on two versions, which is how they discovered the
266
+ canonical singletons had moved and then had no way to tell whether it needed them to act.
267
+ `CHANGELOG.md` now ships with the package and **`abx changelog`** prints it (offline, version-matched;
268
+ `--all` for the full history), with npm's version list as the online pointer. The upgrading guide now
269
+ also states the thing they had to test for themselves: a singleton redeploy repoints the manifest for
270
+ _new_ deploys and leaves already-deployed contracts unaffected.
271
+
272
+ **Plus one propagation note.** `arweave.net` — the default gateway, and the one baked into the locator —
273
+ indexes new uploads on a delay, so a freshly published render can 404 there for minutes while Turbo has
274
+ already confirmed it. A tester saw 32/32 404ing on arweave.net while 22/32 already served from other
275
+ ar.io gateways. Unexplained, that reads as a failed render, and the natural next move is
276
+ `abx render --force` on everything — a full re-upload that fixes nothing. `abx render` now says so after
277
+ an Arweave publish, and names `ABX_ARWEAVE_GATEWAY` for baking a different gateway (it is fixed at
278
+ publish time, since the locator is what the resolver registers). The note stays quiet when the operator
279
+ has already chosen a non-default gateway.
280
+
281
+ _(From the 2026-08-04 tester batch: feedback `eb972036`, `57bee789`, `dcfdc6f4`, `5a052398`, `e0f30e22`.)_
282
+
283
+ - 8f3c63c: Two writes that reported success without doing what the creator meant now refuse: `lock-field` on a parameter key, and a `Bytes` parameter given text.
284
+
285
+ Both are the same defect wearing different clothes — the CLI made statements that were individually
286
+ true and collectively a promise it wasn't keeping.
287
+
288
+ **`lock-field` reported "permanent" on a PostParam key and left the param writable.** A tester welded
289
+ `grid` — a `Bytes` param holding the artwork — with `abx lock-field <addr> --field grid`. It printed
290
+ `Lock token #0 field "grid" — permanent`, `tokenFieldLocked(0,"grid")` returned `true`, and the very next
291
+ `configure-param grid <junk>` **succeeded** and overwrote the artwork. Nothing lied: fields and params
292
+ are separate namespaces that may share a name, and `lock-field` had locked the _field_. But the creator
293
+ was told their work was permanently protected when it had no protection at all, and permanence is the
294
+ pitch. `lock-field` now reads `paramSchema(<name>)` first and **refuses** a declared param key, naming
295
+ the mechanism that does weld a param (`abx set-schema … --schema <key>:<Type>:<Auth>:lock=now`), with
296
+ `--force-field` for the rare case where you really do mean the metadata field.
297
+
298
+ **A `Bytes` parameter stored whatever characters you typed, as UTF-8.** Passing base64 — reasonable,
299
+ since the params docs say a `Bytes` value "becomes base64" — stored 172 bytes of base64 _ASCII_ where
300
+ 128 packed bytes were meant; `0x`-prefixed hex was stored as its 258 literal characters too. Nothing
301
+ errored, and an in-chain renderer reading the param drew garbage from ASCII with no failure anywhere in
302
+ the chain. A `Bytes` value must now say what its bytes are: `0x`-prefixed hex, or `--file <path>`. A bare
303
+ string is **refused** rather than guessed at, because there is no safe guess between "these characters"
304
+ and "these bytes", and the wrong guess is invisible until an artwork renders wrong. (`String` is
305
+ unchanged — there, the characters _are_ the value.)
306
+
307
+ The docs' "becomes base64" describes the **read** side — how a program receives the value — and now says
308
+ so, next to the two write forms.
309
+
310
+ Also fixed: the byte count that was already the tell. The write echoed the _input string's_ length, so
311
+ the mismatch was visible at write time and printed as if it were fine (`Configure grid (data, 172
312
+ bytes)`). It now echoes the decoded byte count and where the bytes came from.
313
+
314
+ _(From the 2026-08-04 tester batch: feedback `e86081a1`, `b0e88b17`.)_
315
+
316
+ - 8f3c63c: The renderer scaffold's `IAbxParams` can now read `Bytes` and `String` parameters — the two types that can carry an actual payload.
317
+
318
+ The scaffold's interface declared only `tokenParam` / `contractParam`, both returning
319
+ `(bytes32 value, bool valueIsHash, bool isSet)`. So a renderer written against the documented interface
320
+ could not reach a `Bytes` or `String` value at all: it got a keccak commitment and no way to the blob.
321
+ The token has always exposed `tokenParamData(uint256,bytes32)` and `contractParamData(bytes32)` — a
322
+ tester found them by grepping the CLI's bundled ABI, declared them by hand, and it worked.
323
+
324
+ Since `Bytes` and `String` are precisely the types that can hold a real payload (~24KB per key), leaving
325
+ them out made the in-chain art lane look limited to scalars unless you went digging. Both readers are now
326
+ in `src/interfaces/IAbxParams.sol`, with the rule stated where the mistake happens: scalars come from the
327
+ `bytes32` reader, payloads from the data reader, and a `Bytes` param read through `tokenParam` hands you a
328
+ hash — which renders garbage without failing anywhere.
329
+
330
+ The scaffold's own tests carry the pattern rather than just describing it: `MockParams` now models a
331
+ payload param the way the real contract does (the scalar slot holds `keccak256(content)` with
332
+ `valueIsHash` true), and two tests show the read plus the commitment check, and that an unset payload key
333
+ returns empty bytes rather than reverting. The renderers page documents the pair alongside the scalar one.
334
+
335
+ _(From the 2026-08-04 tester batch: feedback `d2ac4f2e`.)_
336
+
337
+ - 8f3c63c: `abx scaffold-renderer` wrote **zero files** for every installed user while reporting success — fixed, and pinned by the test that was missing.
338
+
339
+ The command created the target directory, printed the full green-check walkthrough (`cd renderer`,
340
+ `forge soldeer install`, `forge test`, the deploy script, "full walkthrough: renderer/README.md") and
341
+ **exited 0**. The directory was empty. No `src/`, no `foundry.toml`, no `README.md`. Three testers
342
+ reproduced it independently — 3 of 3 and 4 of 4 attempts, across all three invocation forms (relative
343
+ name, absolute path, and the no-arg default) — on alpha.9, alpha.12 and alpha.14.
344
+
345
+ **The cause was a path filter that judged absolute paths.** The copy excluded build dirs with
346
+
347
+ ```js
348
+ filter: (s) =>
349
+ !/(^|\/)(out|cache|dependencies|broadcast|node_modules)(\/|$)/.test(s);
350
+ ```
351
+
352
+ `cpSync` hands `filter` **absolute** source paths, and an installed CLI lives at
353
+ `…/node_modules/@artblocks/abx-cli/assets/renderer-scaffold`. So the pattern matched the source
354
+ **root**; `cpSync` skips a directory's entire subtree when the directory itself is filtered out, and
355
+ does it _silently_ rather than erroring. A dev checkout's path
356
+ (`…/packages/cli/assets/renderer-scaffold`) contains no `node_modules`, so every test we ran passed and
357
+ every user got an empty directory. The scaffold assets were always in the published package — this was
358
+ never missing content, only a copy step that no-oped.
359
+
360
+ Fixed on both axes, because either one alone would have let this ship:
361
+
362
+ - **The filter judges paths relative to the scaffold root**, so `node_modules` in the _install_ path is
363
+ irrelevant while `out/`, `cache/`, `dependencies/`, `broadcast/` inside the scaffold are still skipped.
364
+ - **The command asserts its own output.** It now throws if `src/MyRenderer.sol` isn't there afterwards,
365
+ instead of printing a success banner over nothing. Exit 0 plus a green check is what made this
366
+ expensive: an agent has no reason to look back at a step that reported success, so the failure
367
+ surfaced far away — `forge soldeer install` dying in an empty directory.
368
+
369
+ The copy logic moved to `src/scaffold.ts` so it can be tested at all (importing `main.ts` runs the CLI),
370
+ and `test/scaffold.test.ts` copies **from a path containing `node_modules`** — the layout every user has
371
+ and the one case no previous test covered — plus an end-to-end run asserting the scaffolded project is
372
+ non-empty and contains the files the success message names.
373
+
374
+ This was the documented entry point to the in-chain Solidity lane and the only documented route to
375
+ `--image-renderer` / `--attributes-renderer`, so it blocked that lane outright. The full walkthrough
376
+ (`forge soldeer install` → `forge test`) now runs clean: 10 tests pass in a freshly scaffolded project.
377
+
378
+ _(From the 2026-08-04 tester batch: feedback `6f2f980a`, `b45bc0f8`, `d2ac4f2e`.)_
379
+
380
+ - 8f3c63c: The agent skill now names the both-worlds code lane, the payload-param reader, and the verb that welds a parameter.
381
+
382
+ Four corrections, all from the same batch that produced the CLI fixes — the skill described the lanes in a
383
+ way that made the strongest option invisible:
384
+
385
+ - **`--script` plus `--image-renderer` is now a lane in its own right.** The table and the in-chain
386
+ section both said "no `--script`", which is a true constraint of the _renderer-only_ shape and read as a
387
+ prohibition on combining them. A program with Solidity renderers gets `animation_url` from its on-chain
388
+ chunks _and_ an on-chain `image`/`attributes` — every marketplace surface in-chain with nothing to
389
+ render, host, or refresh. That is the best available answer for an interactive generative drop and it
390
+ was reachable only by ignoring the skill.
391
+ - **Renderers are told which reader a `Bytes`/`String` param needs.** The guidance said to read params via
392
+ `tokenParam`/`contractParam`, which for the two payload types returns a keccak commitment — so a
393
+ renderer written from the skill drew garbage from a hash with nothing failing. `tokenParamData` /
394
+ `contractParamData` are now named where the mistake happens.
395
+ - **`configure-param`'s payload encoding is explicit**: `String` takes text, `Bytes` takes `0x` hex or
396
+ `--file`, and a bare string on a `Bytes` key is refused.
397
+ - **Locking a param points at `set-schema … :lock=now`**, since `lock-field` freezes the same-named
398
+ _field_ and now refuses a declared param key.
399
+
400
+ _(From the 2026-08-04 tester batch: feedback `c283d767`, `d2ac4f2e`, `b0e88b17`, `e86081a1`.)_
401
+
402
+ - 8f3c63c: The `deploy-code` **Surfaces** preflight no longer contradicts itself, and a script plus an on-chain image renderer is now a documented combination rather than an open question.
403
+
404
+ The `[5] Surfaces` block is the most-praised thing in the deploy preflight — a tester singled out its
405
+ "not backfillable" framing as the direct fix for a confusion they'd filed a version earlier. It also
406
+ told two lies in adjacent lines, both found while answering their follow-up question.
407
+
408
+ **"One or more surfaces resolve to NOTHING a marketplace can see" fired when none did.** An undeclared
409
+ param was folded into the broken-surface test, so a deploy with both renderers set printed
410
+ `thumbnail: ON-CHAIN ✓` and `traits: on-chain ✓` and then, two lines later, that a surface resolved to
411
+ nothing — re-recommending `--image-renderer` and `--attributes-renderer`, the exact flags already
412
+ passed. A dropped param is not a dead surface: the piece renders, that input takes its default. The
413
+ alarm now covers only the thumbnail and traits, names only the remedies for what is actually broken, and
414
+ says _which_ surface. Dropped params keep their own, milder line.
415
+
416
+ **An on-chain image renderer was told to stand up a render runner.** With `--image-renderer` _and_ a
417
+ script, the block recommended `abx deploy-effects`, a one-shot `abx render`, and a publish-capable
418
+ storage backend — none of which apply, because an in-chain SVG has no off-chain still to render, host,
419
+ or refresh. It now says `nothing to render` for any on-chain image lane, with the from-chain check.
420
+
421
+ **And the question the tester explicitly flagged as untested — does passing a script _and_ an
422
+ `--image-renderer` yield both a live `animation_url` and an on-chain thumbnail? — is yes.** Verified on a
423
+ dry run: `animation_url` still assembles on-chain from the script chunks while `image` and `attributes`
424
+ are computed by the Solidity renderers, so every marketplace surface has an on-chain home in one deploy
425
+ with nothing to run. The deploy guide now leads the content-lane section with that combination instead of
426
+ implying the two lanes are an either-or.
427
+
428
+ The guide also gains the correction to the _other_ half of that question. A resolver plus
429
+ `abx render --backend arweave` does **not** backfill a `--onchain-uri` drop's marketplace surfaces: it
430
+ sends no transaction, so `tokenURI` keeps returning the on-chain JSON with its placeholder `image` and
431
+ no `attributes`, which is what marketplaces read. Checked against the reporter's own live 32-token
432
+ contract — `tokenURIBase` is empty, the metadata renderer is authoritative, and `image` provenance still
433
+ reads `fallback — image field unset`. Publishing stills to a resolver is real and useful, and closing
434
+ those surfaces afterwards takes owner transactions that re-point resolution. The guide now says so
435
+ plainly, since "just render to a resolver later" would have been a new false promise in place of the
436
+ old one.
437
+
438
+ Three tests pin the block: an undeclared param never claims a dead surface, an on-chain image renderer
439
+ is never sent to a runner, and a script with no renderer and no resolver still reports both surfaces
440
+ dead.
441
+
442
+ _(From the 2026-08-04 tester batch: feedback `c283d767`, `991dc8e2`, `7936334b`, `a319e53f`.)_
443
+
444
+ ## 0.1.0-alpha.15
445
+
446
+ ### Minor Changes
447
+
448
+ - e325b46: Opt-in ERC-721C support across the toolkit — plain ERC-721 stays the transparent default.
449
+
450
+ SDK: `OneOfOneInitParams`/`SeriesInitParams` (and `SeriesCodeInitParams` by inheritance) gain
451
+ `transferValidator` immediately after `royaltyBps` — `zeroAddress` = plain ERC-721 forever (the
452
+ default), non-zero = permanent 721C enrollment with that validator. A new `creator-token` module
453
+ ships the per-chain `RECOMMENDED_TRANSFER_VALIDATOR` (OpenSea's
454
+ StrictAuthorizedTransferSecurityRegistry, verified live on Sepolia + Base Sepolia), the two
455
+ creator-token ERC-165 ids + the ABX extension id, `readCreatorTokenStatus()` (`{enrolled,
456
+ validator}`), and a `prepareSetTransferValidator()` write wrapper.
457
+
458
+ CLI: the deploy commands take `--721c [recommended|0x…]` — absent means zero behavior/output
459
+ change; `recommended` resolves the per-chain constant (refused, naming the chains that have one,
460
+ where none is known); an explicit address is EIP-55-validated and pre-checked for code before any
461
+ gas. Enrolling prints one plain statement of what enforcement means. A new owner op
462
+ `abx set-transfer-validator <address> <0x…|none|recommended>` re-points or suspends an ENROLLED
463
+ collection's validator (guards `--dry-run`; refuses plain ERC-721s up front — enrollment is a
464
+ deploy-time decision). `abx state` shows the validator for enrolled collections only.
465
+
466
+ ### Patch Changes
467
+
468
+ - Updated dependencies [e325b46]
469
+ - @artblocks/abx-sdk@0.1.0-alpha.8
470
+ - @artblocks/abx-indexer@0.1.0-alpha.9
471
+ - @artblocks/abx-storage@0.1.0-alpha.8
472
+ - @artblocks/abx-token-api@0.1.0-alpha.11
473
+
474
+ ## 0.1.0-alpha.14
475
+
476
+ ### Minor Changes
477
+
478
+ - 1b50f9d: On-chain param enumeration: a project's parameters are now readable from the chain that holds them, and the `params.keys` convention is retired.
479
+
480
+ The params store was unenumerable by design, so anything that wanted to know _which_ parameters a
481
+ project has had to be told. The answer was a convention: a `params.keys` contract param holding a
482
+ comma-separated list, composed by `deploy-code` from the `--schema` flags and hand-maintained
483
+ thereafter. It worked, and it had the defect every hand-maintained index has — a key configured but
484
+ not listed was **silently omitted from every render**. The schema existed, a collector could set it,
485
+ the art never saw the value, and nothing anywhere reported a problem. The CLI grew a nudge, then a
486
+ same-transaction companion write, and both were treatments for a design that should not have needed
487
+ them.
488
+
489
+ **The token now maintains its own key lists.** `SeriesCode` gains `tokenParamKeys(tokenId)`,
490
+ `contractParamKeys()`, and `paramSchemaKeys()` (plus `…Paged` variants for surfaces past an RPC's
491
+ return cap). The lists are updated inside the write paths themselves, so `key ∈ list ⟺ the param is
492
+ set` holds for every writer — raw owner writes, governed `configure-param` writes, hook-driven writes,
493
+ all of them. No caller can forget, because no caller is involved. (`seed` is deliberately never listed:
494
+ every consumer reads it as a tokenData coordinate, and indexing it would charge every seeded mint for
495
+ nothing.) `paramSchemaKeys()` closes the other half — a chain-only frontend can now build a configure
496
+ UI, including for keys declared but never yet written, which nothing off-chain could previously
497
+ discover.
498
+
499
+ **The canonical `AbxGenerator` reads that surface instead of the CSV.** It no longer looks at
500
+ `params.keys` at all, and a `params.keys` value set on a new project is simply an ordinary parameter —
501
+ enumerated and emitted like any other, by both the generator and the SDK. A latent parity bug dies with
502
+ the convention: the generator's no-CSV path emitted tokenData in insertion order while the canonical
503
+ serializer sorts, so the two byte-forms could disagree; there is now one form.
504
+
505
+ **`AbxMetadataRenderer` is spec v4.** `tokenURI` gains a computed `abx_params` object — every set
506
+ parameter, contract and token scope merged, token wins, sorted, decoded by the same rules the generator
507
+ and the SDK use. A data-backed value over 2048 bytes is emitted as `{"keccak256":"0x…"}` — its on-chain
508
+ commitment — rather than inline, so a large `Bytes` parameter cannot bloat `tokenURI` past a single
509
+ `eth_call`; every key still appears, and an oversized one degrades self-describingly. Parameters are
510
+ _not_ folded into `attributes`: that stays the creator's surface. Also in v4: an `animation_url` carried
511
+ by the `inline` or `reader` representation is now wrapped as `data:text/html;base64,…`, exactly as
512
+ `image` already was — the asymmetry was an oversight, and it meant a fully on-chain animation was
513
+ handed to wallets as bare text.
514
+
515
+ Both changes are additive on the read side: pointed at a token that predates enumeration, a v4 renderer
516
+ simply emits no params block. **Repointing the metadata renderer is safe anywhere.** Repointing the
517
+ _generator_ is not, and `abx set-field` now refuses it: a legacy implementation plus the current
518
+ generator means every parameter silently vanishes behind a `tokenURI` that still looks healthy, so the
519
+ CLI stops you rather than warning you, and names both ways out (stay on the project's existing
520
+ generator, or redeploy).
521
+
522
+ Everywhere else in the toolkit, the convention is simply gone:
523
+
524
+ - `deploy-code --onchain-uri` sets up in **three** legs, not four (animation field → generator, plus
525
+ the two URI renderers). There is no key list to compose, report, or keep in sync, and the help text
526
+ no longer teaches one.
527
+ - `abx set-schema` is a single op again — no companion write, no multicall. This **supersedes**
528
+ alpha.13, which shipped `set-schema` writing `params.keys` in the same transaction to stop a governed
529
+ key going unlisted: the contract now maintains its own key list, so there is nothing to keep in step
530
+ and the drift that fix guarded against is gone rather than mitigated. Same for that release's note
531
+ that "there is no on-chain enumeration of schema keys" — `paramSchemaKeys()` is exactly that.
532
+ - `abx state` reads the governed surface from `paramSchemaKeys()` and the collection-scope values from
533
+ `contractParamKeys()`. A project deployed before enumeration falls back to reading its old
534
+ `params.keys` list, read-only, so live testnet drops still describe themselves.
535
+ - `abx verify` notes when a project's enumerated surface exceeds ~64 keys — the documented design
536
+ envelope. The write side is unbounded; the read side is what grows, since `tokenURI` and `tokenData`
537
+ assemble every parameter per call.
538
+ - `abx configure-param <addr> - params.keys <csv>` no longer has a special path. Writing that key is
539
+ now an ordinary schema-less contract param, and it shows up in tokenData as one — honest, and
540
+ documented.
541
+ - `abx_params` joins `artifacts` and `abx_provenance` as a computed key `set-field` and `attach` refuse.
542
+
543
+ The SDK needed no semantic change: `buildTokenData` has always been event-derived (coordinates + seed +
544
+ every set param, both scopes, token wins, augment entries), and the contract enumeration implements
545
+ exactly that rule. Its `deployments` manifest carries the new addresses.
546
+
547
+ ### Patch Changes
548
+
549
+ - 1b50f9d: Fixes from an integrator batch: a machine-readable `tokenuri`, one Arweave identity across CLI and SDK, a correct OpenSea refresh, and attach telling the truth.
550
+
551
+ **`abx tokenuri --json`.** The command abbreviated long values (`… (382 chars)`) with no way to turn it
552
+ off, so for a token whose whole point is on-chain content it returned something that _looked_ like the
553
+ metadata and wasn't. An integrator scraped it, stored a `data:` URI cut to 96 characters, and only
554
+ found out in production; they abandoned the CLI as a read path and reimplemented `eth_call`. `--json`
555
+ now emits the verbatim decoded document — no banner, no ANSI, no truncation — so
556
+ `abx tokenuri <addr> --json | jq` is a supported read path. The human view still abbreviates, and now
557
+ says `[--json for the full value]`.
558
+
559
+ **One Arweave identity, resolved in one place.** `arweaveConfigFromEnv()` read `ARWEAVE_JWK` and
560
+ nothing else, while the CLI mints and manages `.abx-self-host/arweave-key.json`. Porting a working CLI
561
+ flow to the SDK — same machine, minutes later — failed every upload with "Arweave via Turbo needs an
562
+ identity", a message that says storage was never configured when the truth was that two layers
563
+ disagreed about where the identity lives. `@artblocks/abx-storage` now exports `resolveArweaveJwk()`
564
+ (env → managed key file) and the CLI delegates to it. Its diagnostics come with it: an empty key file
565
+ now reports the **path** and the remedy instead of `Unexpected end of JSON input`, and a corrupt one
566
+ says the same.
567
+
568
+ **`abx refresh` on the default chain.** The OpenSea slug map held only `sepolia` and `mainnet`, so
569
+ `base-sepolia` — the CLI's own default — fell through to the raw key: the refresh POST went to a slug
570
+ OpenSea doesn't know, and the printed link pointed at **mainnet** `opensea.io` for a testnet token.
571
+ Slugs are now correct (`base_sepolia`), `testnet` comes from the chain registry rather than a second
572
+ hand-maintained set, and a chain with no known slug produces **no link** instead of a wrong one. Same
573
+ shape as the hardcoded explorer table that once sent every Base Sepolia link to Etherscan.
574
+
575
+ **`abx attach` names its dependency.** Attaching artifacts to a project that resolves on-chain now
576
+ warns, before the send, that they will **not** appear in `tokenURI` — the on-chain renderer carries
577
+ reserved fields only, and the artifacts manifest comes from a resolver. A team attached five audio
578
+ stems to a fully-on-chain token and found them "paid for, stored on-chain, and invisible"; the note
579
+ that existed was one dim line that read as a footnote rather than as a missing service.
580
+
581
+ **`ensureChunkStore` moved to the SDK.** The bootstrap every on-chain-content path needs existed only
582
+ inside the CLI, so an SDK integrator got `resolveChunkStore()` (may return undefined) plus a separate
583
+ `storeSupportsWriteContent()` they had to remember — forget it and an incapable store fails _deep
584
+ inside a mint, after transactions have landed_. One team hand-rolled the guard for exactly that reason.
585
+ `ensureChunkStore(publicClient, send, {chainId, override, onEvent})` is now exported; the SDK reports
586
+ progress through `onEvent` instead of printing, and the CLI keeps its narration.
587
+
588
+ **`abx storage upload --json`.** The locator as data. They scraped this line, captured its ANSI colour
589
+ codes along with the URL, wrote the result into a _stored_ player URL, and found out when it 404'd in
590
+ production. In `--json` mode stdout carries the JSON and nothing else; progress moves to stderr.
591
+
592
+ **`--backend ipfs` no longer hides a missing credential.** Without `PINATA_JWT` the backend resolves to
593
+ **kubo against a local node**, so a dry run looked fine and the real upload failed for anyone not running
594
+ one. The preview now says so. Related correction: the skill claimed "a backend missing its secret falls
595
+ back to `fs`" — it does not. `cloud` refuses up front naming the missing values, and `ipfs` goes to the
596
+ local node; nothing silently degrades to local disk. Both sides now say the same thing.
597
+
598
+ Reported in the 2026-08-03 MXRR integration batch (feedback 869f27b1, a256217f, 119d7e8e, 975c363e,
599
+ e38216db, e267078b).
600
+
601
+ - 1b50f9d: Unknown flags on a command that can send now **refuse** instead of warning — and `--chain` teaches `ABX_CHAIN`.
602
+
603
+ `abx deploy-code … --chain sepolia` ran to completion **on the default chain** (base-sepolia). There is
604
+ no `--chain` flag — the chain comes from the `ABX_CHAIN` environment variable — and the generic
605
+ stray-flag warning said so, accurately, and then the command carried on. On a dry run that is a
606
+ confused minute; on a funded send it is a wrong-chain deploy with real artifacts at an address nobody
607
+ is watching. Prose that gets ignored once gets ignored again, so:
608
+
609
+ - **`--chain` is refused on every command**, read-only ones included (a command that quietly ignored it
610
+ would still teach the wrong model). The message names the mechanism, the chain that _is_ active, the
611
+ known chain keys, and the corrected invocation: `ABX_CHAIN=sepolia abx deploy-code …`.
612
+ - **`deploy`, `deploy-series` and `deploy-code` refuse any unrecognized flag**, naming the offender and
613
+ pointing at `abx help <command>`. `--dry-run` refuses identically — a preview that accepts what the
614
+ real send rejects is its own trap, since you would validate a command and have it fail at the one
615
+ moment it matters.
616
+ - **Read-only commands still only warn.** Nothing can be mis-sent, and a stray flag shouldn't stop a
617
+ creator mid-iteration.
618
+
619
+ Refusing is safe rather than risky here, and this was verified rather than assumed: a flag absent from a
620
+ command's allowlist is by construction one that command never reads. Every `flags.x` read inside
621
+ `cmdDeploy`, `cmdDeploySeries` and `cmdDeployCode` was compared against its allowlist — no gaps — so
622
+ refusal cannot break a working flag, only make an already-ignored one loud.
623
+
624
+ Five tests cover it, including the literal `--chain sepolia` repro, dry-run/real-send parity, and a
625
+ no-false-refusal pass over the documented deploy flags.
626
+
627
+ - 1b50f9d: `abx preview --shoot --param key=value`, and `set-schema --force` says what it overrode.
628
+
629
+ **`--shoot` can render the collector-has-set-it state.** It only ever shot the _unset_ one, so
630
+ answering "what does this collection look like when someone picks a theme?" meant hand-rolling a
631
+ Playwright script against the preview server's `/view` — which is exactly what one agent did. `--param`
632
+ is repeatable (`--param theme=Neon --param mood=Calm`) and forwards into every frame. An empty value
633
+ (`--param theme=`) shoots the unset state explicitly, matching the wire shape production uses for a
634
+ param nobody has written.
635
+
636
+ **`set-schema --force` no longer applies a value-stranding change silently.** It refuses such a change
637
+ by default; with `--force` it now prints each risk it is overriding and notes that any token already
638
+ holding a value keeps it, now outside what its schema allows. Applying that quietly was the one outcome
639
+ worse than refusing — nobody, including the operator, got a record of what may have just been
640
+ invalidated.
641
+
642
+ - Updated dependencies [1b50f9d]
643
+ - Updated dependencies [1b50f9d]
644
+ - @artblocks/abx-sdk@0.1.0-alpha.7
645
+ - @artblocks/abx-storage@0.1.0-alpha.7
646
+ - @artblocks/abx-indexer@0.1.0-alpha.8
647
+ - @artblocks/abx-token-api@0.1.0-alpha.10
648
+
649
+ ## 0.1.0-alpha.13
650
+
651
+ ### Minor Changes
652
+
653
+ - 1158420: Expose the PostParam schema lifecycle: `abx set-schema`, `abx retire-param`, Address legs, and `lock=`.
654
+
655
+ Three capabilities the contracts have always had, that the toolkit could not reach — so they read to
656
+ creators as protocol limitations. All three were reported in the 2026-08-03 tester batch.
657
+
658
+ **A project's param surface was never frozen at deploy.** `setParamSchema` is owner-gated with no
659
+ deploy-time restriction and no `exists` check, so it is an upsert usable for the life of a project.
660
+ There was just no command for it, and the CLI said so out loud ("Adding a param to an already-deployed
661
+ contract isn't a CLI command yet"), which pushed designers toward guessing their full param surface up
662
+ front or redeploying — losing the address, the mints, and the collectors. `abx set-schema <addr>
663
+ --schema key:Type:Auth` attaches or replaces one key.
664
+
665
+ Because it is a **full-row upsert on a contract that never re-validates stored values**, the command
666
+ carries a guard rather than a warning: it prints before/after, and _refuses_ a change that could strand
667
+ values already written under the key — a narrowed bound, a dropped `Select` option, a changed type —
668
+ unless you pass `--force`. It also flags an existing `lock=` you are about to drop by not restating it.
669
+
670
+ **A parameter can be retired.** There is no delete in the contract (`exists` is only ever set true), but
671
+ a `lockAfter` in the past makes every later write revert `ParamLockExpired`, permanently. `abx
672
+ retire-param <addr> <key>` does exactly that, reading the current schema and changing _only_ the lock so
673
+ type/auth/bounds/options carry forward untouched. It does not remove the key and does not erase a stored
674
+ value — a value written under a `TokenOwner`/`Address` leg came from a collector, and the artist
675
+ deliberately cannot delete it.
676
+
677
+ **An `Address` auth leg is now expressible.** `--schema` previously rejected every Address-bearing leg
678
+ with "set that schema post-deploy via the contract" — advice pointing at a command that did not exist.
679
+ The auth token now names its holder inline (`board:Bytes:Address(0xabc…)`), and the error for a bare
680
+ `Address` says what the leg is for: a **contract** may hold it, which is how open and multi-party
681
+ participation is built today. `authAddress` and `lockAfter` were also hardcoded to zero at the
682
+ deploy-time call site, so neither was reachable there either; both now flow through `--schema`.
683
+
684
+ `--schema` gains an optional 4th field, `lock=<when>` (ISO date, unix seconds, or `now`), sharing the
685
+ Timestamp grammar the bounds already use. A 4th field that is not `lock=` now reports the spec-shape
686
+ error instead of a mangled "malformed type", which is what a `:` inside a `Select` label used to produce.
687
+
688
+ New in the SDK: `prepareSetParamSchema`, `prepareRetireParam`, `readParamSchema`, `OnChainParamSchema`.
689
+
690
+ (feedback 4a0c213a, 5d530681, 381bdcbe)
691
+
692
+ > [Superseded 2026-08-03: params now enumerate **on-chain** (renderer spec v4, `abx_params`) and
693
+ >
694
+ > > `params.keys` is retired — the contract maintains its own key list, so nothing off-chain has to keep
695
+ > > it in step and `abx state` reads the chain directly. See the on-chain param enumeration entry.]
696
+
697
+ `set-schema` also keeps **`params.keys` in step, in the same transaction**. On the on-chain URI lane
698
+ the canonical generator builds tokenData from that CSV, so a key that is governed but not listed is
699
+ silently omitted from every render — the schema exists, a collector can set it, and the art never sees
700
+ the value. `deploy-code` composes the list from `--schema` for exactly this reason; without the
701
+ companion write, a schema added later would have quietly half-worked. Projects not on that lane (where
702
+ `params.keys` is unset) get no extra write.
703
+
704
+ > [Superseded 2026-08-03: params now enumerate **on-chain** (renderer spec v4, `abx_params`) and
705
+ >
706
+ > > `params.keys` is retired — the contract maintains its own key list, so nothing off-chain has to keep
707
+ > > it in step and `abx state` reads the chain directly. See the on-chain param enumeration entry.]
708
+
709
+ And `abx state` now prints the governed PostParam surface — each key's type, auth, bounds/options, an
710
+ upcoming lock date, and a `retired` marker for one whose lock has passed. There is no on-chain
711
+ enumeration of schema keys, so it reads the project's own `params.keys` list, which is also what the
712
+ generator reads; anything missing from it is invisible to renders anyway. It also names keys listed
713
+ there with no schema. This is what makes `set-schema`'s upsert safe to use: you can see a key's current
714
+ shape before overwriting it.
715
+
716
+ - 1158420: `abx deploy` (1/1) can finally do "image off-chain, JSON on-chain, no server" — the pattern the docs already recommended.
717
+
718
+ The decisions table calls this pattern 2 and presents it as the sweet spot for static art. It worked
719
+ on `deploy-series`. On the 1/1 command it silently did not: `--onchain-uri` inlines the image only
720
+ when it is an SVG, and a raster fell through to keccak256 custody with no URL wired anywhere, so the
721
+ on-chain renderer held a hash it could not serve and `tokenURI` returned a **placeholder — forever**.
722
+ Adding `--backend arweave` changed nothing, which was the cruel part: it looked exactly like the
723
+ documented recipe. A cold agent asked for "no server, still there in ten years", followed the docs,
724
+ and would have shipped a permanently broken token.
725
+
726
+ `deploy` now takes the same route the Series takes. When `--onchain-uri` meets a non-inlinable image
727
+ and a backend that can serve a public URL (`arweave` · `ipfs` · `cloud`), the file is uploaded as a
728
+ one-entry directory — `putDirectory`, the identical call `deploy-series` makes, so both commands
729
+ produce the same URL shape from one code path — and its URL is baked on-chain as the image field. The
730
+ bytes are still stored under their content hash as well, so `abx verify` keeps working. A backend that
731
+ can only serve from this machine (`fs`) still falls through to custody, and still warns.
732
+
733
+ The readouts learned that this is a three-way distinction, not a binary, because "no server" and
734
+ "on-chain" are different promises and a creator buying permanence is choosing between them:
735
+
736
+ - image genuinely on-chain (`--onchain-image`, or an inlined SVG) → **"Done — fully on-chain."**
737
+ - image at a durable URL the on-chain JSON points at → **"Done — metadata on-chain, image on ipfs."**
738
+ plus a line naming whose permanence it actually is (Arweave paid-once-forever; IPFS while pinned).
739
+ - neither → the placeholder warning, before the spend, naming both routes that would fix it.
740
+
741
+ Verified end to end on Base Sepolia (`0xdE5aCD35b74B6d002781De51217590a9c5B53EDC`): `tokenURI(0)` read
742
+ straight from chain with `cast` — no `abx`, no server — returns an IPFS gateway URL that serves HTTP
743
+ 200 with bytes identical to the source file, and reports itself honestly in `abx_provenance` as
744
+ `source: url · onChain: false`.
745
+
746
+ Closes B17. Found by the 2026-08-03 parallel agent sweep.
747
+
748
+ ### Patch Changes
749
+
750
+ - 1158420: `abx inspect` no longer reports dependencies, params, or runtime problems that aren't in the code.
751
+
752
+ Every detector in the analyzer was a regex over the raw file, so prose counted as code. One
753
+ tokenizer pass now gives the detectors a comments-stripped, string-blanked view:
754
+
755
+ - **A comment or string mentioning a library is no longer a dependency.** A dependency-free
756
+ vanilla-canvas sketch whose header read `// no p5` was reported as `libraries: p5`, and the lane
757
+ recommendation then said `--dep p5@<version>` — advice an agent adopts verbatim, which bloats the
758
+ stored on-chain document and can push a drop to a chain whose dependency registry it needs.
759
+ Real `p5`/`THREE`/`Tone` usage is still detected (pinned by tests).
760
+ - **Reserved coordinates are never listed as PostParams.** `tokenId`, `chainId`, and
761
+ `contractAddress` (like `seed` before them) are injected by the runtime and cannot be declared,
762
+ but they landed in the "declare EACH at deploy or it's silently dropped" warning with
763
+ `--schema tokenId:<Type>:<Auth>` advice that must not be followed.
764
+ - **A dotted param key read through an alias is detected.** `const d = abx.tokenData;` then
765
+ `d['collapse.index']` was invisible, producing a false "dropped at render" warning on a correct
766
+ program — and ABX's own output-naming convention is dotted (`effect.render.image`), so the
767
+ documented idiom tripped the analyzer.
768
+
769
+ Reported in the 2026-08-03 tester batch (feedback 3b66e443, f69e15d6, 8184f7dd, 6d32f874).
770
+
771
+ - 1158420: `abx deploy --onchain-uri` no longer claims "fully on-chain" over a token whose image isn't.
772
+
773
+ `--onchain-uri` puts the metadata JSON on-chain. It inlines the _image_ only when the image is an
774
+ SVG; a raster falls through to keccak256 custody, and the on-chain renderer then serves a
775
+ **placeholder** image. The success banner printed "Done — fully on-chain … no server or hosting
776
+ needed" for that configuration, so a creator would believe they had permanence they did not have —
777
+ and only discover it later via `abx tokenuri` (`source: "fallback"`, `onChain: false`).
778
+
779
+ Two changes, both computed from the actual file rather than the flag:
780
+
781
+ - The dry run (and the real run) now warn **before the spend** that the image is a keccak256 anchor
782
+ and `tokenURI` will serve a placeholder, pointing at `--onchain-image --compress fastlz` or a
783
+ served base URL. The code lane's dry run already warned about this case; the 1/1 lane shipped it
784
+ silently.
785
+ - The success banner says "Done — metadata on-chain" and names the image's real status. An SVG (or
786
+ `--onchain-image`) still gets the unqualified "fully on-chain" banner, because that one is true.
787
+
788
+ Reported in the 2026-08-03 tester batch (feedback a8921f18).
789
+
790
+ - 1158420: Fix `deploy-code` reverting `DeploymentFailed()` — the setup transaction was sent with a gas limit estimated against a contract that did not exist yet.
791
+
792
+ Every `deploy-code` attempt in a reporter's Base Sepolia session reverted with Solady's
793
+ `DeploymentFailed()` (`0x30116425`), in both the on-chain and hosted-resolver lanes, with a minimal
794
+ case of storing a single 3,563-byte script chunk. It was not a defect in the chunk path: the two
795
+ transactions simply **ran out of gas**.
796
+
797
+ ```
798
+ 0xcad74d07… gasLimit 201,616 gasUsed 198,870 (98.6%)
799
+ 0xf4350724… gasLimit 169,301 gasUsed 166,810 (98.5%)
800
+ ```
801
+
802
+ A code project deploys in two transactions: create the clone, then one setup `multicall`. The second
803
+ targets the contract the first just created — and `eth_estimateGas` for that call, taken while the
804
+ answering node has not yet seen the deploy block, returns the **calldata cost alone**. Replaying both
805
+ payloads against a codeless address reproduces the sent limits _to the gas_ (201,616 and 169,301);
806
+ against the real contract the same calls need 941,331. A setup multicall's cost is dominated by
807
+ CREATE code deposit (~200 gas per stored byte), so the underfunded CREATE inside `SSTORE2.write`
808
+ returned 0 and reverted. The 1/1 lane was unaffected because its setup fits inside a calldata-sized
809
+ budget.
810
+
811
+ This is the same read-after-write lag the deploy loop already pins the **nonce** against, one field
812
+ over. The fix has two halves, and deliberately does not include a third:
813
+
814
+ - **Every leg after the first waits for the target's code to be visible** to the client doing the
815
+ estimating, so a lagging node cannot produce a meaningless estimate in the first place. This is the
816
+ actual repair.
817
+ - **An impossible estimate is detected and refused, not replaced.** `PreparedTx` gained an optional
818
+ `gasFloor` carrying only the _provable_ part of a payload's cost — EVM code deposit at exactly 200
819
+ gas per stored byte. An estimate below that is not "low", it is proof the node is on stale state, so
820
+ the sender retries and then errors out with what it saw.
821
+ - **What we did NOT do: substitute a computed gas limit.** Only the deposit is derivable; the same
822
+ setup multicall also carries schema writes, dependency legs, URI legs and mints whose cost cannot be
823
+ known without simulating them. A "probably enough" constant is tuned to whoever's example was in
824
+ front of its author — it would have covered the reported single-chunk case and then under-funded a
825
+ three-schema deploy by ~200k, reproducing the identical `DeploymentFailed()` with a fresh mystery
826
+ attached. Refusing to send is strictly better than sending a transaction we can prove is
827
+ under-funded, which would burn the gas and orphan the contract.
828
+
829
+ All three signing lanes carry this, not just the hot one: the env-key lane pins the limit before
830
+ `sendTransaction`, the wallet lane waits for code and hands the browser an explicit `gas` (a wallet
831
+ estimates against its own RPC, which we don't control and which lags the same way), and the cold lane
832
+ prints `gasMustExceed` — labelled a floor, not a limit — plus a note telling an external signer to
833
+ re-estimate rather than send if their own number comes back below it. The rule lives in one place
834
+ (`packages/cli/src/gas.ts`) so the lanes cannot drift apart on it.
835
+
836
+ Reported in the 2026-08-03 tester batch (feedback 156ea0fb, 172111ae), root-caused from the full
837
+ transaction hashes supplied in the follow-up addendum.
838
+
839
+ - 1158420: `abx preview` stops fabricating param values, and `--shoot` stops blaming the program for its own timeouts.
840
+
841
+ - **An unset PostParam is now absent from the preview's `tokenData`, exactly as on-chain.** Preview
842
+ injected a per-type default for every declared key — `Select` got its FIRST option — so an
843
+ optional `theme:Select[Newsprint|…]` override rendered every frame as `Newsprint` with nobody
844
+ having set anything: nine seed-distinct pieces collapsed into one palette, while the deployed drop
845
+ (where the key is genuinely absent) would take the program's other branch entirely. Production
846
+ (`buildTokenData`) only injects params that actually have a value; preview now matches it, so the
847
+ program's own `?? fallback` runs in both places. The studio's `Select` control gained an explicit
848
+ "— unset (program fallback) —" default position, so unset is now expressible rather than
849
+ indistinguishable from the first option.
850
+ - **`--shoot` distinguishes "the program reported no traits" from "we stopped waiting."** A wait
851
+ that expired was swallowed, so a loaded machine turned a correct, trait-reporting program into
852
+ "NO frame reported traits" — inverting the one line agents are told to trust and costing a full
853
+ diagnostic cycle. Timed-out frames now report `timed out — traits unknown` and a warning that
854
+ names it a measurement failure and suggests `--timeout-ms`; the silent-killer alarm only fires
855
+ when the program really did report nothing.
856
+ - **A missing Chromium build names the install command for the Playwright that actually loaded**
857
+ (`node <resolved>/cli.js install chromium`). The stock hint (`npx playwright install`) can resolve
858
+ a different Playwright version than the one that just launched, so you download a browser
859
+ revision it won't use, get the identical error, and run the same command again.
860
+
861
+ Reported in the 2026-08-03 tester batch (feedback f843c952, 994f1d67, 534835d9).
862
+
863
+ - 1158420: Teach the agent skill how to handle audio and time-based work.
864
+
865
+ A "can ABX host a music tool?" session found zero mentions of audio, music, or sound anywhere in the
866
+ skill. The protocol supports it — `animation_url` is an HTML document, so Web Audio works, and
867
+ `attach` handles `.wav`/`.mp3`/`.mid` — but five judgments a sound piece needs were unauthored, so an
868
+ agent had to guess or decline: browser autoplay policy (a marketplace iframe cannot start audio
869
+ without a gesture), what the thumbnail _is_ for non-visual work, `abx.done()` semantics for a
870
+ duration-based piece (settle the visual, don't wait out playback), the dependency lane for audio
871
+ libraries (`tone` needs a registry entry ⇒ Sepolia, like `p5`), and the fact that there is no
872
+ `render/audio` output declaration to reach for.
873
+
874
+ Reported in the 2026-08-03 tester batch (feedback fd6109db).
875
+
876
+ - 1158420: `abx skill install` can no longer overwrite a newer skill with an older one, or delete the skill it is installing.
877
+
878
+ Two ways the same command could destroy the thing it exists to install, both hit while working in the
879
+ abx repo itself:
880
+
881
+ - **A stale prepack bundle shadowed the canonical skill.** `<pkg>/skill` is gitignored build output
882
+ written at `prepack`; the canonical copy lives at `.claude/skills/abx-self-host`. Resolution
883
+ preferred the bundle unconditionally, so a leftover `skill/` from an old `npm pack` was installed
884
+ **over** the canonical skill — silently replacing v0.1.0-alpha.12 with v0.1.0-alpha.4, after which
885
+ the CLI's own drift check reported the stale version as if the user had put it there. When running
886
+ from source (the repo working tree) the canonical copy now wins; the published layout, which has no
887
+ repo and no canonical copy, still uses the bundle.
888
+ - **Installing onto the source deleted it.** `installSkillTo` removes the destination before copying,
889
+ so when destination _was_ the source (a cwd-relative install inside the repo) it deleted the
890
+ canonical skill and then had nothing to copy from. Same-path installs are now a no-op that reports
891
+ `already the canonical copy — left as is`.
892
+
893
+ - 1158420: Fixes from a parallel cold-agent sweep: a chain typo no longer crashes every command, and `inspect` stops over-promising on hand-written PRNGs.
894
+
895
+ **An unknown `ABX_CHAIN` printed a raw Node stack trace — from every command.** Chain-derived values
896
+ were resolved at module scope, in `token-api` (which the CLI imports) and in the CLI itself, so the
897
+ throw happened during module evaluation, before `main()` existed to catch it. `ABX_CHAIN=mainnet abx
898
+ doctor` dumped an internal source path and exited 1 — including from the one command whose job is to
899
+ tell you what is wrong with your environment. Those resolutions are lazy now, and the CLI validates
900
+ the variable up front with an answer rather than a crash: unknown values list the shipped chains, and
901
+ a mainnet-shaped value says plainly that ABX is testnet-only today.
902
+
903
+ **`abx inspect` reported "(no PRNG)" for a hand-written seeded generator — with the _stronger_
904
+ reproducibility verdict attached.** The `seeded` check only recognized p5's `randomSeed(`, so a
905
+ vanilla LCG or xorshift matched no branch and fell through to "traits look derived from the
906
+ seed/params directly". That is the common case, not an edge one — the skill's own canonical
907
+ dependency-free example hand-rolls an LCG, and all three sketches written by agents in the sweep hit
908
+ it. A hand-rolled generator now gets the `careful` verdict and is told the truth: deterministic and
909
+ reproducible on-chain, but only by porting that exact generator and call order into Solidity.
910
+
911
+ Also: `--yes` is now documented in `deploy-code --help` (its own placeholder-identity refusal already
912
+ told you to pass it), and the `--onchain-uri` raster warning now names the two routes that actually
913
+ deliver a no-server image instead of only one.
914
+
915
+ Found by the 2026-08-03 parallel sweep (8 cold Sonnet/Haiku agents, isolated sandboxes).
916
+
917
+ - Updated dependencies [1158420]
918
+ - Updated dependencies [1158420]
919
+ - Updated dependencies [1158420]
920
+ - @artblocks/abx-sdk@0.1.0-alpha.6
921
+ - @artblocks/abx-token-api@0.1.0-alpha.9
922
+ - @artblocks/abx-indexer@0.1.0-alpha.7
923
+ - @artblocks/abx-storage@0.1.0-alpha.6
924
+
925
+ ## 0.1.0-alpha.12
926
+
927
+ ### Minor Changes
928
+
929
+ - feba8c2: A resolver is no longer an object store: effect outputs split into **bound** and **referenced**
930
+ (`specs/protocol/effects.md → Bound vs referenced`), and the artifact registry enforces the split.
931
+
932
+ An output is **bound** iff a binding stitches its _content_ into the metadata JSON (today exactly
933
+ `render/traits` → `attributes`); everything else is **referenced** — the projection carries its URL,
934
+ or it only appears in the `artifacts` manifest. That one distinction decides who holds the bytes, and
935
+ it is now the wire rule rather than a runner constant.
936
+
937
+ - **`POST /v1/effect-artifacts` derives the mode from the binding, and refuses both mismatches.**
938
+ Bytes for a referenced output → `400` (the resolver redirects either way, so the bytes buy no
939
+ capability and cost it storage, retention and egress). A locator for a bound output → `400` (its
940
+ content is assembled into `tokenURI`; a pointer there used to be recorded and then silently never
941
+ stitch — a wrong answer served confidently). Bound content is capped at **64 KB**, and a locator
942
+ that only the producer could resolve (loopback/private host, presigned expiring URL) is rejected.
943
+ The resolver never fetches a locator while handling the write, and serves registered locators by
944
+ `302` — never by proxying.
945
+ - **Bound content moved out of byte custody** into the artifact row (`effect_artifacts.bytes`). Two
946
+ distinct rules, deliberately not one: a node **MUST** serve and stitch bound content only at the
947
+ token's current settled `inputsHash`, and it **MAY** drop superseded content whenever it likes
948
+ (nothing may read it, and it is re-creatable). The reference drops eagerly, on each bound
949
+ registration, so it holds at most `64 KB × minted × bound outputs` — but retention is a service
950
+ policy, not an obligation. Either way "conforming means holding a bounded amount of JSON in the
951
+ database you already run" is now literally true: a resolver in the publish topology needs no object
952
+ storage at all.
953
+ - **`abx-effects-publish/v1` is gone** (not deprecated): the two routes ride `abx-control-plane/v1`.
954
+ Once referenced output is locator-only, accepting a registration is a database insert, so the
955
+ capability flag described a distinction that no longer exists. A service that won't take a caller's
956
+ artifacts refuses on the credential (`403`) — interfaces describe wire grammar, tokens describe
957
+ permission. The interface ids are also explicitly **all-or-nothing**, and the conformance fixture
958
+ now checks that every route a declared interface names actually answers.
959
+ - **The runner declares bound outputs** (`EffectOutputDecl.bound`), refuses to start when it has a
960
+ publish token but a backend that can't name a locator, preflights the descriptor + credential
961
+ before spending a render, and **latches** on a permanent (4xx) publish failure instead of
962
+ re-rendering every sweep forever. Skips now re-register rows, so a transient publish failure heals
963
+ without a re-render.
964
+ - **The CLI refuses the impossible combination up front**: `abx render --remote`, `abx effects`
965
+ against a remote resolver, and `abx deploy-effects` all require a backend that can name a reachable
966
+ URL — `cloud` (S3/R2 + public base), `ipfs`, or `arweave`, named as **peers**. Derived output is
967
+ re-creatable, so the protocol has no preference among schemes: a chosen `https://` gateway or
968
+ bucket URL is exactly as legitimate as `ipfs://`/`ar://`, and reachability — not durability — is
969
+ the requirement. Rendering **co-located** with the resolver remains fully supported on any backend,
970
+ including `fs`.
971
+
972
+ Breaking for producers that relied on pushing media bytes to a resolver: publish a locator instead,
973
+ or co-locate. Breaking for clients that read `abx-effects-publish/v1` from a descriptor.
974
+
975
+ ### Patch Changes
976
+
977
+ - Updated dependencies [feba8c2]
978
+ - @artblocks/abx-sdk@0.1.0-alpha.5
979
+ - @artblocks/abx-token-api@0.1.0-alpha.8
980
+ - @artblocks/abx-indexer@0.1.0-alpha.6
981
+ - @artblocks/abx-storage@0.1.0-alpha.5
982
+
983
+ ## 0.1.0-alpha.11
984
+
985
+ ### Minor Changes
986
+
987
+ - 67b686b: `abx contracturi`, and the read plane stops answering a bare 404 to three different problems.
988
+
989
+ Both halves come from one real failure: an agent driving a hosted resolver wanted collection
990
+ metadata, pattern-matched off `/t/{chainId}/{address}/{id}`, dropped the token id, got a bare `404`,
991
+ and reported the service as broken. The documented route (`/c/{chainId}/{address}`) was right there —
992
+ but there was also no command to just _ask_, and the 404 gave it nothing to correct.
993
+
994
+ - **New `abx contracturi <address>`** — the collection-level counterpart of `tokenuri`. Reads
995
+ `contractURI()` (ERC-7572) from the contract, **follows it**, and decodes: a `data:` URI inline
996
+ (the on-chain lane), an `https://` URL by fetching it (the off-chain lane). A contract commits its
997
+ own metadata base on-chain (`contractURIBase`), so the chain — not a doc, not a service
998
+ descriptor — is the authoritative answer to where a project's metadata lives. Nobody needs to
999
+ hand-build a resolver URL. When the fetch fails, the message says so plainly: the URL came from
1000
+ the chain, so a bad status is about the _service_ (unregistered project · wrong chain · down),
1001
+ never a mistyped path.
1002
+ - **Read-plane responses now carry a machine `code`**, so the three causes of "no metadata came
1003
+ back" are distinguishable — they were one indistinguishable `{"error": "…"}` `404`:
1004
+ - `400 invalid_request` — a real route, wrong shape. Names the correct template, and carries
1005
+ `didYouMean` when the fix is obvious (a `/t/…` missing its token id → `/c/{chainId}/{address}`).
1006
+ - `404 unknown_route` — this node serves nothing at that path; the body lists what it does serve.
1007
+ - `404 not_registered` — the path and chain were fine; this node doesn't index that contract.
1008
+ - `400 unsupported_chain` — wrong chain, plus the `chains` this node does serve. Was a bare `404`;
1009
+ now matches what the control plane already answered for the same condition.
1010
+ - `ServiceErrorCode` gains `unknown_route`. The spec's Errors section now covers the read plane too,
1011
+ with a **MUST** on distinguishing the three misses — and an explicit **MUST NOT** on treating
1012
+ route templates as per-node discoverable configuration. The route grammar is fixed by the
1013
+ `abx-token-api/v1` interface; these responses are diagnostics, not a discovery mechanism.
1014
+ - **The conformance fixture checks all of it** (`pnpm conformance <base-url>`), so any provider can
1015
+ self-verify in one command. Also fixed: the documented `pnpm conformance -- <base-url>` form
1016
+ parsed `--` as a flag and swallowed the base URL, printing usage instead of running.
1017
+
1018
+ ### Patch Changes
1019
+
1020
+ - Updated dependencies [67b686b]
1021
+ - @artblocks/abx-sdk@0.1.0-alpha.4
1022
+ - @artblocks/abx-token-api@0.1.0-alpha.7
1023
+ - @artblocks/abx-indexer@0.1.0-alpha.5
1024
+ - @artblocks/abx-storage@0.1.0-alpha.4
1025
+
1026
+ ## 0.1.0-alpha.10
1027
+
1028
+ ### Minor Changes
1029
+
1030
+ - a72723d: A standard indexing lifecycle, and registration that no longer blocks on a slow chain RPC
1031
+ (specs/self-host-toolkit/remote-services.md → The indexing lifecycle).
1032
+
1033
+ - **Fixed: a slow register triggered a retry storm.** The SDK's per-attempt timeout (30s) plus its
1034
+ retry ladder meant a cold reconstruct that outran one request was **re-POSTed up to four times**,
1035
+ each starting another full replay against the RPC that was already too slow to answer — and the
1036
+ caller then saw "nothing responded" even though the registration was durable and indexing was
1037
+ underway. A timed-out register now asks whether it landed (a status read) instead of re-POSTing, and
1038
+ the resolver coalesces concurrent catch-ups for one project into a single run.
1039
+ - **`POST /v1/projects` answers in two conformant shapes, discriminated by HTTP status:** `200` with
1040
+ the completed summary, or `202` + `{accepted, project: {status}}` when catch-up is deferred. The
1041
+ registration is normatively **durable before catch-up** and visible on the list immediately, so a
1042
+ flaky RPC makes for a slower backfill rather than a lost add. No `?wait=`/`Prefer:` negotiation — the
1043
+ status code is the discriminator, and clients handle both. The reference resolver answers _by
1044
+ deadline_ (`ABX_REGISTER_DEADLINE_MS`, default 8s): the common case (a fresh deploy) stays
1045
+ synchronous with real counts; only the pathological case defers.
1046
+ - **Closed lifecycle enum + error classes, on the status and list routes:**
1047
+ `queued | backfilling | live | stale | failed`, plus credential-free
1048
+ `error.class ∈ {rpc_unavailable, rpc_rate_limited, not_abx_contract, internal}` (fixed per-class
1049
+ messages, never a scrubbed upstream string). Status gains top-level `headBlock` (so lag / % complete
1050
+ is computable without knowing a service has a watcher) and `attempts`; the list carries `status` +
1051
+ the error class, so a client renders "3 live, 1 backfilling, 1 failed (rpc_rate_limited)" in one
1052
+ request. SDK: `IndexStatus`, `IndexErrorClass`, `isAccepted()`, `indexProgress()`,
1053
+ `classifyIndexError()`, and `AbxServiceClient.awaitIndexed()` — one wait loop for the CLI, the
1054
+ effects runner, and any hosted agent.
1055
+ - **The same five words on your own node.** `abx status [address] [--remote [name|url]] [--watch]`:
1056
+ bare is the node summary (now with each project's state), an address gives lifecycle + scan floor +
1057
+ blocks-indexed-vs-head + cause, and `--remote` asks a service. (`status` = who is serving it and how
1058
+ fresh; `state` = what the chain says. Both `--help` texts now say so.)
1059
+ - **New observability the self-hosted node never had:** the chain watcher marks projects `stale` when
1060
+ it falls far behind head or its ticks keep failing (previously visible only in the node's log),
1061
+ re-queues a backfill interrupted by a restart (previously left registered-but-empty until a manual
1062
+ `abx index`), and retries a `failed` catch-up on exponential backoff instead of hammering a
1063
+ rate-limited RPC every tick. Lifecycle rows live in their own table: they survive a projection wipe
1064
+ and are never clobbered by a re-add.
1065
+ - **CLI:** `abx add|index --remote` prints `registered — backfilling…`, polls to `live`, then prints
1066
+ the same summary a synchronous service would have given; `--no-wait` returns at the 202 and names
1067
+ the command to check later. A post-op nudge (`ownerops`) never blocks on someone else's backfill.
1068
+ A caught-up project with **0 events** now warns instead of printing ✓ (a real ABX clone always emits
1069
+ a spine, so zero means wrong chain/floor or an RPC that didn't serve the logs).
1070
+ - **Conformance fixture** accepts either register shape, asserts durable-before-catch-up, lifecycle
1071
+ membership, `headBlock`, that a deferred catch-up actually reaches `live`, and that no error message
1072
+ carries a URL.
1073
+ - Fixed `scripts/mock-remote-service.mts`, which imported the token API by a path that resolved
1074
+ against `scripts/` and could silently fall back to a _published_ build outside the repo — the
1075
+ fixture was testing the last release instead of the working tree. The fixture also re-points
1076
+ scenarios by their fixture header now, so a new one can't keep a dead contract address.
1077
+
1078
+ Found by a cold-agent sweep over the above (10 parallel clean rooms, haiku + sonnet) and fixed here:
1079
+
1080
+ - **`abx status --remote <name>` with no address** parsed the flag itself as the address and sent it
1081
+ as a URL path segment.
1082
+ - **A register whose catch-up already failed** was announced as "registered — failed (…is catching
1083
+ up…)", and with `--no-wait` it exited 0 and then claimed the provider "now serves" the project. A
1084
+ known failure is now an error in both lanes — there is nothing left to wait for.
1085
+ - **A `failed` status said what broke but not whose problem it was.** Both the failure error and
1086
+ `abx status` now carry a per-class action line ("the SERVICE can't reach its chain RPC — not your
1087
+ key, address, or chain…"), plus a `follow` line naming `--watch`, so a red word isn't a dead end.
1088
+ - **A `live` project showed a misleading completion percentage.** `toBlock` only advances when a
1089
+ project has _events_, so a fully current project on a busy chain read as `2/202 (0%)`.
1090
+ `indexProgress()` now returns a ratio only while `backfilling`; `live` reads "caught up", `stale`
1091
+ reads "not tracking head right now".
1092
+ - **`--remote-token` was misattributed on a 401** — the error blamed `ABX_REMOTE_<NAME>_TOKEN` even
1093
+ when the caller passed an override, making the override look ignored at exactly the moment someone
1094
+ is testing a replacement key.
1095
+ - **`not_registered` on a read** (status/reindex) now names the register command instead of echoing a
1096
+ 404, and a 5xx carrying a failure `class` becomes a wait-vs-broken error.
1097
+ - **`abx verify`'s summary** read `✓ 0/1 up to date` for a project with no off-chain renders at all —
1098
+ "zero of one succeeded" to two independent reviewers. It now says "nothing to render for this
1099
+ project", and otherwise leads with polarity ("N of M token(s) current").
1100
+ - **`abx doctor` now reports named remotes** and flags a credential stored under a name the CLI does
1101
+ not read (`ABX_REMOTE_<NAME>_KEY`). That fault presents as "it acts like I never gave it a key" and
1102
+ previously only surfaced from `abx remote <name>` — which a creator reaches _after_ doctor.
1103
+ - **Skill: the `npx --no-install abx version` probe was documented as failing cleanly.** It doesn't —
1104
+ npm will run any `abx` binary already in the npx cache, which in a real sweep reported a months-old
1105
+ build as the project's CLI (and if a plain `npx abx` ever ran on that machine, the bare name is a
1106
+ squatted package). The skill now probes `./node_modules/.bin/abx` directly.
1107
+ - Also documented: how a multi-word provider name folds into `ABX_REMOTE_<NAME>_*`, and what
1108
+ `watching: no` means on a status readout.
1109
+
1110
+ A second sweep round over those fixes caught three more, including one the first round's fix created:
1111
+
1112
+ - **`abx verify --remote` never checked byte integrity at all** — both of its lanes only ask "is there
1113
+ a current render / is this a placeholder", and a green ✓ from that was standing in for "the served
1114
+ bytes match the on-chain commitment". A reviewer hit the worst version of this: `--remote` (the form
1115
+ the skill tells you to use for a hosted project) reported ✓ on a token whose bytes genuinely did NOT
1116
+ hash-match, while bare `abx verify` on the same project reported `✗ keccak256 MISMATCH`. It now calls
1117
+ the service's own purpose-built `GET /api/project/:addr/verify` (which holds both the bytes and the
1118
+ chain) and reports that verdict separately from the render summary — and when it _can't_ run that
1119
+ check (no credential, older node) it says "byte integrity NOT checked" instead of leaving a ✓ to
1120
+ imply it passed. The remedy names both real causes (an unbridged durable locator vs. bytes that only
1121
+ exist on the creator's machine, which a hosted resolver can never serve).
1122
+ - **`abx verify` exited 0 while printing a byte MISMATCH**, in both lanes — nothing could gate on it.
1123
+ An integrity mismatch now fails the command; a missing render or placeholder is a normal state and
1124
+ still exits 0.
1125
+ - **`abx add --dry-run` silently ignored the flag and performed the registration**, local or remote.
1126
+ It now refuses and names the read-only commands (`abx state`, `abx status`) instead. Silently doing
1127
+ the thing when the caller asked to preview is the one outcome that must never happen.
1128
+ - **`PRAGMA busy_timeout` was set third in the store schema**, after the WAL switch it needs to
1129
+ protect — so two processes opening the same store at once (parallel CLI runs, or a co-located
1130
+ effects runner starting alongside the resolver) could fail outright with `database is locked`
1131
+ instead of waiting the moment out. It is now the first statement.
1132
+
1133
+ A third round, re-running the scenario that found the verify bug (it now catches it) turned up:
1134
+
1135
+ - **`abx add --remote` ended on "it now serves <url>"** — true about indexing, silent about whether
1136
+ the bytes are right, and two reviewers stopped there and reported a blank page as fixed. It now names
1137
+ the byte check (`abx verify <addr> --remote <name>`) in the same breath.
1138
+ - **`canonical:` collapsed a tri-state.** `isCanonical` is `true | false | null`, and both readouts
1139
+ printed "unverified" for the last two — so "the chain says this is NOT a clone of the configured
1140
+ factory" (a trust finding) looked identical to "the check never ran" (no factory on this chain, normal
1141
+ on a dev chain). Two reviewers read the collapsed word as a second failure sitting next to a real one.
1142
+ - **`abx verify --remote` gave a bare `fetch failed`** for an endpoint that was down, where
1143
+ `abx status --remote` names the host and asks whether it's running. Two commands, one condition, two
1144
+ error qualities — now consistent.
1145
+ - `abx status <addr>` printed the address twice when the project has no name.
1146
+ - Skill: registering with a provider on **their** hostname vs. a domain you control decides whether
1147
+ leaving later costs a transaction — now stated in the managed-provider section, before you bake it.
1148
+
1149
+ ### Patch Changes
1150
+
1151
+ - Updated dependencies [a72723d]
1152
+ - @artblocks/abx-sdk@0.1.0-alpha.3
1153
+ - @artblocks/abx-indexer@0.1.0-alpha.4
1154
+ - @artblocks/abx-token-api@0.1.0-alpha.6
1155
+ - @artblocks/abx-storage@0.1.0-alpha.3
1156
+
1157
+ ## 0.1.0-alpha.9
1158
+
1159
+ ### Minor Changes
1160
+
1161
+ - 3745bd3: Remote services are first-class: a provider-neutral control plane, named remotes, and a service
1162
+ descriptor (specs/self-host-toolkit/remote-services.md).
1163
+
1164
+ - **Control plane moves to `/v1`** (hard cutover; `/admin/*` is gone — redeploy self-hosted nodes):
1165
+ `POST/GET /v1/projects`, `DELETE|reindex|status /v1/projects/{chainId}/{address}`,
1166
+ `POST /v1/effect-artifacts|effect-status`. `chainId` is explicit and validated everywhere; every
1167
+ error carries a machine `code` (`unauthorized` 401 · `forbidden` 403 · `unsupported_chain` ·
1168
+ `not_registered` · `disabled`) replacing the old prose-sniffed 404. One bearer guard replaces the
1169
+ four inline copies; OPTIONS preflight now answers so browser clients can send `Authorization`.
1170
+ - **`GET /.well-known/abx-service`** — the public service descriptor: `interfaces` (present iff
1171
+ actually enabled), `chains`, `auth` (with optional provider-set `signupUrl`/`docsUrl` via
1172
+ `ABX_SERVICE_*` env), and `render.attached` (managed rendering, probed from the runner's
1173
+ `/health`) — so an agent can match a project to a provider before registering.
1174
+ - **Named remotes in the CLI**: `--remote <name>` reads `ABX_REMOTE_<NAME>_URL`/`_TOKEN`
1175
+ (a managed provider's per-account key — never falls back to `ABX_RESOLVER_ADMIN_TOKEN`);
1176
+ `--remote <url> [--remote-token <t>]` for ad-hoc targets; bare `--remote` stays the self-host
1177
+ default. New `abx remote [name|url]` inspects a service's descriptor and the projects a token
1178
+ sees. `migrate --from/--to` accept names; only the destination needs a credential.
1179
+ - **The SDK gains its first HTTP surface**: `AbxServiceClient` (endpoint + injected bearer, retry
1180
+ on 5xx/network, immediate typed `AbxServiceError` on 4xx) — shared by the CLI and the effects
1181
+ runner's publish lane. `envSuffix()` is the shared env-name normalization.
1182
+ - **Conformance fixture**: `pnpm conformance -- <base-url> [--token …]` self-verifies any
1183
+ implementation; the e2e suite runs it against the reference container.
1184
+
1185
+ ### Patch Changes
1186
+
1187
+ - 3745bd3: Membrane fixes found by a 20-run cold-agent regression sweep (sonnet + haiku, black-box clean rooms).
1188
+
1189
+ - **A 500 no longer leaks the node's own credentials.** An upstream RPC failure surfaced viem's
1190
+ message, which embeds the endpoint URL — and a keyed RPC URL _is_ a credential, so on a
1191
+ multi-tenant provider any tenant who could provoke a 500 got the operator's RPC key. The cause now
1192
+ goes to the node's log; the wire gets a generic message, an `internal_error` code, and a
1193
+ credential-free hint about the failure class. Normative in the remote-services spec.
1194
+ - **The service client no longer discards a 5xx body.** The service's own words survive the retry
1195
+ ladder, and an exhausted ladder says "failed — last response …" rather than mislabelling a
1196
+ server that answered as "unreachable". The descriptor probe drops to 2 attempts, so a typo'd
1197
+ provider URL fails in ~1s instead of grinding 5s, with distinct "nothing responded" vs
1198
+ "answered, but serves no descriptor" messages.
1199
+ - **Conflicting duplicate `.env` keys are reported.** First-wins is unchanged, but a stale second
1200
+ `ABX_RPC_URLS_<CHAIN>` line silently pointed the CLI at another network while every check read
1201
+ green — the symptom surfaced far away as "no contract at that address". Only genuinely
1202
+ _conflicting_ duplicates warn (identical repeats stay quiet).
1203
+ - **"No contract at …" errors now name the endpoint they asked** (redacted), because a chain key
1204
+ can't distinguish two RPCs that both claim it.
1205
+ - **A misnamed remote credential is called out.** `ABX_REMOTE_<NAME>_KEY` (or `_API_KEY`, `_SECRET`)
1206
+ is not read, so it previously reported as "no token" while the value sat in `.env`; both
1207
+ `abx remote` and the register path now name the near-miss and the correct `_TOKEN` name.
1208
+ - **`--dry-run` explains a missing trust anchor instead of crashing.** On a chain where the
1209
+ configured factory has no code, `deploy`/`deploy-series` previews died inside
1210
+ `predictDeterministicAddress` with a raw `returned no data ("0x")`; they now report it the way
1211
+ `abx predict` and a real deploy already did, and name the two ways forward. The keyless
1212
+ `--for` requirement also fails fast instead of after several steps of output.
1213
+ - **The placeholder-identity guard is one shared predicate** across all three deploy commands
1214
+ (it was copy-pasted, and one copy's comment claimed coverage it didn't have), pinned by a new
1215
+ regression test: a real send refuses tool defaults, a preview only warns.
1216
+ - **The served dashboard's empty state no longer prints `pnpm abx demo`** — a contributor-only
1217
+ invocation on a page a published user sees.
1218
+
1219
+ - Updated dependencies [3745bd3]
1220
+ - Updated dependencies [3745bd3]
1221
+ - @artblocks/abx-sdk@0.1.0-alpha.2
1222
+ - @artblocks/abx-token-api@0.1.0-alpha.5
1223
+ - @artblocks/abx-indexer@0.1.0-alpha.3
1224
+ - @artblocks/abx-storage@0.1.0-alpha.2
1225
+
1226
+ ## 0.1.0-alpha.8
1227
+
1228
+ ### Patch Changes
1229
+
1230
+ - 4074766: Fix the dashboard's block-explorer links, which were hardcoded to `https://sepolia.etherscan.io`. Every
1231
+ link on the page — contract, owner, implementation, each event's tx — pointed at Ethereum Sepolia no
1232
+ matter which chain was being served, so a dashboard for a normal `abx demo` (Base Sepolia by default)
1233
+ sent you to an explorer where the contract does not exist. The SDK now derives the explorer from viem's
1234
+ own chain metadata (`explorerUrl`/`chainById`), so adding a chain brings its explorer along and no
1235
+ hand-maintained table can drift. The CLI's separate copy of that table is collapsed into the same
1236
+ helper; `signer.ts` was already doing it correctly.
1237
+
1238
+ Drop the demo's opening "trust anchor" step. It asserted that only the canonical factory can make a
1239
+ token that _is_ an ABX token, which is false — anything following the protocol's event spine is an ABX
1240
+ token, and the factory is one route to that, not the definition. The same overclaim in the index step
1241
+ ("verified real") now reports the fact instead: made by the canonical factory, or not. The demo opens
1242
+ on the renderer step, and resolving the factory no longer prints a line of its own there.
1243
+
1244
+ - Updated dependencies [4074766]
1245
+ - @artblocks/abx-sdk@0.1.0-alpha.1
1246
+ - @artblocks/abx-token-api@0.1.0-alpha.4
1247
+ - @artblocks/abx-indexer@0.1.0-alpha.2
1248
+ - @artblocks/abx-storage@0.1.0-alpha.1
1249
+
1250
+ ## 0.1.0-alpha.7
1251
+
1252
+ ### Patch Changes
1253
+
1254
+ - c16c0f0: Shorten the update check's cache from 24h to **6h**. A day-long cache let someone work a whole
1255
+ session — deploys included — against a CLI that had been superseded that morning, without ever being
1256
+ told. In a fast-moving alpha line that's the common case, not the edge one.
1257
+
1258
+ The agent skill now **acts** on version drift instead of reporting it. It already reconciled
1259
+ skill⇄CLI drift, but nothing told it what to do when the CLI's own `update available` notice fired —
1260
+ so on an agent-driven surface that notice landed as a human-shaped message and got relayed or
1261
+ ignored. The skill now upgrades the CLI itself (matching how it was installed), resyncs the skill, and
1262
+ reloads before deploying, with the reason stated: a stale CLI can hold canonical addresses that have
1263
+ since moved, and a mid-run `… is not a function` is usually exactly this.
1264
+
1265
+ Docs: the Upgrading page now leads with the two install shapes in the same order as the quickstart
1266
+ (global, then per-project) instead of opening on a one-off `npx` invocation, drops the update-check
1267
+ silencing details (they live in the CLI reference, alongside `version`), and answers the question the
1268
+ old "Upgrade the SDK" section provoked — upgrading the CLI upgrades the SDK it pins, so a CLI user has
1269
+ nothing separate to maintain; you install the SDK only when writing TypeScript against ABX directly.
1270
+
1271
+ ## 0.1.0-alpha.6
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - c21ea30: `abx demo` now runs **fully on-chain** by default, and speaks plainly.
1276
+
1277
+ Its generative SVG is inlined into the contract, so no `http://localhost:8787` is baked into the
1278
+ on-chain `tokenURI` base. The old default shipped a first-ever token that resolved for nobody but its
1279
+ author — broken on every marketplace, dead the moment `abx serve` stopped — and taught that as the
1280
+ normal shape of an NFT. It also undercut the demo's own claim: with the art on-chain, "rebuilt from the
1281
+ chain alone" now covers the image, not just the metadata. The final dashboard still starts, but is
1282
+ framed as a local viewer rather than infrastructure. Hand the demo an `--image`, a `--backend`, or a
1283
+ `--public-base-url` and it switches back to off-chain custody, where that split is real and worth
1284
+ teaching.
1285
+
1286
+ Fixed alongside it: on every on-chain lane (1/1 and Series, wallet and `--onchain-image`) the deploy
1287
+ step announced `URIs point at http://localhost:8787` even though nothing was baked — in the demo, two
1288
+ lines after promising no localhost anywhere.
1289
+
1290
+ The walkthrough's teaching text is rewritten in plain language, with the protocol vocabulary kept as a
1291
+ dim aside instead of the headline: steps are now "Who vouches for this token?", "Mint it", "What the
1292
+ chain knows now", and "The moment of truth · delete it all". The read-back step reads from the real
1293
+ source per lane — `tokenURI(0)` on the contract when fully on-chain (what a marketplace actually does,
1294
+ and it proves no server is involved), the resolver when custody is off-chain.
1295
+
1296
+ The browser-wallet signing prompt now says to connect a wallet holding testnet ETH and links a faucet.
1297
+ That was the one funding surface with no guidance: on `--sign` without `--for` the address isn't known
1298
+ until the wallet connects, so the up-front balance check never ran and an empty wallet's first signal
1299
+ was a failed transaction.
1300
+
1301
+ - c21ea30: Make the update check independent of which npm dist-tag prereleases are published under. It now
1302
+ resolves the `latest` tag and, when the running version is a prerelease, that version's own channel
1303
+ tag (`alpha`, `beta`, …), reporting whichever is newer. Previously it only asked for `latest`, which
1304
+ works today only because `ci:publish` passes no `--tag`; the day a stable release ships and
1305
+ prereleases move to `--tag alpha`, the nudge would have gone silent for prerelease users with
1306
+ nothing erroring. The on-disk cache is now keyed by release channel too, so switching between the
1307
+ alpha and stable lines re-checks instead of serving a day-stale answer.
1308
+ - Updated dependencies [c21ea30]
1309
+ - @artblocks/abx-indexer@0.1.0-alpha.1
1310
+ - @artblocks/abx-token-api@0.1.0-alpha.3
1311
+
1312
+ ## 0.1.0-alpha.5
1313
+
1314
+ ### Patch Changes
1315
+
1316
+ - afb36a3: Fix three bugs that made the documented first run (`abx demo`) look broken.
1317
+
1318
+ **A 0-event index was reported as success, and served.** `eth_getLogs` is
1319
+ read-after-write inconsistent on load-balanced RPCs: `waitForTransactionReceipt`
1320
+ resolves against a node that has the block, then the log query lands on one that
1321
+ doesn't yet and returns nothing for a block we _know_ contains our deploy. The CLI
1322
+ took that single read at face value, printed `✓ reconstructed 0 events`, stored the
1323
+ empty projection and served an empty dashboard — no events, no token, nothing to
1324
+ look at. This reproduced 100% of the time against `https://sepolia.base.org`, which
1325
+ is the **default endpoint when there is no `.env`** — so the documented first run
1326
+ was the path that broke. Every post-deploy index (`deploy`, `demo`, `deploy-series`,
1327
+ `deploy-code`, `add`) now re-scans with backoff instead of trusting one read, since
1328
+ having just minted means the spine cannot legitimately be empty. If it still comes
1329
+ back empty, that is now reported as a failure naming `abx index <addr> --full` as
1330
+ the recovery, rather than dressed up as a ✓.
1331
+
1332
+ **The demo told you to press a button that does not exist.** It ended with _"Open
1333
+ the dashboard, then hit 'Re-index from chain'"_. The dashboard is read-only —
1334
+ re-index and verify are admin actions that 404 unless the node has an
1335
+ `ABX_RESOLVER_ADMIN_TOKEN` — so that control isn't there to find. It now points at
1336
+ the spine table (which _is_ the reconstruction) and at `abx index <addr> --full` to
1337
+ replay it. The dashboard's own note also stopped printing a **shortened** address
1338
+ inside a copy-pasteable command, and no longer suggests `--remote` for a local node.
1339
+
1340
+ **Re-running the demo crashed after spending a transaction.** With port 8787 already
1341
+ busy — an `abx demo` or `abx serve` in another terminal, i.e. exactly what happens
1342
+ when you run the demo twice — the deploy went through, was paid for, and _then_ the
1343
+ serve step died with an unhandled Node `EADDRINUSE` stack trace. The port is now
1344
+ preflighted before anything irreversible, so it refuses with "Nothing was deployed"
1345
+ and suggests `--port <n+1>`.
1346
+
1347
+ **`abx demo` is now a walkthrough rather than a smoke test.** The docs point a
1348
+ first-time reader here, but it asserted its interesting claims without ever showing
1349
+ them — "reconstructed 9 events — no provider involved" with the events invisible.
1350
+ It now teaches, continuously and without pauses (so agents and CI behave
1351
+ identically): it explains why the trust anchor is the factory and not a spoofable
1352
+ event, names what goes on chain versus what stays a keccak256 commitment, prints
1353
+ the reconstructed event spine with what each event told us (tagged ABX vs plain
1354
+ ERC-721/7572), then **deletes its own local projection and replays it from the
1355
+ deploy block**, comparing a sha256 fingerprint of every chain-derived field to prove
1356
+ it lands on identical state. Finally it reads the token back the way a marketplace
1357
+ would. `abx deploy` is unchanged — it stays terse.
1358
+
1359
+ Adds `Store.dropProjection(address)` / `SelfHostIndexer.dropProjection()`: discard a
1360
+ project's reconstructed projection while keeping its registration, so the next index
1361
+ rebuilds from the deploy block. That's the primitive the rebuild proof needs, and it
1362
+ makes "the projection is a disposable cache" a checkable claim rather than a comment.
1363
+
1364
+ - Updated dependencies [afb36a3]
1365
+ - @artblocks/abx-token-api@0.1.0-alpha.2
1366
+
1367
+ ## 0.1.0-alpha.4
1368
+
1369
+ ### Minor Changes
1370
+
1371
+ - 48d96c5: Add **`abx preview`** — the studio lane for code projects: run the program on
1372
+ localhost, live, while it's still being made. No chain, no key, no deploy.
1373
+
1374
+ `abx preview --script art.js --schema "palette:HexColor:TokenOwner"` serves a
1375
+ studio on `localhost:8788` — shuffle seeds, drive every declared PostParam from a
1376
+ real typed input (a color picker for `HexColor`, a dropdown for `Select`), read the
1377
+ traits the program actually reported, and `/grid` to see N seeds at once. `/view`
1378
+ is the bare document. The program is re-read from disk on every render, so the loop
1379
+ is edit-and-refresh with no watcher and no restart.
1380
+
1381
+ It serves the **same template-mode document the generator serves** — the real
1382
+ `abx.js`, the real canonical `tokenData` shape, the real dependency script tags —
1383
+ with a synthetic bytes32 seed in place of a minted one, so what you approve is what
1384
+ deploys. There is no second copy of the runtime to drift from. (`@artblocks/abx-token-api`
1385
+ now exports `ABX_JS` and the inline-safety escapes so the CLI can build that exact
1386
+ document rather than reimplement it.)
1387
+
1388
+ `--shoot <dir>` drives the same server headlessly to PNGs plus a `traits.json` and
1389
+ exits — that's how an agent, which can't open a browser, sees what the creator sees.
1390
+ It also flags the two silent killers: no frame reporting traits (⇒ no marketplace
1391
+ `attributes` on any lane) and identical traits across every seed (⇒ the program
1392
+ isn't reading `abx.tokenData.seed`, so the drop mints N identical tokens).
1393
+
1394
+ Why a live server rather than a screenshot sweep: a still flattens every time-based
1395
+ piece, and `abx.done()` exists precisely because stills need a settle point — so a
1396
+ proof sheet of an animated piece is a set of arbitrary frozen frames presented as
1397
+ the work. Frames render into a fixed 1000×1000 viewport and are scaled to fit their
1398
+ slot, so a program that hardcodes its canvas size is never clipped to its own corner.
1399
+
1400
+ Skill: add **Phase 0**, an explicit authoring phase that puts every deploy decision
1401
+ (hosting, thumbnail, traits, storage, wallet, supply, royalties, name/symbol) off
1402
+ the table until the creator says ship, and points at `abx preview` for the loop. The
1403
+ skill previously went straight from "the creator brought an idea" to "pick a deploy
1404
+ lane", so an agent helping someone _design_ a piece front-loaded infrastructure
1405
+ questions while there was still nothing to look at.
1406
+
1407
+ Skill: also teach CLI resolution — probe project-local (`npx --no-install abx`)
1408
+ before global, install `@artblocks/abx-cli` (not `@artblocks/abx-sdk`, which ships
1409
+ no binary), and default to a per-project install. The skill previously assumed `abx`
1410
+ was already on PATH and gave no bootstrap path at all, so agents improvised — one
1411
+ installed the SDK, then went global unprompted.
1412
+
1413
+ ### Patch Changes
1414
+
1415
+ - 48d96c5: `abx demo` now honors the signing lane instead of silently discarding it. It
1416
+ hard-forced the hot (env-key) lane, so `abx demo --sign` failed confusingly when
1417
+ no key was configured — and, worse, signed from the env key when one _was_
1418
+ present, even though the operator had explicitly asked for their browser wallet.
1419
+ `--sign` (and `--for` to pin the connecting wallet) now work on `demo` exactly as
1420
+ they do on `deploy`.
1421
+
1422
+ `abx demo --unsigned` and `abx demo --dry-run` are now refused with an
1423
+ explanation rather than ignored: both skip the broadcast, and `demo` indexes and
1424
+ serves the contract it just deployed, so there would be nothing to index. Use
1425
+ `abx deploy --unsigned` / `abx deploy --dry-run` for those lanes.
1426
+
1427
+ Also documents the `demo` signing flags in `abx help demo`.
1428
+
1429
+ - Updated dependencies [48d96c5]
1430
+ - @artblocks/abx-token-api@0.1.0-alpha.1
1431
+
1432
+ ## 0.1.0-alpha.3
1433
+
1434
+ ### Patch Changes
1435
+
1436
+ - 6fbb62e: Restructure `abx doctor` for clarity. Two tiers now: PASS/FAIL checks (✓/✗) for
1437
+ things that are working or broken — agent skill (shown first and prominently; a
1438
+ missing/stale skill is a ✗ since agent-driven use is the primary UX), RPC,
1439
+ factory, storage — and an "Optional — depends how you deploy" block (·) for
1440
+ path-dependent setup (signing lane, resolver URL, Arweave key). `⚠` is no longer
1441
+ used for values that are unset-but-fine (it read as noise); it's reserved for a
1442
+ genuine gotcha such as a range-capped-only RPC. The RPC report collapses to one
1443
+ line.
1444
+ - 6fbb62e: Fix the update-check hint to invoke the CLI by its scoped package name
1445
+ (`npx @artblocks/abx-cli@latest <command>`). The bare `npx abx` resolves an
1446
+ unrelated squatted `abx` package on npm, not this CLI, so the old hint pointed
1447
+ users at a command that fails. (Installed users — global or per-project — run
1448
+ `abx` / `npx abx` as before; only the zero-install invocation needs the scoped
1449
+ name.)
1450
+
1451
+ ## 0.1.0-alpha.2
1452
+
1453
+ ### Minor Changes
1454
+
1455
+ - 02fc0e0: Make `abx skill install` agent-aware and strictly version-lock the skill to the CLI.
1456
+
1457
+ `skill install` now installs to the directories every supported agent actually reads: by default
1458
+ both `.claude/skills` (Claude Code) and the neutral `.agents/skills` (Cursor, Codex CLI, Gemini CLI,
1459
+ GitHub Copilot), so one command covers the whole ecosystem. `--agent claude|cursor|codex|gemini|copilot`
1460
+ narrows it to one; `--target <dir>` now writes the skill folder straight under `<dir>`.
1461
+
1462
+ The skill's version now lives in its `SKILL.md` frontmatter (`metadata.version`), stamped at release
1463
+ to equal the CLI version (replacing the old `.abx-skill-version` sidecar). Because the version travels
1464
+ inside the skill file, the drift check finds a stale copy no matter how it was installed — including
1465
+ `npx skills add` — and `abx doctor` reports the skill/CLI version match explicitly. A publish-time gate
1466
+ (and `pnpm ci:version` stamping) keeps the two from ever shipping out of lockstep.
1467
+
1468
+ ## 0.1.0-alpha.1
1469
+
1470
+ ### Patch Changes
1471
+
1472
+ - b5d201f: Add `abx version` and a notify-only update check. On startup `abx` now checks npm at most once a
1473
+ day and, when a newer release is published, prints an upgrade hint to stderr (never stdout, so it
1474
+ never corrupts machine-readable output an agent is parsing). It also nudges to reinstall the agent
1475
+ skill when the installed copy has drifted behind the CLI. Opt out with `ABX_NO_UPDATE_CHECK=1` or
1476
+ `--no-update-check`; it is a no-op in CI and when offline.