preflight_should_i_act
The single call an agent makes before transacting with a destination
on the open web. Composes the cross-lens verdict with a bounded
Tracker-presence bonus, maps the adjusted trust score to a tri-state
decision (allow / caution / deny), and returns a 5-minute signed
consultation receipt (sigil_token with sub: preflight:consulted).
The receipt is the load-bearing artifact: the agent attaches it to its action log as cryptographic proof that the destination was consulted before action. The decision itself is commodity-shaped; the receipt of having asked is what accountability requires.
When ait is supplied, the consultation additionally chains a
witness-tier preflight:consulted event onto the ATAP AIT, signed by
OAI-2026-0000201 — turning the consultation into a hash-chained,
replayable artifact.
Tracker presence applies a bounded +0.05 trust bonus before decision
mapping (capped at 1.0). Absence is never a penalty — most of the open
web is not in the tracker corpus and that's expected.
Defaults: allow >= 0.70, caution >= 0.40, else deny. Thresholds
are overridable per request; weights are inherited from cross_lens_verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ait | No | Optional ATAP AIT id. When present, chains a witness-tier `preflight:consulted` event onto the AIT. | |
| node | Yes | IPv4/IPv6 address, domain, ASN with optional `AS` prefix, or entity_slug. | |
| intent | No | Free-form context — recorded in the receipt, never affects the decision. Validated against /^[A-Za-z0-9._:-]{1,64}$/. | |
| agent_id | No | Caller's stable agent identifier, recorded in the receipt. Validated against /^[A-Za-z0-9._:-]{1,128}$/. | |
| thresholds | No | Optional overrides; must satisfy 0 <= caution < allow <= 1. |