Fetch
System action that retrieves an approved external webpage into a stored record after enforcing domain blocks and host allowlists.
fetch · fetching · fetchedOverview
Fetch is a system action that retrieves an external webpage or public record by URL and captures it as structured markdown, text or a snapshot inside the store so downstream tasks can Read it. Wireframe spec A2 It feeds the intake stage of a flow before deliberation or selection runs. Wireframe spec A2 Wireframe spec B
Every URL is screened in deterministic code against blocked domains and the organisation's host allowlist before any outbound HTTP request is made. Ruling 56 Wireframe review C5 Reference: guards.mjs
Tenses
| Tense | Form | Role in the system |
|---|---|---|
| Future | fetch | Names the inbound retrieval system action. Wireframe spec A Wireframe review B17 |
| In progress | fetching | Active retrieval after domain and host checks have passed. Wireframe spec A Wireframe review B17 |
| Completed | fetched | Immutable event type recorded once the captured page lands in the store. Wireframe spec A Wireframe review B17 |
Inputs
| Input | Purpose |
|---|---|
| Target URL | Normalised HTTPS address checked before any network call. Wireframe spec A2 Ruling 56 |
| Allowed hosts | Per-organisation host allowlist (for example efs.com.au), matched on exact host or subdomain. Reference: guards.mjs Reference: server.mjs Wireframe review C5 |
| Capture format | Structured markdown, text or visual snapshot target for the stored record. Wireframe spec A2 |
| Period | Period stamp and refresh cadence for the captured evidence. Vocabulary term 12 |
Outputs
Fetch stores the captured page record (markdown text or snapshot) with source URL, capture timestamp and provenance, and emits an immutable fetched event. Wireframe spec A2 Vocabulary term 12 If a URL fails a domain block or host check, no network request leaves the server and the refusal is logged. Ruling 56 Wireframe review C5
Who performs it
Code only inside a deterministic container, never an unguarded model call. Wireframe spec A2 Doctrine §8 Two non-negotiable guards apply to every fetch and outbound URL check:
- Blocked domains (hard rule): Refuse
.ru,.su,.рф(xn--p1ai) and Russian-owned brands strictly before any HTTP request is issued. Ruling 56 Wireframe review C5 - Allowed hosts: Restrict organisation fetches and published links to configured
allowedHosts(defaulting toefs.com.auin the EFS reference console);guards.mjscheckshost === h || host.endsWith('.' + h)and strips any unlisted host before output reaches a visitor. Reference: guards.mjs Reference: server.mjs Wireframe review C5
Internal source checks on fetched pages (official, original, manufacturer versus retailer) stay hidden from public surfaces. Ruling 55
Topics
Used in task types
Feeds the public website snapshot consumed by Profile an organisation (Profile an organisation · Standard · $0.02 / organisation) in Task types and refreshes verified public organisation records. Wireframe spec B Reference: task-types.json