The Three-Layer Stack in Practice: Working Prompt → Context File → Source Archive
AI15 April 2026Published by Pen & Muse

The Three-Layer Stack in Practice: Working Prompt Context File Source Archive

Back to Dispatches
Part 7 of a 14-part series85 min read · 16,922 words total
Dispatch SeriesPart 7 of 14
The Context Engine

Smarter AI comes from engineered context structure, not more words—fewer degrees of freedom, more reliable decisions.

Series PositionPart 7 of 14
The Three-Layer Stack in Practice: Working Prompt → Context File → Source Archive
Retrieval Without Bloat: Pull the Right Memory Back at the Right Time

Previous · Part 6

Retrieval Without Bloat: Pull the Right Memory Back at the Right Time

Build a Simple AI Context Sandbox in 20 Minutes (Free Tests, Real Comparisons)

Next · Part 8

Build a Simple AI Context Sandbox in 20 Minutes (Free Tests, Real Comparisons)

This builds on Part 6: Retrieval Without Bloat: Pull the Right Memory Back at the Right Time

Continue with Part 8: Build a Simple AI Context Sandbox in 20 Minutes (Free Tests, Real Comparisons)

The Three-Layer Stack in Practice

You don’t need “more context.” You need the right kind of context at the right moment.

This part is the operational view: how you run the stack in real work, end to end—input → context → output—without losing coherence or turning your system into a junk drawer.

Diagram: User Input / Task leads to Layer 1: Working Prompt; Layer 1: Working Prompt leads to Layer 2: Context File; Layer 2: Context File leads to Layer 3: Source Archive; Layer 3: Source Archive leads to Assemble Context Package; Assemble Context Package leads to Model Output; Model Output leads to Update Artifacts: Context file + Source archive.

Diagram: User Input / Task leads to Layer 1: Working Prompt; Layer 1: Working Prompt leads to Layer 2: Context File; Layer 2: Context File leads to Layer 3: Source Archive; Layer 3: Source Archive leads to Assemble Context Package; Assemble Context Package leads to Model Output; Model Output leads to Update Artifacts: Context file + Source archive.


The stack: what each layer is for (in practice)

Layer 1 — the Working Prompt (the “steering wheel”)

This is the immediate instruction set for the current session: tone, format, constraints, and the rules of engagement. It should stay small—because it’s supposed to be read every time.

Layer 2 — the Context File (the “personal operating system”)

This is the persistent, curated knowledge about you / your project—goals, preferences, current strategy, decisions, and stable facts. It’s updated occasionally, with intent.

Layer 3 — the Source Archive (the “evidence library”)

This is where you store primary references: quotations, specs, notes from deep dives, documents, links, and raw material you may need later. It’s not for style. It’s for accuracy and grounding.


The show session: input → context → output

Let’s make this concrete. Assume your input is messy—like real life.

1) Input (what you actually type)

“Help me rewrite this proposal so it sounds confident, not salesy. Keep it under 250 words. Emphasize timelines, risks, and what success looks like. Use our style: short sentences, crisp bullets, no fluff.”

✦ Subscriber Exclusive

Continue reading with a subscription

Explorer and Immersion subscribers get full access to all premium dispatches, series, and long-form guides.

If this resonates, see how to apply it to your own work with the interactive Dispatch agent.

Be first to like this dispatch

More in AIView all →
Keep Reading, Then Step Inside
Cover of Dead Air
Book + Immersive Experience£3.99

Dead Air

Pen & Muse

## Dead Air **Genre:** Fiction / Crime Thriller / Noir **Tone:** Hard-Boiled, Claustrophobic, Slow-Burn Dread **Experience Type:** Cold Case Unravelling ### Overview It's the graveyard shift at Municipal Radio. The host — a former investigative journalist now reading zoning ordinances into the dark — gets a call. The caller knows things no one should know. He calls himself The Night Owl. He has details from the Cressi Jackson disappearance that were never released, procedural errors the original police team never acknowledged, and an access road near an old reservoir that triggers something quiet and deeply uncomfortable in the host's memory — something about his late father. The Night Owl doesn't want to chat. He wants airtime. All of it. Now. *Dead Air* is a claustrophobic, late-night noir that unspools through a single radio station booth, a two-decade-old cold case, and the growing dread of a man who realizes the truth he failed to find twenty years ago may have been buried by people he loved. Channelling the hard-boiled intimacy of Dennis Lehane and the psychological precision of Tana French, this is crime fiction that turns the screws slowly, methodically, and with real moral weight. ### What to Expect from This Experience A deliberately paced descent — each chapter tightening the grip of The Night Owl's broadcast as the host's past and the cold case collapse into each other. Sessions are atmospheric and tense, built around voice, dread, and the slow surfacing of things better left buried. ### Ideal For Fans of literary crime fiction and radio-noir — readers who want their mystery drenched in atmosphere, driven by character guilt, and structured around a revelation that implicates the protagonist as deeply as anyone else.

Platform Access

Interested in building narratives using our proprietary architecture? Join the creator waitlist.