Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Expanded the synthetic corpus to six cases: blog 100, legacy 60, shop 45, settings 40, sign-in 80 and invoice 40; mean 60.8/100, 2/6 at the 80 threshold. Each fixture records the contract fields inference cannot establish.
* Recorded a maintainer-run Codex CLI 0.145.0 protocol check with synthetic data; an independent outside report remains open.
* Audited the experiment by keyboard, fixed redundant live-region writes while preserving repeated error announcements, and added `npm run test:browser` with a Chrome CI workflow for playground tab order, focus, experiment journeys, film playback, reduced motion and narrow layouts.
* Inference now ignores inert template and textarea markup. The probe applies RFC 9309 specificity to root allow/disallow rules before capping a robots.txt disallow, and private-host screening rejects mapped, translated, NAT64, site-local and reserved IPv6 literals.
* Inference now ignores inert template and textarea markup. The probe applies RFC 9309 specificity to root allow/disallow rules before capping a robots.txt disallow, ignores a leading UTF-8 BOM, and private-host screening rejects mapped, translated, NAT64, site-local and reserved IPv6 literals.
* Added a daily maintainer guide, a scoped work queue and standalone coding assistant instructions.
* Added `npm run dev` and `npm run check:quick`; full package and bundle verification remains required before merging.
* Configured weekly dependency update proposals and made independent first run completion explicit in the feedback form.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ checks. Your application supplies the authorized handler.
· [Ask a question](https://github.com/Automatron-workflows/hardwire/discussions/categories/q-a)

[![Tests](https://github.com/Automatron-workflows/hardwire/actions/workflows/test.yml/badge.svg)](https://github.com/Automatron-workflows/hardwire/actions/workflows/test.yml)
[![Browser](https://github.com/Automatron-workflows/hardwire/actions/workflows/browser.yml/badge.svg)](https://github.com/Automatron-workflows/hardwire/actions/workflows/browser.yml)

[![Sign in, invoice payment and settings: interface navigation compared with direct actions](docs/assets/demo.gif)](https://automatron-workflows.github.io/hardwire/)

Expand Down
12 changes: 8 additions & 4 deletions docs/LAUNCH-STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,14 @@ Desktop bundles and installed entry points avoid startup downloads. Native deskt
The source checkout now includes `AGENTS.md`, a daily workflow, an ordered queue
and release recovery instructions. `npm run check:quick` runs the local suite;
`npm run check` adds the fresh installation and bundle checks. Both passed on
16 November, including 143 unit tests, five HTTP integration tests and actual
MCP calls. The settings, sign-in and invoice corpus fixtures add regression tests
and keep the six-case baseline visible. The new `npm run dev -- --port 0` entry
point was started and both page routes returned successfully. No UI code was changed or new browser review claimed.
16 November, including 146 unit tests, five HTTP integration tests and actual
MCP calls. The browser workflow runs the playground tab-order, experiment and
film checks in headless Chrome; the local Chrome 157 check and the Ubuntu job
passed. The settings, sign-in and invoice corpus fixtures add regression tests
and keep the six-case baseline visible. The `npm run dev -- --port 0` entry point
was started and both page routes returned successfully. No screen reader, real
Windows machine or outside user was involved, so those evidence gates remain
open.

Weekly dependency proposals and completion feedback fields are configured. The
published 0.9.0 artifacts remain immutable; maintainer changes live on main and
Expand Down
2 changes: 1 addition & 1 deletion src/probe.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function rootCoveringLength(value) {
}

function robotsBlocksAllAgents(body) {
const lines = body.split(/\r?\n/).map((line) => line.replace(/#.*$/, "").trim());
const lines = body.replace(/^\uFEFF/, "").split(/\r?\n/).map((line) => line.replace(/#.*$/, "").trim());
let inAll = false;
let disallowLength = 0;
let allowLength = 0;
Expand Down
8 changes: 8 additions & 0 deletions test/probe.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,11 @@ test("private hosts are refused unless explicitly allowed, and near-misses are p
const local = await probeOrigin("http://localhost:3000", { fetchImpl: site({}), allowPrivate: true });
assert.equal(local.origin, "http://localhost:3000");
});

test("a UTF-8 BOM does not hide a blanket robots disallow", async () => {
const routes = { ...cooperative(), "/robots.txt": { body: "\uFEFFUser-agent: *\nDisallow: /\n", type: "text/plain" } };
const report = await probeOrigin("https://shop.example.com", { fetchImpl: site(routes) });
assert.equal(report.blockedByRobots, true);
assert.equal(report.cappedByRobots, true);
assert.equal(report.score, 25);
});