AI Harness — Research#

Version: 1.0.0 | Date: 24.07.2026 | Time: 16:10 | GlobalID: 20260724_1610_AI_Quickstart_AI_Harness_03_V1_RESEARCH

Last Updated: 24.07.2026 16:10

Framework: ai-quickstart_Documentation

Status: wip

Origin Domain: haluszka.com

Git: Repo: ai-quickstart | Branch: main | Path: docs/artifacts/AI_Quickstart_AI_Harness_03_V1_RESEARCH.md | Commit: pending

Tag block: #ai_harness #research #sphinx #tutorial #deployment

Research result#

The public learning product should be a multi-page English Sphinx guide with one local, file-based lab. It should not publish the Discovery verbatim. Discovery remains the raw reservoir; this Research selects the claims, teaching sequence, source standards, and deployment path.

The guide should use one primary learning arc:

prompt -> context -> skill -> harness -> evaluation

This is supported as a didactic account of increasing structure, not as a universal chronology. Anthropic explicitly describes context engineering as a natural progression from prompt engineering while also defining it as broader management of the tokens and state available during inference (Anthropic, 2025). The guide can therefore preserve the historical intuition while saying that the practices overlap and remain active together.

Evidence method#

Claims are divided into four evidence classes:

Class

Use

Primary technical documentation

Definitions, product behaviour, protocols, build and deployment facts

Primary practitioner engineering reports

Design patterns and reported operational experience

Project-local evidence

Repository paths, successful commits, build logs, and deployment records

Orientation sources

Creator channels, newsletters, demonstrations, and comparative leads

Orientation sources can motivate a Research question but cannot settle a technical, legal, security, hardware, or buying decision. Public pages require clickable sources at the point of reading; the source directory is an index, not a substitute for inline support.

Findings#

R-01 — Preserve the historical teaching arc#

Finding: The prompt-to-harness story is pedagogically strong and has historical grounding, provided it is framed as a compression of overlapping practice. The development is a shift in the unit of design:

wording -> selected working state -> reusable procedure -> operating system

Decision: Use this as the opening technical narrative. Add one sentence that the terms co-evolved and do not represent clean eras.

R-02 — Define a harness as an operating environment#

An agent is more than a single response. OpenAI describes agents as systems in which a model manages workflow execution and uses tools within guardrails (OpenAI, practical guide). Anthropic distinguishes an agent harness from an evaluation harness: the first lets a model act; the second runs tasks, records trials, and grades results (Anthropic, agent evals).

Decision: Teach the compact formula:

Prompt = request
Context = selected working material
Skill = reusable method
Harness = operating environment
Evaluation = acceptance review

R-03 — Context is selected state, not accumulated volume#

For an LLM, context is the token state supplied during inference. It is finite, and adding material can reduce signal rather than improve it. The tutorial must distinguish:

  • training parameters;

  • active context;

  • external retrieval;

  • persistent memory;

  • tool and environment state; and

  • visual or multimodal conditioning, which may not share LLM token mechanics.

Decision: Give context engineering its own page and use the stage metaphor only after the technical distinction is established.

R-04 — Metaphors should be parallel lenses#

Different readers attach to different professional models. The same system should be retold through several lenses:

Lens

Highlights

Can hide

Workshop

materials, tools, procedures, quality control

runtime loops and state

Production / screenplay

roles, orchestration, handoffs, review

deterministic automation

Camera

focus, framing, deliberate exclusion

tools and persistent memory

Stage

active context versus the larger store

system-specific context mechanics

Professional briefing

goals, constraints, references, formats, review

execution and observation loops

Decision: Provide one metaphor index and a short standalone page for each story. Every page ends by mapping its terms back to the same technical model, so metaphors aid comprehension without becoming competing definitions.

R-05 — Start with one agent and add roles only when useful#

OpenAI recommends maximizing a single agent before introducing multi-agent complexity; additional agents become useful when logic or tool selection no longer remains manageable. Agent roles are contracts, not personalities.

Decision: The first local session uses one agent entry point and one skill. Researcher and verifier roles are an optional extension, not a prerequisite.

R-06 — Combine model judgement with controlled workflows#

LLMs belong where interpretation, synthesis, variation, or exception handling is needed. Templates, schemas, scripts, and tests belong where names, formats, ordering, or structural invariants must repeat. OpenAI similarly advises using agents for ambiguity that resists deterministic rules, rather than making every workflow agentic.

Decision: The lab must visibly separate:

  1. a semantic task the model performs;

  2. a fixed output contract;

  3. a machine-executed structural check; and

  4. a human acceptance decision.

R-07 — Evaluation is part of the lesson, not an appendix#

Agent outputs vary, and a single run does not demonstrate reliability. Anthropic’s evaluation model distinguishes tasks, trials, graders, traces, and final environment outcomes. The beginner version should remain smaller but retain this logic.

Decision: Every practical page defines an observable outcome. The lab records the task, result, check, and human decision. Multiple trials and richer observability remain an advanced extension.

