From d606ab31ab8453ea368b8ae3be72926a64a1e98d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 11 Aug 2026 19:38:47 +0000 Subject: [PATCH] =?UTF-8?q?docs(skill):=20dogfood=20=C2=A72=20=E2=80=94=20?= =?UTF-8?q?a=20drifted=20console=20dist=20now=20refuses=20to=20boot=20(#77?= =?UTF-8?q?52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Runner-facing counterpart to the guard in #7783. That PR makes `os dev` decline to mount `/_console` when `packages/console/dist/.objectui-sha` provably differs from the repo's pin, so the stale bundle is unreachable instead of silently authoritative. Without this note the new behaviour reads as a product bug: the skill's §2 already warns that the vendored console may be stale, but a runner who hits a 404 `/_console/` and an absent Console line in the banner has no way to know that is the guard talking. So §2 now says what the 404 means and what fixes it — `pnpm objectui:build` (rebuild at the *pinned* SHA; `objectui:refresh` would re-bump the pin to the local ../objectui HEAD), `pnpm check:console-sha` for the same comparison without booting, and `OS_ALLOW_CONSOLE_DRIFT=1` for the deliberate stale boot, with the consequence spelled out. Split out of #7783 because `.claude/skills/**` merges through the human channel per the maintainer's 2026-08-11 ruling; keeping it there would hold the guard behind that channel. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LkvcB2Ei8Mpaa87N2US5wY --- .claude/skills/dogfood-verification/SKILL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.claude/skills/dogfood-verification/SKILL.md b/.claude/skills/dogfood-verification/SKILL.md index 712bb5951f..966c99f969 100644 --- a/.claude/skills/dogfood-verification/SKILL.md +++ b/.claude/skills/dogfood-verification/SKILL.md @@ -74,6 +74,15 @@ unsaved drafts that block navigation, and dirty the working tree. Isolate up fro (separate origin → needs its own `admin@objectos.ai/admin123` login). Skipping this cost a full spawn-a-fix cycle on an action-create dead-end that was already fixed in objectui main. +- [ ] **A drifted build no longer boots silently (#7752).** `build-console.sh` stamps the + SHA it built from into `packages/console/dist/.objectui-sha`; when that stamp differs + from the repo's `.objectui-sha` pin, `os dev` **refuses to mount `/_console`** and + prints the remediation — `/_console/` 404s and the banner advertises no console URL. + That is a precondition to fix, not a product bug: run **`pnpm objectui:build`** + (rebuild at the *pinned* SHA — `objectui:refresh` would re-bump the pin to your local + `../objectui` HEAD) and reboot. `pnpm check:console-sha` reports the same comparison + without booting. `OS_ALLOW_CONSOLE_DRIFT=1` boots the stale bundle deliberately — and + then every console observation you make describes a commit the repo does not pin. ## 3. Verify — visual / API first, DOM last (the anti-false-positive rule)