Skip to content

harness.layout · web - #6

Merged
JaimeStill merged 4 commits into
mainfrom
web
Nov 30, 2026
Merged

JaimeStill merged 4 commits into
mainfrom
web

Conversation

@JaimeStill

Copy link
Copy Markdown
Contributor

harness.layout · task 14/17 · web

Summary

  • The five web packages (web-tooling, web-foundation, web-icons, web-components, web-app-sdk) take
    the agent-separation layout and their currency. Nothing releases; each change rides the
    package's next feature release.
  • A person's mise tasks now shows only check, build, install, currency, and the reader
    tasks. The agent profile (MISE_ENV=agent, set in each repo's Claude settings) adds one
    check:<step> per step.
  • web-foundation's and web-components' demo/ is now examples/, along with every other demo
    name: mise run examples, scripts/examples.js, examples.css, @layer examples. web-icons
    keeps browse/.
  • Currency: marathon 0.25.0, chrome-headless-shell 158.0.8127.88, eslint 10.16.0, @types/node
    26.6.11, mise-action v5.4.0, eslint-plugin-boundaries 7.4.5, vite 8.4.0 (web-icons), marked
    18.3.0 (web-components). The octicon set stays held. web-app-sdk was already current.

Core changes

  1. The check is a file task over step scripts. Why: a person sees one check, and an agent
    can run one step at a time. It stops at the first failing step; before, the steps ran in
    parallel.
    scripts/check/eslint.sh; scripts/check/format.sh; … ; mise run build
    scripts/check/types-test.sh; scripts/check/unit.sh; scripts/check/browser.sh
  2. No hidden preflight task. Why: an agent task is never hide = true. Each step script runs
    scripts/preflight.sh itself, which names mise run install when a tool is missing. build
    runs it first, as ["scripts/preflight.sh", …].
  3. The tools check .agent/. Why: Web Elemental's layout page requires it. ESLint, Prettier,
    shellcheck, and tsconfig.test.json cover .agent/ and leave out .agent/state/. Four repos
    swapped their .claude/briefs/ ignore line for .agent/state/.
  4. Each STANDARDS.md and CHANGELOG.md is updated. Why: the old "check is a depends list"
    rule contradicted the layout. Each STANDARDS.md now points to agent-separation, and each
    changelog records the move under Unreleased.

Verify

marathon check: ✓ in all five, and in claude-plugins. Unit/browser tests: web-tooling 51/57,
web-foundation 116/267, web-icons 68/14, web-components 92/469, web-app-sdk 318/105, with lint,
lint-context, lint-references, and the type checks.

  1. In any web repo, in a plain terminal, run mise tasks. You see only build, check, currency,
    install, and the repo's own reader tasks; no lint, types, or test entries.
  2. Run MISE_ENV=agent mise tasks there. The same list appears, plus check:eslint …
    check:browser.
  3. Run mise run check. The steps run in turn, then [build], then the unit and browser tiers,
    and it exits 0.
  4. In web-foundation, run mise run examples. It prints 12 URLs under /examples/; open
    tools.html to see the styled page. In web-components, it prints 15; open
    status-badge.html.
  5. In web-icons, run mise run browse. It prints …/browse/, and the catalog shows as before.
  6. Run mise run currency in each repo. Each exits 0; web-icons lists only the held octicon line.

Decided without you

  1. The build runs just before the first step that reads dist/. In web-components, types-test
    doesn't read dist/, so it runs before the build.
  2. Step names: lints for lint-context and lint-references (moved from
    scripts/lint-marathon.sh), workflows for actionlint, go for web-app-sdk's gofmt and vet.
    The go step now actually fails on unformatted Go: the old ! gofmt -l | grep . never
    stopped under set -e.
  3. Every demo name was renamed, including the pages' .demo-* classes and test helpers. Past
    releases' CHANGELOG entries still say demo/, because they are history.
  4. ESLint gives .agent/** Node's globals, as it does scripts/**.
  5. A web-icons browser test failed locally 3 times in 8 runs, with "Failed to fetch dynamically
    imported module". The cause is environmental: Docker Compose veth churn from another project
    changes the host's interfaces, and Chrome aborts loopback requests with
    net::ERR_NETWORK_CHANGED. It was reproduced in a private network namespace on both Chrome
    pins; web then passed 30 full checks in a row. This is recorded as a backlog note, not fixed.
  6. Dropped three Decisions the code and docs now express: the .agent/ lint coverage, the
    demo/ → examples/ rename, and web-icons keeping browse/.
  7. Added pending edits: a "The check" section for Web Elemental's layout page, and backlog notes
    for the network-change flake and for /usr/bin/node preceding mise's pinned Node on this
    machine's PATH.

Redirects and escalations

none

Merge danger: two-way door · blast radius: the five web repos' tooling and docs, no package
API · each repo's merge waits on CI (gh pr checks --watch); claude-plugins carries the goal record

Needs you: none

marathon 0.25.0, chrome-headless-shell 158.0.8127.88 (checksum and size
from web-app-sdk's entry), @types/node 26.6.11, eslint 10.16.0,
eslint-plugin-boundaries 7.4.5, marked 18.3.0, and jdx/mise-action v5.4.0
in both workflows. Recorded under Unreleased in CHANGELOG.md: marked as
the package's own dependency, the rest as the repository's tooling.
The check is mise-tasks/check, a file task that runs the step scripts in
scripts/check/ in order (eslint, format, shell, workflows, lints,
types-src, types-test, then the build, then types-browser, unit,
browser), stopping at the first failure. Each step script runs
scripts/preflight.sh itself, so the hidden preflight task and the inline
lint:*, types:*, test:* tasks are gone. Under MISE_ENV=agent, which the
Claude settings now set, mise.agent.toml adds .agent/mise-tasks/, one
check:<step> task per step; types-browser, unit, and browser depend on
build. scripts/lint-marathon.sh moves to scripts/check/lints.sh.

The person's tasks are build, check, currency, examples, install, and
screenshots. build runs the preflight before the build script.
screenshots becomes a file task, mise-tasks/screenshots (raw, after
build), since it now runs the browser preflight before the capture.

The tools check .agent/: tsconfig.test.json includes .agent/**/*.ts but
not .agent/state, ESLint ignores .agent/state/ and gives .agent/ Node's
globals, and shellcheck covers scripts/, mise-tasks/, and .agent/.
.gitignore and .prettierignore list .agent/state/ in place of
.claude/briefs/.

demo/ is examples/ (git mv), with examples.css in @layer examples,
scripts/examples.js behind mise run examples, and the browser tier, its
support modules, and the screenshots description reading examples/.

STANDARDS.md states the layout's task rule, pointing at
agent-separation.md; README, docs, and CHANGELOG follow.
screenshots is an inline task whose run array runs the browser preflight, as web-foundation's and
web-icons' are, in place of a file task; the ESLint step names the layer's imports; the Unreleased
bump entries merge into one, and the examples entry names the demo renames as web-foundation's
does.
@JaimeStill
JaimeStill merged commit d19fa0f into main Nov 30, 2026
1 check passed
@JaimeStill
JaimeStill deleted the web branch November 30, 2026 03:57
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