Skip to content

chore: replace lavish-axi with atelier-axi - #25

Merged
knowttl merged 1 commit into
mainfrom
fm/atelier-swap
Aug 11, 2026
Merged

knowttl merged 1 commit into
mainfrom
fm/atelier-swap

Conversation

@knowttl

@knowttl knowttl commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Replaces the rich-review CLI dependency lavish-axi with its fork atelier-axi across all of firstmate's shared tracked material. atelier-axi preserves the poll interface the process-event adapter depends on.

Changes

  • bin/fm-bootstrap.sh: COMMON_TOOLS and install_cmd now list atelier-axi (kept in the && $1 setup hooks case since atelier has setup hooks); version floor LAVISH_AXI_MIN renamed to ATELIER_AXI_MIN and raised to 0.3.3 (the verified installed version); MISSING: message and header comments updated.
  • bin/fm-procevent-lavish.sh → bin/fm-procevent-atelier.sh (git rename): adapter name, canonical source-id prefix (atelier-), command -v tool check, register atelier ... atelier-axi poll command, the missing-session string (No active Atelier Editor session), and the header version note. usage()'s printed range was extended by 2 lines to keep the full LOSS LIMITATION note in --help.
  • bin/fm-procevent-lib.sh: comment naming the poll command.
  • AGENTS.md, docs/configuration.md, docs/verification/process-event-sources.md, .gitignore (.lavish/ → .atelier/), and the bootstrap-diagnostics / bearings / decision-hold-lifecycle / process-event-sources skills.
  • Tests: adapter filename, adapter tags, source-id expectations, bootstrap floor cases (now 0.3.3), and the version-fake stubs (FM_FAKE_ATELIER_AXI_VERSION, default 0.3.3).

Interface verification (against installed atelier-axi 0.3.3)

  • poll <html-file> [--agent-reply "..."] [--full] — the --full flag is additive and unused by the adapter; the wrapped shape is unchanged from the predecessor.
  • setup hooks exists → install command keeps && $1 setup hooks.
  • Missing-session output: error: No active Atelier Editor session for this file / code: NOT_FOUND; the session:/error envelope the adapter parses is unchanged.
  • capabilities --json exits 2 with VALIDATION_ERROR (no capabilities subcommand); <anything> --help still exits 0.

Testing

  • bin/fm-lint.sh (pinned ShellCheck 0.11.0): pass.
  • bin/fm-test-run.sh green for every touched test: fm-procevent, fm-bootstrap, fm-watch-triage, fm-secondmate-{safety,sync,harness,liveness}, fm-shared-captain-inheritance, fm-x-mode, fm-startup-memory-budget, fm-bearings-snapshot, fm-fleet-snapshot-view, fm-decision-hold-lifecycle.
  • bin/fm-test-run.sh --check-coverage: ok total=139.
  • bin/fm-doc-audience-check.sh: ok.
  • Bootstrap detect-only with atelier-axi installed emits no MISSING line for lavish or atelier.

Note on one pre-existing failure

tests/fm-session-start.test.sh fails one case (successful Herdr husk recovery should stay non-actionable, SECONDMATE_LIVENESS:). This reproduces identically on the pristine base branch and is unrelated to this swap (a Herdr/liveness-sweep environmental quirk), so it is left untouched rather than masked.

Note on the verification doc

The source-side destructive-clear protocol measurement was not re-run against 0.3.3 (it requires a live browser review session with human-queued feedback that a headless run cannot drive). The record now date-scopes that measurement to the predecessor build, notes atelier's additive batch_file recovery surface, and keeps the conservative durability wording.

Swap the rich-review CLI dependency from lavish-axi to its atelier-axi
fork across all of firstmate's shared tracked material.

- bin/fm-bootstrap.sh: COMMON_TOOLS and install_cmd use atelier-axi (which
  has `setup hooks`); rename the version floor LAVISH_AXI_MIN -> ATELIER_AXI_MIN
  and raise it to 0.3.3 (the verified installed version); update the MISSING
  message and header comments.
- bin/fm-procevent-lavish.sh -> bin/fm-procevent-atelier.sh (git rename):
  adapter name, source-id prefix, tool check, poll command, the
  missing-session string ("No active Atelier Editor session"), and the
  header's version note (verified against 0.3.3; note the additive --full
  flag the adapter does not use).
- AGENTS.md, docs/configuration.md, docs/verification/process-event-sources.md,
  .gitignore (.lavish/ -> .atelier/), and the bootstrap-diagnostics, bearings,
  decision-hold-lifecycle, and process-event-sources skills.
- tests: adapter filename, adapter tags, source-id expectations, the
  bootstrap floor cases (now 0.3.3), and the version-fake stubs.

Interface verification against the installed atelier-axi 0.3.3:
- `poll <html-file> [--agent-reply "..."] [--full]` (--full is additive and
  unused by the adapter; the wrapped shape is unchanged).
- `setup hooks` exists, so the install command keeps `&& $1 setup hooks`.
- Missing-session output: `error: No active Atelier Editor session for this
  file` / `code: NOT_FOUND`; the session status/error envelope the adapter
  parses is unchanged.
- `capabilities --json` exits 2 with VALIDATION_ERROR (no capabilities
  subcommand), and `<anything> --help` still exits 0.

The source-side destructive-clear protocol measurement in the verification
doc was not re-run against 0.3.3 (it needs a live browser review session);
the record now date-scopes that measurement to the predecessor build and
keeps the conservative durability wording.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant