logicsrc/packages/schemas/package.json
Anthony Ettinger 1d69dc3804
OpenErrand 0.1: an errand on a website with no API, with the human steps kept human (#227)
* OpenErrand 0.1: an errand on a website with no API, with the human steps kept human

docs/openerrand.md mints OpenErrand: one JSON file per errand (register an
account, download a transcript) naming the site, the inputs with a
sensitivity class and ordered sources (document, vault, prompt, generate,
derive, candidate, literal), field rules matched by id then label, page and
wait steps, five human gates a runner never performs (declare,
identity-proofing, code, mail, captcha), outcomes, the never-retried shared
secret, vault and download outputs, hand-off cards that may name only public
inputs, the publisher index at /.well-known/openerrand.json, and thirteen
runner rules. The worked example is the MyFTB business registration that
cli-tools `ftb` performs (profullstack/cli-tools#125), with no personal data.

- @logicsrc/schemas: openerrand + openerrand-index schemas and fixtures
- @logicsrc/validators: semantic checks (references, templates, no personal
  or secret input on a card) and tests that validate the spec's own examples
- logicsrc-web: registry entry (process family), /openerrand landing page,
  the example and the index served as static files, contract tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* OpenErrand: hand-off cards stay on the surface that owns the data

Anthony's ruling: tax and finance data never touches a social or promotion
tool, and nothing is sent to a CPA or preparer.

- Hand-off cards are delivered only on the surface that owns the errand's
  data (for a tax or finance errand, the principal's finance app through its
  CLI, PWA, MCP server or API, such as CoinPay, or the runner's terminal),
  never a social, promotion or third-party posting service, and never to
  anyone but the principal. A card for an errand with personal or secret
  inputs does not leave that surface. Runner rule 9 says the same.
- The run record and the sample run name the card by an opaque id
  (pin-letter/7f3k2q) instead of a mynaposter.com URL; the myna mention is gone.
- `principal: represented` no longer cites a preparer with a power of attorney.
- The FTB card's last step no longer suggests sending the PIN to someone else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* OpenErrand: user-agent rule, captcha solver policy, reference runner note

Anthony's answers on #227 ("go with your recommendations"):

- Rule 11: a runner may run headless with a normal desktop browser user agent
  (dropping HeadlessChrome) and nothing more: no fingerprint spoofing beyond
  the UA string, no stealth plugins, no solving or evading a bot challenge.
  A challenge the browser completes itself is a wait step; any other is a
  captcha gate.
- Captcha solvers: new site.sector and captcha step `solver`
  (forbidden by default | allowed). Never allowed on government, tax,
  financial, healthcare or identity-provider sites, nor on any errand with a
  declare or identity-proofing step or a secret input; elsewhere only when the
  file says so, with every use logged. The validator rejects `allowed` in the
  forbidden set or without a stated sector; six new tests. The FTB example
  states sector "tax".
- Reference runner: @logicsrc/openerrand / `logicsrc errand run`, marked in
  progress; ftb stays the runner the example was taken from.
- Name stays OpenErrand; family stays Agents and process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 08:57:10 -07:00

111 lines
6.1 KiB
JSON

{
"name": "@logicsrc/schemas",
"version": "0.3.0",
"description": "LogicSRC JSON schemas for tasks, agents, runs, events, plugins, the AgentAd ad standard, the OpenOntology knowledge contracts, the OpenContext context plane, the OpenCreds credential vault, OpenRental membership and rental offers, and the OpenWall messaging proposal. Includes the OpenABTest draft experiment and event contracts.",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/profullstack/logicsrc.git",
"directory": "packages/schemas"
},
"homepage": "https://github.com/profullstack/logicsrc/tree/master/packages/schemas",
"keywords": [
"advertising",
"agentad",
"agents",
"cli",
"context",
"json-schema",
"knowledge-graph",
"logicsrc",
"ontology",
"opencontext",
"opencreds",
"openrental",
"openerrand",
"browser-automation",
"openontology",
"password-manager",
"standards",
"vault",
"openabtest"
],
"publishConfig": {
"access": "public"
},
"exports": {
"./account-audit-event": "./schemas/logicsrc-account-audit-event.schema.json",
"./account-grant": "./schemas/logicsrc-account-grant.schema.json",
"./account-provider": "./schemas/logicsrc-account-provider.schema.json",
"./agent": "./schemas/logicsrc-agent.schema.json",
"./agentad-ad": "./schemas/agentad-ad.schema.json",
"./agentad-ad-request": "./schemas/agentad-ad-request.schema.json",
"./agentad-ad-response": "./schemas/agentad-ad-response.schema.json",
"./agentad-campaign": "./schemas/agentad-campaign.schema.json",
"./agentad-click": "./schemas/agentad-click.schema.json",
"./agentad-impression": "./schemas/agentad-impression.schema.json",
"./agentad-placement": "./schemas/agentad-placement.schema.json",
"./connected-account": "./schemas/logicsrc-connected-account.schema.json",
"./credential-audit-event": "./schemas/logicsrc-credential-audit-event.schema.json",
"./credential-provider": "./schemas/logicsrc-credential-provider.schema.json",
"./credential-sync-plan": "./schemas/logicsrc-credential-sync-plan.schema.json",
"./credential-sync-run": "./schemas/logicsrc-credential-sync-run.schema.json",
"./email-message": "./schemas/logicsrc-email-message.schema.json",
"./event": "./schemas/logicsrc-event.schema.json",
"./opencontext-audit-event": "./schemas/logicsrc-opencontext-audit-event.schema.json",
"./opencontext-bundle": "./schemas/logicsrc-opencontext-bundle.schema.json",
"./opencontext-conformance": "./fixtures/opencontext/conformance.json",
"./opencontext-decision": "./schemas/logicsrc-opencontext-decision.schema.json",
"./opencontext-diagnostic": "./schemas/logicsrc-opencontext-diagnostic.schema.json",
"./opencontext-manifest": "./schemas/logicsrc-opencontext-manifest.schema.json",
"./opencontext-object": "./schemas/logicsrc-opencontext-object.schema.json",
"./opencontext-provenance": "./schemas/logicsrc-opencontext-provenance.schema.json",
"./opencontext-role": "./schemas/logicsrc-opencontext-role.schema.json",
"./opencreds-audit-event": "./schemas/logicsrc-opencreds-audit-event.schema.json",
"./opencreds-database": "./schemas/logicsrc-opencreds-database.schema.json",
"./opencreds-envelope": "./schemas/logicsrc-opencreds-envelope.schema.json",
"./opencreds-item": "./schemas/logicsrc-opencreds-item.schema.json",
"./opencreds-manifest": "./schemas/logicsrc-opencreds-manifest.schema.json",
"./opencreds-vault-meta": "./schemas/logicsrc-opencreds-vault-meta.schema.json",
"./openrental": "./schemas/logicsrc-openrental.schema.json",
"./openerrand": "./schemas/logicsrc-openerrand.schema.json",
"./openerrand-index": "./schemas/logicsrc-openerrand-index.schema.json",
"./openontology-action": "./schemas/logicsrc-openontology-action.schema.json",
"./openontology-approval": "./schemas/logicsrc-openontology-approval.schema.json",
"./openontology-changeset": "./schemas/logicsrc-openontology-changeset.schema.json",
"./openontology-claim": "./schemas/logicsrc-openontology-claim.schema.json",
"./openontology-conformance": "./fixtures/openontology/conformance.json",
"./openontology-constraint": "./schemas/logicsrc-openontology-constraint.schema.json",
"./openontology-entity": "./schemas/logicsrc-openontology-entity.schema.json",
"./openontology-entity-type": "./schemas/logicsrc-openontology-entity-type.schema.json",
"./openontology-event": "./schemas/logicsrc-openontology-event.schema.json",
"./openontology-evidence": "./schemas/logicsrc-openontology-evidence.schema.json",
"./openontology-manifest": "./schemas/logicsrc-openontology-manifest.schema.json",
"./openontology-namespace": "./schemas/logicsrc-openontology-namespace.schema.json",
"./openontology-package": "./schemas/logicsrc-openontology-package.schema.json",
"./openontology-property": "./schemas/logicsrc-openontology-property.schema.json",
"./openontology-query": "./schemas/logicsrc-openontology-query.schema.json",
"./openontology-relationship-type": "./schemas/logicsrc-openontology-relationship-type.schema.json",
"./openontology-review": "./schemas/logicsrc-openontology-review.schema.json",
"./openontology-source": "./schemas/logicsrc-openontology-source.schema.json",
"./openprd-prd": "./schemas/openprd-prd.schema.json",
"./openwall-message": "./schemas/logicsrc-openwall-message.schema.json",
"./openwall-receipt": "./schemas/logicsrc-openwall-receipt.schema.json",
"./plugin": "./schemas/logicsrc-plugin.schema.json",
"./pull-request": "./schemas/logicsrc-pull-request.schema.json",
"./repo": "./schemas/logicsrc-repo.schema.json",
"./run": "./schemas/logicsrc-run.schema.json",
"./social-post": "./schemas/logicsrc-social-post.schema.json",
"./task": "./schemas/logicsrc-task.schema.json",
"./openabtest-manifest": "./schemas/logicsrc-openabtest-manifest.schema.json",
"./openabtest-event": "./schemas/logicsrc-openabtest-event.schema.json"
},
"files": [
"schemas",
"fixtures"
],
"scripts": {
"build": "node -e \"console.log('schemas: no build step')\""
}
}