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 Mythic Britain
Book + Immersive Experience£3.99

Mythic Britain

Pen & Muse

## Mythic Britain: Protocol Zero The Crown's map says Reed End is empty. Kit Fenner's mother is still there, trying to keep its pumps running. In four days, the power will be cut. The storm is already coming. When Kit digs a lost service device out of the Thames mud, she finds a possible way to challenge the order—and brings the Crown's recovery force down on her. Her route to the protected Archive crosses a broken transport ring, a court that trades in secrets and tunnels still talking in the voices of the dead world. Her companions include a knight beginning to disobey, a celebrity queen with something to lose, and a friend whose trust Kit spends to buy passage. Inside the Archive, the old royal story comes apart. Beyond its doors, armed people still obey the king. Kit must decide what to reveal, whom to trust and what she is prepared to lose to get the pumps working before dawn. A complete adventure through ruined infrastructure, manufactured royalty and stubborn human loyalties, with a confrontation and aftermath shaped by the choices made along the way.

Platform Access

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