R-08 — Visual transfer is a systems lesson#

The transferable principle is the deliberate design of intent, inputs, controls, feedback, provenance, and acceptance criteria. It does not imply that image, video, audio, and 3D generators share one LLM-style context window.

Decision: Use one visual-transfer page with a modality matrix. Only synthetic or explicitly cleared assets may enter the first lab.

R-09 — Sphinx should publish a guide, not the artifact lifecycle#

Sphinx produces static HTML that can be built independently of the host (Sphinx deployment documentation). This supports a clean separation:

internal artifacts -> curated guide pages -> static HTML -> public mirror

Decision: Discovery and Research remain visible under artifacts/ for internal traceability. The public learning path lives under guide/ and links to a curated source page rather than exposing raw appendices as course content.

Sphinx information architecture#

docs/
├── guide/
│   ├── index.md
│   ├── technical-foundation.md
│   ├── history-and-layers.md
│   ├── context-engineering.md
│   ├── agents-skills-workflows.md
│   ├── visual-transfer.md
│   ├── metaphors/
│   │   ├── index.md
│   │   ├── workshop.md
│   │   ├── production.md
│   │   ├── camera-and-stage.md
│   │   └── briefing.md
│   ├── lab/
│   │   ├── index.md
│   │   └── local-session.md
│   ├── sources.md
│   └── deployment.md
└── artifacts/
    ├── ..._02_V1_DISCOVERY.md
    └── ..._03_V1_RESEARCH.md

The page order is deliberate:

  1. establish the technical model;

  2. tell the maturation story;

  3. explain context;

  4. offer alternative metaphors;

  5. explain agents, skills, and controlled workflows;

  6. transfer the model to visual work;

  7. build and use a local starter harness;

  8. show sources and publication mechanics.

Local learning session#

The first session uses an actual three-part starter rather than merely showing a diagram:

examples/minimal-harness/
├── AGENTS.md
├── TASK_AND_CHECK.md
└── skills/
    └── project-guide/
        └── SKILL.md

The reader will:

  1. choose one small, rights-cleared task;

  2. write its outcome and acceptance check;

  3. let AGENTS.md route to the governing skill;

  4. run the task in one locally available compatible agent product;

  5. inspect the output rather than trusting the completion message;

  6. record one failure or ambiguity; and

  7. improve the narrowest relevant file.

The session is local-first. It must not require cloud deployment, a purchased GPU, multiple agents, Sphinx knowledge, or access to the full Studio Framework.

Publication architecture#

The WET Kaunertal project provides the proven local pattern and the relevant failure history:

AI_Quickstart/docs/
    -> local Sphinx build
    -> AI_Quickstart/docs/_build/html/
    -> mirror only generated site into
       haluszka-com-webdev/public/ai-quickstart/
    -> Vite build
    -> IONOS Deploy Now
    -> https://haluszka.com/ai-quickstart/

Project-local evidence:

  • WET_Kaunertal/ROADMAP_WET_Kaunertal.md records the successful separate-repo mirror to haluszka-com-webdev/public/wet-kaunertal/.

  • haluszka-com-webdev/DEPLOYMENT.md records that repository-owned .deploy-now configuration introduced misleading failures.

  • The same record identifies the final blocker as an IONOS Starter deployment above its approximately 50 MB quota; reducing old public PDFs produced a successful build of about 33.5 MB.

  • The IONOS-generated GitHub workflows are the working deployment mechanism and should not be edited as part of this guide.

Publication decision: implement and verify the complete Sphinx site locally in AI_Quickstart first. Later publication is a separate, explicit operation: mirror only the current generated HTML, measure dist/, commit in haluszka-com-webdev, push, and verify the live route. This Research does not authorize that external push.

Promotion gates#

Research can advance to Requirements when:

  • the teaching arc distinguishes history from didactic compression;

  • the Sphinx page tree and navigation order are explicit;

  • metaphors map back to one technical model;

  • the local session has a bounded three-part starter;

  • evaluation appears in the first practical task;

  • the Kaunertal deployment lessons are captured;

  • the local Sphinx build completes without warnings (30 source files, plain build, 24.07.2026);

  • every guide page has inline primary sources for non-obvious claims;

  • the starter is trialled once in Codex with the rights-cleared fictional Orbit brief; reader usability remains untested;

  • a representative reader can explain the five-part formula after using either the technical or one metaphor path; and

  • the public mirror size and URL policy are accepted before deployment.

  • a public-build allowlist excludes internal artifacts, project files, work packages, and handover pages from the mirrored output.

Residual risks#

  • The guide can still become too broad for a quickstart.

  • Five metaphors may feel repetitive unless each has a distinct audience and takeaway.

  • A three-file starter may still be more ceremony than a first conversation needs; it must be compared with a single-file baseline.

  • The full repository currently carries internal project documentation that should not automatically become public.

  • Mirroring generated HTML duplicates files across repositories. It is simple and proven, but requires a deterministic sync script and stale-file removal.

  • IONOS limits and generated workflows may change; verify them at deployment time.