Skip to content

T-X8NO-augmented-books-frontend-lint-script-override

Status: open/ready · Impact: medium · Complexity: small

AUTO-DEFINED: this spec was best-effort machine-authored by /sdlc:task-auto-define on 2026-07-31 because the task is autonomy: autonomous/pr. Review the Goal, Approach, Today, Files-to-touch, and Acceptance-criteria carefully before trusting it.

The augmented-books:frontend-lint task override in solutions/augmented/apps/augmented-books/moon.yml does not actually displace the lint script inherited from the tauri aspect, so augmented-books:check fails on main. This gap originates from T-B98V-adopt-vimit on sksizer/dev and needs closing by applying the same fix pattern vimit used.

augmented-books:frontend-lint fails on main: its command: 'noop' override does not displace the tauri aspect’s inherited script, so augmented-books:check is broken. Apply vimit’s fix pattern (script: 'true', commit a10eea4f2) to solutions/augmented/apps/augmented-books/moon.yml.

T-B98V-adopt-vimit

LocationRole today
solutions/augmented/apps/augmented-books/moon.ymlOverrides the tauri aspect’s src-nuxt-keyed frontend tasks. Four of the overrides — frontend-lint, frontend-format-check, frontend-format, frontend-test — use command: 'noop' plus options.mergeArgs: 'replace', which does NOT displace an inherited script:-based task: the aspect’s stale cd src-nuxt && bun run ... script still runs and fails on the missing src-nuxt/ directory.
.moon/tasks/tauri.ymlThe tauri aspect. Defines frontend-lint, frontend-format-check, frontend-format, and frontend-test as script: 'cd src-nuxt && bun run ...' tasks, and the check aggregate whose deps include ~:frontend-lint and ~:frontend-format-check — so augmented-books:check fails on main.

The reference fix is commit a10eea4f2 (“fix(vimit): make frontend noop overrides real script overrides”), currently on the in-flight task/T-B98V-adopt-vimit branch — the vimit app is not on main yet, so it is cited by commit rather than by path. That commit converted vimit’s identical command: 'noop' overrides to script: 'true', and its message explicitly names augmented-books’ frontend-lint noop as carrying the same latent failure.

Apply vimit’s fix pattern (commit a10eea4f2) to solutions/augmented/apps/augmented-books/moon.yml: a local script: 'true' replaces the inherited script wholesale, so each noop override actually noops and augmented-books:check resolves end to end.

  1. In solutions/augmented/apps/augmented-books/moon.yml, replace each of the four frontend noop overrides — frontend-lint, frontend-format-check, frontend-format, frontend-test — with script: 'true' plus toolchains: 'system', dropping the command: 'noop' line and the now-irrelevant options.mergeArgs: 'replace' block. This mirrors vimit’s commit a10eea4f2 exactly.
  2. Update the comment block above those overrides to explain the mechanism, mirroring vimit’s: a local command does not displace an inherited script, so script: 'true' is required for the noop to take effect.
  3. Leave the test aggregate override (command: 'noop' with deps on augmented-books:backend-test) untouched — it displaces the rust aspect’s command-based test, which works as-is.
  4. Verify with moon run augmented-books:frontend-lint (must exit 0 without running the aspect’s cd src-nuxt && bun run lint script), then moon run augmented-books:check.
LocationKindChange
solutions/augmented/apps/augmented-books/moon.ymlmodifyConvert the four frontend command: 'noop' overrides (frontend-lint, frontend-format-check, frontend-format, frontend-test) to script: 'true' and update the explanatory comment, per vimit’s a10eea4f2 pattern.
  • AC-1: moon run augmented-books:frontend-lint exits 0 and no longer executes the tauri aspect’s cd src-nuxt && bun run lint script.
  • AC-2: moon run augmented-books:check exits 0.
  • AC-3: None of the four frontend overrides in solutions/augmented/apps/augmented-books/moon.yml (frontend-lint, frontend-format-check, frontend-format, frontend-test) still uses command: 'noop'; each is a script: 'true' override.
  • AC-4: The test aggregate override in the same file still uses command: 'noop' with its deps on augmented-books:backend-test (unchanged by this task).
  • Adding real lint/format/test tooling to the app’s src-frontend/ — the frontend deliberately has none; the overrides stay noops.
  • Changing the tauri aspect itself (.moon/tasks/tauri.yml), e.g. reworking its script-based task definitions or the check aggregate.
  • Touching any other tauri-tagged app (vimit already carries the fix; zoo, pumice, and apps/sdlc/desktop have real src-nuxt frontends).
  • The test aggregate override — its command: 'noop' correctly displaces a command-based inherited task.
  • None hard. The reference fix (vimit commit a10eea4f2) lives on the in-flight task/T-B98V-adopt-vimit branch (T-B98V-adopt-vimit); this task does not need it to merge first — the fix pattern is fully specified above and applies to solutions/augmented/apps/augmented-books/moon.yml independently.

Spawned by /sdlc:spawn-task-pr on 2026-07-31 UTC from T-B98V-adopt-vimit in sksizer/dev.


← Back to Tasks