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, soaugmented-books:checkis broken. Apply vimit’s fix pattern (script: 'true', commit a10eea4f2) tosolutions/augmented/apps/augmented-books/moon.yml.
| Location | Role today |
|---|---|
solutions/augmented/apps/augmented-books/moon.yml | Overrides 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.yml | The 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.
Proposed
Section titled “Proposed”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.
Approach
Section titled “Approach”- 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— withscript: 'true'plustoolchains: 'system', dropping thecommand: 'noop'line and the now-irrelevantoptions.mergeArgs: 'replace'block. This mirrors vimit’s commit a10eea4f2 exactly. - Update the comment block above those overrides to explain the mechanism,
mirroring vimit’s: a local
commanddoes not displace an inheritedscript, soscript: 'true'is required for the noop to take effect. - Leave the
testaggregate override (command: 'noop'with deps onaugmented-books:backend-test) untouched — it displaces the rust aspect’s command-basedtest, which works as-is. - Verify with
moon run augmented-books:frontend-lint(must exit 0 without running the aspect’scd src-nuxt && bun run lintscript), thenmoon run augmented-books:check.
Files to touch
Section titled “Files to touch”| Location | Kind | Change |
|---|---|---|
solutions/augmented/apps/augmented-books/moon.yml | modify | Convert 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. |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1:
moon run augmented-books:frontend-lintexits 0 and no longer executes the tauri aspect’scd src-nuxt && bun run lintscript. - AC-2:
moon run augmented-books:checkexits 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 usescommand: 'noop'; each is ascript: 'true'override. - AC-4: The
testaggregate override in the same file still usescommand: 'noop'with itsdepsonaugmented-books:backend-test(unchanged by this task).
Out of scope
Section titled “Out of scope”- 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 thecheckaggregate. - Touching any other tauri-tagged app (vimit already carries the fix; zoo, pumice, and apps/sdlc/desktop have real src-nuxt frontends).
- The
testaggregate override — itscommand: 'noop'correctly displaces a command-based inherited task.
Dependencies
Section titled “Dependencies”- None hard. The reference fix (vimit commit a10eea4f2) lives on the
in-flight
task/T-B98V-adopt-vimitbranch (T-B98V-adopt-vimit); this task does not need it to merge first — the fix pattern is fully specified above and applies tosolutions/augmented/apps/augmented-books/moon.ymlindependently.
Discovery context
Section titled “Discovery context”Spawned by /sdlc:spawn-task-pr on 2026-07-31 UTC from T-B98V-adopt-vimit in sksizer/dev.