HEARTH & CODE / FIELDCRAFT
NOTES FROM THE PRACTICE / VOL. 01

The craft
behind the work.

Practical techniques for thinking, building,
and creating with AI. Precise enough to test.
Small enough to put to work today.

Explore the first field note
ONE TECHNIQUE WORKING EXAMPLE VISIBLE RESULT
ENGINEERINGKNOWLEDGEDESIGNCREATIVE PRACTICECONNECTED BY METHOD
START HERE / FIELD NOTE 001Interactive example
ESS & AGENTIC ENGINEERING

Make the acceptance
condition executable.

A fluent answer can still break the contract. Separate the candidate from the predicate that checks it—and make the result inspectable.

6 MIN READ · JAVASCRIPT · DESIGN PREVIEW
01 / THE PREDICATE · PSEUDOCODE
const withinCapacity = items.length ≤ k;
const unique = distinct(items);

accept = withinCapacity  unique;
A ceiling is a bound. Not a quota.
THE COLLECTION

Find your next technique.

32 practical field notes. Each with a formulation, a working example, and a counterexample.

032

Separate pure plans from released effects

ESS & agentic engineering · A two-mode checker that keeps pure planning distinct from authorized execution.

Read + try ↗
031

Transfer Rust ownership at a task boundary

Rust & agentic engineering · A browser transfer model and compile-fail Rust ownership example for a single task packet.

Read + try ↗
030

Make parse failure explicit with Rust Result

Rust & reliable interfaces · A browser-aligned parser and compile-tested Rust Result example with explicit failure variants.

Read + try ↗
029

Encode review state with Rust typestate

Rust & agentic engineering · A browser model and compile-tested Rust typestate example for draft and reviewed articles.

Read + try ↗
028

Cap deterministic retry backoff

Reliable software systems · A deterministic retry calculator with an explicit attempt budget and delay cap.

Read + try ↗
027

Do not redispatch an indeterminate model step

Exocore & reliable workflows · A pedagogical lifecycle checker that holds redispatch after a model step becomes indeterminate.

Read + try ↗
026

Detect idempotency-key conflicts

Exocore & reliable workflows · A deterministic idempotency check that distinguishes new requests, replay, conflict and duplicate history.

Read + try ↗
025

Check producer and consumer compatibility

ESS & software architecture · A bounded required-field compatibility check for a typed producer-consumer seam.

Read + try ↗
024

Return a loss report with every projection

ESS & knowledge engineering · A shallow scalar projection checker that compares actual and declared loss.

Read + try ↗
023

Keep capability separate from permission

ESS & agentic engineering · A checker that prevents technical capability or adjacent scope from becoming authority.

Read + try ↗
022

Fail closed when a guard state is unknown

ESS & agentic engineering · A tri-state guard checker that treats unknown as a hold with visible evidence.

Read + try ↗
021

Reject stale retrieval evidence at an explicit boundary

Knowledge & synthesis · Reject evidence that exceeds a stated maximum age while accepting the exact boundary.

Read + try ↗
020

Separate evidence confidence from release status

Knowledge & synthesis · Keep evidence confidence and release lifecycle in independent fields rather than deriving one from the other.

Read + try ↗
019

Explain a revision with set differences

Knowledge & synthesis · Use added and removed set members to give a compact, reproducible revision explanation.

Read + try ↗
018

Preserve source offsets when extracting spans

Knowledge & synthesis · Check extracted spans against JavaScript UTF-16 code-unit offsets, including surrogate-pair boundaries.

Read + try ↗
017

Select context by relevance under a token budget

Knowledge & synthesis · A deterministic greedy selector that prioritizes relevance while keeping within a declared token budget.

Read + try ↗
016

Detect cycles in a dependency graph

Knowledge & synthesis · Use depth-first traversal to identify a directed dependency cycle before scheduling work.

Read + try ↗
015

Preserve minority conclusions during synthesis

Knowledge & synthesis · A retention check that keeps every supplied conclusion, including minority positions, in a synthesis record.

Read + try ↗
014

Separate contradiction from missing evidence

Knowledge & synthesis · Classify unsupported records separately from records that assert incompatible values for the same claim.

Read + try ↗
013

Require every claim to name its evidence

Knowledge & synthesis · A claim-to-evidence checker that rejects claims with no named supporting record.

Read + try ↗
012

Detect source revision drift with explicit identity

Knowledge & synthesis · A small explicit check for source revision drift without treating a version label as cryptographic proof.

Read + try ↗
011

Check design contrast with the WCAG formula

Design with AI · Calculate relative luminance and compare a synthetic color pair with a declared contrast threshold.

Read + try ↗
010

Choose a diverse concept set with declared tags

Creative practice · Check a synthetic concept set for unique identities, required tags and a declared diversity floor.

Read + try ↗
009

Separate the fixed brief from optional variation

Creative practice · Check that a synthetic creative candidate keeps fixed brief fields and uses only declared optional fields and values.

Read + try ↗
008

Vary one creative parameter at a time

Creative practice · Compare two synthetic creative candidates and require exactly one declared parameter to differ.

Read + try ↗
007

Score a creative candidate with declared criteria

Creative practice · Apply explicit weighted criteria to a synthetic creative candidate without calling the score a quality verdict.

Read + try ↗
006

Carry the constraints across a handoff

Agentic engineering · Check that required and optional task constraints survive a synthetic handoff.

Read + try ↗
005

Stop refinement at a declared budget

Agentic engineering · Verify that a refinement trace stays within its iteration budget and records one entry per iteration.

Read + try ↗
004

Keep a simple baseline in the comparison

Evaluation practice · Compare declared numeric criteria with a baseline and an explicit margin.

Read + try ↗
003

Check output shape before the next step

Agentic engineering · Reject missing fields and wrong item types before a downstream operation reads an output.

Read + try ↗
002

Treat prompt fields as data, not separators

Prompt craft · Test whether a prompt transport preserves items that contain its separator.

Read + try ↗
001

Make the acceptance condition executable

ESS & agentic engineering · One independent acceptance predicate, a runnable example, and a counterexample.

Read + try ↗

A PRACTICAL COMPANION
TO THE FIELD JOURNAL

Ideas become useful
when you can work with them.

Fieldcraft is the Hearth & Code notebook for that moment: the small method, the explicit assumption, the example you can run. Across engineering, knowledge and creative work, we show the technique—and the limits of what it demonstrates.

Inspect the source ↗