logicsrc/apps/logicsrc-web/src/app
Anthony Ettinger 7650cfe604 OpenErrand reference runner: @logicsrc/openerrand and logicsrc errand
Ship the runner docs/openerrand.md promised. `logicsrc errand run <file>`
reads an OpenErrand 0.1 file, validates it with @logicsrc/validators, and
drives headless Chrome through it under the spec's thirteen rules;
`errand validate` shows what a file will ask of you and `errand status`
shows the last run of each errand, its card and any lockout.

The engine is generalised from cli-tools `ftb` (PR #125) with no dependency
on cli-tools: the CDP client and Chrome finder from wcag.ts, the page reader,
native-setter fill and forward-button picker from ftb-run.ts, and the rule
matcher, throttle and outcome logic from ftb.ts, all now driven by the file.

- Inputs: document (an extractor hook; the one shipped runs a local command
  that reads JSON requests and prints records), vault (teams or OpenCreds),
  prompt (no echo for secrets), generate, derive, candidate, literal.
  `--input name=value` wins. Shared-secret candidates are ranked as the spec
  says, one is submitted, and a rejection lists the others for --candidate.
- Rules: id before label, step rules first, choices before text, an id match
  final, an unmatched required field stops the run naming it.
- Gates: declare only with --declare after the values are shown; identity
  proofing never touched (URL only) and handed over or stopped on; code from
  the terminal or a code file, used once, a wrong code waits for the next;
  mail ends the run waiting with the card; captcha is the person's, and a
  CaptchaSolver interface is called only where the spec permits (no solver is
  bundled); wait steps are polled, never solved.
- Throttle: 2 runs per errand and account in 30 minutes, 4 a day, 2 minutes
  between runs on a site, lockouts from metadata.lockout or a default, held
  per site and account, never lifted by --force.
- Outputs: credentials written before success to a teams vault by pull,
  merge, push (metadata.vault or --vault), else a 0600 file said aloud;
  downloads type-checked and never overwritten with different bytes; cards
  only in the local run record.
- The user agent is Chrome's own with HeadlessChrome replaced, given at
  launch: a CDP override did not reach a navigation the page's own script
  started, which is exactly the proof-of-work interstitial case.

Tests: 85 in the package (rule engine, inputs, gates, throttle, outcomes,
captcha gating, vaults, outputs, commands) including an integration test
that runs the published FTB example unchanged in real headless Chrome
against a local HTTPS fake site (Chrome maps webapp.ftb.ca.gov to it and
every other host to NOTFOUND; all data fictional), and 2 in the CLI.

CLI 0.6.0 -> 0.7.0; @logicsrc/schemas and @logicsrc/validators 0.3.0 ->
0.4.0 (the OpenErrand schemas, and the vocabularies now exported for
runners); PRD 0009; the spec's Reference runner section and the landing
page say it ships.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 16:02:17 +00:00
..
.well-known docs: OpenStack.md 0.1, one Markdown file for what a project is built on (#191) 2026-09-21 02:21:12 -07:00
[[...slug]] seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
about seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
api Clarify public implementation pricing per agent-hour 2026-09-13 09:30:24 +00:00
asdlc seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
blog seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
docs seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
llms-full.txt feat(web): og:image, /pricing + FAQ schema, llms-full.txt, GitHub nav 2026-06-08 12:51:51 +00:00
llms.txt feat(specs): OpenObject and OpenSlice 0.1 (#192) 2026-09-21 03:05:38 -07:00
openaccess seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openaffiliate seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openagent seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openbandwidth seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openbroadcast seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openconnection seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opencoupon seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opencpu seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opencreds seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opendisk seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openemoji seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openerrand OpenErrand reference runner: @logicsrc/openerrand and logicsrc errand 2026-10-04 16:02:17 +00:00
openfile seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openfleet seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opengpu seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openguest seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openicon OpenIcon: the agentic styles re-render brand marks, and a style says which ground it needs (#211) 2026-09-24 07:24:08 -07:00
openinstall OpenInstall 0.1: one idempotent bin/install.sh that puts an app into service (#221) 2026-10-01 03:08:14 -07:00
openmcp seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openmemory seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openobject seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openontology seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openprd seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openprofile seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openrecipe seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opensaas seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openserver seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opensite seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openskill seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openslice seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opensong seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openstack seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openswarm seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openthreat seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openwebring seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
openwiki seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
pricing seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
privacy seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
robots.txt Charge AI training crawlers for access (x402 gateway) (#141) 2026-09-05 14:49:39 -07:00
skill.md Clarify public implementation pricing per agent-hour 2026-09-13 09:30:24 +00:00
specs seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
terms seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
layout.tsx seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
opengraph-image.tsx feat(web): og:image, /pricing + FAQ schema, llms-full.txt, GitHub nav 2026-06-08 12:51:51 +00:00
sitemap.ts Add OpenSkill descriptions for human capabilities and OpenProfile discovery 2026-09-13 15:47:58 +00:00