mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 17:24:48 +00:00
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>
This commit is contained in:
parent
41d0c59a74
commit
c9104a7a36
8 changed files with 79 additions and 17 deletions
|
|
@ -9,7 +9,7 @@ export const STEPS: Array<[string, string]> = [
|
|||
["identity-proofing", "A selfie, a video call or an ID scan at a provider such as ID.me. Never driven by the runner: the person does it in a visible window."],
|
||||
["code", "A one-time code by text, email, call or app, relayed by the person through a terminal, a file or the runner's own page."],
|
||||
["mail", "A letter with a PIN. The run ends as waiting and a hand-off card says what to do when it comes."],
|
||||
["captcha", "Shown to the principal, or the run stops. Never sent to a solving service or a model."]
|
||||
["captcha", "Shown to the principal, or the run stops. A solver only where the errand says so, never on a government, tax, financial, healthcare or identity-provider site, never with a declaration, identity proofing or a secret input."]
|
||||
];
|
||||
|
||||
/** The sensitivity classes, in the order the spec lists them. */
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ const EXCERPT = `"rules": [
|
|||
const RULES: Array<[string, string]> = [
|
||||
["Shows the errand first", "Title, publisher, every gate with its reason, every input with its sensitivity and source. A file whose hash changed is shown again before it runs."],
|
||||
["Never guesses", "Fields are matched by id first and label second. A required field no rule fills stops the run."],
|
||||
["Never performs a gate", "Declarations need the person's consent for this run. Identity proofing, captchas and letters are theirs. Codes come only through a declared relay."],
|
||||
["Never performs a gate", "Declarations need the person's consent for this run. Identity proofing and letters are theirs, and so are captchas on any sensitive site. Codes come only through a declared relay."],
|
||||
["One shared secret per run", "A figure from a return is submitted once. A rejection ends the run and lists the other candidates; a person picks the next one."],
|
||||
["Keeps documents and values in place", "Extraction is local. Values go to the site's fields and the vault; logs hold fields, never values; cards hold steps, never secrets."]
|
||||
];
|
||||
|
|
@ -55,9 +55,10 @@ export default function OpenErrandPage(): ReactNode {
|
|||
values that are secret, the steps that belong to a person, and the point where it stops.
|
||||
</p>
|
||||
<p style={{ color: "#5b6b7a" }}>
|
||||
Status: 0.1. The reference runner is <code style={mono}>ftb</code> in cli-tools, which
|
||||
registers and activates MyFTB accounts at the California Franchise Tax Board; the worked
|
||||
example in the specification transcribes its rule table. An excerpt:
|
||||
Status: 0.1. A generic runner, <code style={mono}>logicsrc errand run</code> from{" "}
|
||||
<code style={mono}>@logicsrc/openerrand</code>, is in progress. The worked example
|
||||
transcribes the rule table of <code style={mono}>ftb</code> in cli-tools, which registers
|
||||
and activates MyFTB accounts at the California Franchise Tax Board. An excerpt:
|
||||
</p>
|
||||
<pre style={pre}>{EXCERPT}</pre>
|
||||
</div>
|
||||
|
|
@ -163,7 +164,7 @@ export default function OpenErrandPage(): ReactNode {
|
|||
<h2>Not</h2>
|
||||
</div>
|
||||
<p style={{ color: "#41505d" }}>
|
||||
Not a way around a check: there is no key for proxies, fingerprints or captcha solvers.
|
||||
Not a way around a check: a runner may present a normal browser user agent and nothing more, with no fingerprint spoofing, no stealth plugins and no challenge solving.
|
||||
Not for someone else's account. Not an API: when a site has one, use{" "}
|
||||
<Link href="/openconnection">OpenConnection</Link>,{" "}
|
||||
<Link href="/openaccess">OpenAccess</Link> or <Link href="/opensaas">OpenSaaS</Link>. Not a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue