Skip to content

Connect the Hardwire demo to form review and a working CI starter - #47

Open
mandiau-matthias wants to merge 8 commits into
mainfrom
codex/developer-pilot
Open

mandiau-matthias wants to merge 8 commits into
mainfrom
codex/developer-pilot

Conversation

@mandiau-matthias

@mandiau-matthias mandiau-matthias commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Why

The experiment ended with Replay. Visitors had to find a terminal guide inside the inspector to try Hardwire on a form. This change connects the film and three local examples to a browser review and a CI starter. The goal is to let a developer catch a change to an approval requirement in their own project.

Independent developer pilot

Build with npm ci --ignore-scripts and npm run build:demo. Use Hardwire-developer-pilot.zip for the first five independent attempts. Extract it, run node start.mjs with Node 22 or newer and open the printed sample form. The task and optional private notes are separate from the guided recording. No participant feedback is collected automatically. Observer instructions and blank cohort table.

On a 390 pixel screen the MCP output started 1293 pixels below the viewport top after opening the previous disclosure. The new inspector opens on the tool, offers a separate draft view and returns focus on Escape. Phone inspector.

Review the demo

Watch the captioned walkthrough · Presenter notes

Hardwire film

The film shows the approval conditions for all three actions. On phones the scenes rotate one at a time until a viewer selects one. Controls stay below the film. The animation is illustrative.

After Check inputs, open Contract and MCP tool, switch views and press Escape. Choose Try a team rule or open the local policy example. This uses a separate reviewed fixture and carries over no pasted content. Remove confirmation. The format accepts the reversible write while the team requires consent. Restore confirmation and download both original files. The browser previews the consent check. Run the full test with Node.

From demo to framework

  • Application CI starter. Tested in a separate project against the published GitHub v0.9.0 tag and in the freshly installed package. Changing a reversible preference from user confirmation to none stays format valid and fails the application policy test as intended.
  • Fixed draft vectors. Run npm run conformance for 12 cases across two JS entry points with a shared core. Independently recalculated the three normalized panel strings and SHA256 values with a small Python check. This does not establish independent implementation compatibility.
  • Proposed 90 day launch plan. Measure repeat use in outside repositories. Outreach and publication remain pending.

Demo and review limits

A required order-id and a destination outside the supplied origin could both disappear from a draft while its generated examples passed. Review now flags omitted names and missing destinations for the selected action. The example result explains the limit. Checked the omission and correction at 1280, 390 and 320 pixels in Chrome and covered action switching in browser CI. The recording uses synthetic examples and stays outside the distributed package.

Invoice comparison

The synthetic invoice draft accepts {"amount":1,"currency":"example"} because the inferred types alone cannot express the reviewed requirements. The browser, source CLI and MCP inference now flag omitted hidden inputs, numeric constraints and unchecked choices. File inputs and radio controls also carry specific review notes. These optional notes stay outside the contract, digest and generated MCP tool. The published 0.9.0 package is unchanged.

Tested the invoice across 1280, 640, 390 and 320 CSS pixels, checked reset and verified the extracted demo at desktop and mobile widths with external requests blocked. The package and bundle checks exercise the invoice through an actual MCP client. No benchmark score or approval floor changed.

Approval audit

A double click or held Enter on Run action could also approve sign in or the local invoice. Chrome regression checks now require a separate activation. Cancel and Escape discard the pending review, leave the call record empty and return focus to Run action. Escape in the inspector closes only the dialog. A fresh review and deliberate approval still complete the action.

Verified both flows with Chrome touch emulation at 390 pixels. A separately extracted local preview completed the film, three fixtures and form check at 1280 and 390 pixels with no external requests. The preview is not a published release.

Rebuild the offline demo

Run npm ci --ignore-scripts and npm run build:demo in this checkout. Extract output/Hardwire-offline-demo.zip, open the Hardwire folder and run node start.mjs with Node 22 or newer. The video and example invoice are included. No npm install is needed in the extracted folder.

The first preview relied on an untracked packaging script. The new builder uses the locked development copy of fflate 0.8.3, now declared directly, and shares the portable asset list with Pages and the local server. The integration test compares both archives in two time zones and checks every served asset from temporary extractions. The pilot excludes the video and the local server refuses requests for private notes. A clean checkout reproduced the same ZIP locally. Chrome completed the extracted walkthrough at 1280 and 390 pixels with external requests blocked, including cancellation and invoice warnings. This is a preview only.

Try it

Run npm run dev with Node 22 or newer after npm ci --ignore-scripts. Open the local film, choose Try it, finish Settings and choose Review a form. Or open the local form directly.

Choose Check inputs. The boolean passes and the string fails. Inspect the contract and MCP tool, then try sanitized HTML with two forms. The draft covers all actions and the tool follows the selection. Editing the capture clears previous results. The origin is never visited. No supplied action becomes executable.

Presenter script and pilot instructions

Desktop and mobile screenshots

Desktop form review

Mobile form review

Verification

  • All four GitHub checks passed at b7597a5. Chrome and Ubuntu on Node 22 and 24 plus Windows on Node 24.

  • At 390 pixels Chrome advanced automatically, retained a manual selection across the next loop and showed a still result with reduced motion.

  • Node 24.16.0 on macOS. Quick and full checks passed with 175 unit and 6 integration tests, installed package, extracted bundle and five MCP calls.

  • Chrome compared both downloads byte for byte with the CI example. With the downloaded files and this checkout as the library, Node passed both tests, failed only the consent test after changing confirmation to none, then passed both after restoration.

  • Chrome completed the extracted ZIP through consent removal and restoration at 1280 and 390 pixels with external requests blocked. A real tab switch paused and resumed playback. A malformed starter response displayed recovery instructions.

  • Chrome passed the built site harness including keyboard focus, invalid requests, approval, dialogs, replay, reduced motion, form selection and recovery, and 640, 390 and 320 pixel layouts.

  • Ran the local film through form review at 1280 and 390 pixels. Confirmed pause and resume in a real background tab. Checked worker failure recovery, JSON limit and both copy payloads using a clipboard stub.

  • npm run corpus exited 1 as expected. Six synthetic cases, mean 60.8, two pass at 80. Invoice 40, legacy 60, settings 40 and shop 45 remain visible failures.

  • Both pilot and guided builds run outside the checkout. The independent task completed at 1280, 390 and 320 pixels in Chrome with external requests blocked. Checked clipboard failure recovery and clearing prior output on edits.

  • The published v0.9.0 files passed all three SHA256 checks. The MCP Registry matched the bundle URL, version, transport and digest. Public film and experiment returned 200. Public form and policy returned 404 pending deployment.

  • Development lockfile updates for cross-spawn and node-forge removed one critical and one low finding. Production audit reported zero. Full audit still reports three high and three low findings under MCPB 2.1.2. Release review and remaining work.

Limits and next step

No screen reader, native desktop host, independent Windows first use or outside developer completion is claimed. Pages links for the new routes become live only after merge and deployment. No package or registry publication.

Observe five independent first attempts, recording unassisted completion, first confusion and usefulness. Fix the first repeated blocker.

@mandiau-matthias mandiau-matthias changed the title Connect the three action demo to live HTML form review Connect the Hardwire demo to form review and a working CI starter Dec 4, 2026

This branch has not been deployed

No deployments
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