Operate the lessons

The supported interface is window.JdxGuide in the main JavaScript realm of the canonical field-guide page. This documentation page does not start a second lesson instance. Native buttons and selects call the same dispatcher as agent requests.

These are deterministic local teaching fixtures, not live fnox, mise, pitchfork or communique integrations. No model, shell, credential, repository, MCP server or HTTP action endpoint exists here. State and receipts stay in page memory.

Discover before acting

const guide = window.JdxGuide;
const d = guide.discover();
// Require d.ready === true.
const local = guide.inspect({ targetId: "jdx-lesson-broker" });
const matches = guide.query({
  within: "jdx-guide", role: "button", name: "Reset lesson"
});
// Three matches. Choose one exact target, not the first match.

Publication ID: jdx-field-guide. Interface, content and fixture versions: 1.0.0. These are this publication’s versions, not upstream package versions. Reload creates a fresh opaque pageInstanceId. Discovery returns all 20 controls, four regions and three outputs with current values and DOM availability.

Send an exact request

const d = guide.discover();
const request = {
  publicationId: d.publicationId,
  interfaceVersion: d.interfaceVersion,
  contentVersion: d.contentVersion,
  fixtureVersion: d.fixtureVersion,
  pageInstanceId: d.pageInstanceId,
  requestId: "broker.exposure.1",
  expectedRevision: d.revision,
  target: { id: "broker-run" },
  action: "run",
  args: {}
};
const first = guide.act(request);
const replay = guide.act(request); // replayed: true
const receipt = guide.wait({
  pageInstanceId: d.pageInstanceId,
  requestId: request.requestId
});

All ten envelope fields are required, with no extras. A target is either {id} or {match:{within,role,name}}, never both. Match is exact and case-sensitive; ambiguous results are refused with candidate IDs. Request IDs are 1–80 characters from letters, digits, period, underscore, colon and hyphen. Expected revision is a nonnegative safe integer.

Select actions use action: "set" and {value: "documented-option"}. Buttons use their declared action and {}. Every registered control also supports focus with {}. Arguments are exact and typed; no coercion, ignored keys or silent defaults. The JSON contract includes each option and schema.

Requests must be plain JSON-shaped data. Accessors, cycles, functions, symbols, class instances and non-finite numbers are refused; getters are not invoked during request admission. This in-process API is not a security boundary against other scripts already executing in the page.

Read domain results as well as transport results

Read, query, wait and diagnose

Replay and recovery

Exact replay compares the entire request with object keys sorted recursively. Reusing an ID with changed arguments, target or revision returns REQUEST_ID_REUSE. Existing replays return their original receipt after later actions and resets without restoring old state. To act on a stale page revision, inspect the new state and issue a new ID with the current revision.

The page retains up to 4096 distinct same-instance valid-envelope request IDs, including stored admission failures. It evicts nothing. At capacity, new IDs receive REQUEST_LIMIT; reads and existing replays continue. Malformed envelopes, foreign identities, changed-ID reuse and capacity refusals are not stored. Reload is the explicit recovery and discards all teaching work.

Admission order is shape, identity, replay, capacity, versions, target, action/arguments, revision, DOM availability and domain preconditions. Do not rebuild an old request with a new expected revision and call that replay.

A lesson reset advances its epoch and restores initial fixture values. This prevents check and capture IDs from being recycled inside the page. Reset all preserves the root revision and receipt ledger. There is no localStorage, sessionStorage, IndexedDB, cookie or server-side persistence for lesson state or reading preferences.

Three concrete paths

Coverage and permissions

All lesson selects, buttons, reset actions and control focus are registered. All state-changing native lesson controls use the same dispatcher. Source links, Contents links, support links, scrolling, text selection and browser reload are ordinary browser operations outside the API. These are the documented coverage gaps, not hidden action endpoints.

There is no authentication or privilege escalation in the fictional lessons. Selecting “Deployment permitted” changes only a local fixture input; it grants no real deployment authority. Accepting a note records a string in memory; it does not publish to GitHub. No file is saved.

Agent Skills discovery and free access

The Agent Skills discovery index identifies the supported Jeff Dickey field-guide skill and its exact SHA-256 digest. The skill documents when to use this guide, how to read its sources, how to operate the existing JdxGuide interface, and how to recover. It is an instruction package, not a new remote action API or MCP server.

This public guide and its local fixtures are free to read and use without an account or payment. The machine-readable free-access statement scopes that claim to this publication. External projects, model providers and hosting services retain their own terms.

Canonical entrypoint: Jeff Dickey field guide. Full machine contract: agent-interface.json. Privacy and hosting.