# Build step: map the AP Worker onto the picture (/ai-worker-paradigm/the-architecture-in-one-picture/build-step)

---
type: Document
title: "Build step: map the AP Worker onto the picture"
description: "Chapter 4's lab: Brightline's AP Worker mapped onto the five layers, a test of which source wins, a port to the other AI vendor, and Draft 3 of the Role Contract, with the artifact checklist."
status: stable
order: 104.8
ksor:
  owner: team:panaversity
  audience: [ public ]
  approval:
    by: process:panaversity
    at: 2026-10-05T15:32:41Z
chapter: "04"
part: I
expert_status: required
concepts: []
last_verified: 2026-10-04
sources:
  - id: anthropic-memory
    title: "Use Claude's chat search and memory to build on previous context (Claude Help Center, verified 2026-10-05)"
    resource: https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context
  - id: openai-memory
    title: "Memory in ChatGPT (OpenAI Help Center, verified 2026-10-05)"
    resource: https://help.openai.com/en/articles/8590148-memory-in-chatgpt
generated:
  at: 2026-10-05T15:32:41Z
  by: esl-rewrite/1.2.0+ksor.1
trust_tier: unverified
build_id: sha256:c93b28093c2f70c60faae2645a693d881b657ff94d00f7dd9f8c06427ff61c87
dirty: true
ksor_version: 0.0.60
---

In this lab you take Brightline's AP Worker as it was in the week of October 12. You sort its 16 parts into the five layers and find the ones kept in the wrong place. You also test an assistant, to see what goes wrong when a file is in the wrong layer.

**Where you work.** Most of the lab is in a folder on your computer. Download [`brightline-lab-ch04.zip`](https://github.com/panaversity/agentfactory-v2-resources/releases/latest/download/brightline-lab-ch04.zip) from the [Labs companion](https://github.com/panaversity/agentfactory-v2-resources), unzip it, and open the files in any text editor, such as Notepad or TextEdit. Only step 2 uses a chat with Claude or ChatGPT, in your browser, and a free account is enough. Keep your answers in the folder, not in a chat. They are yours, and Chapter 5 builds on them. You can also do the lab with the Claude or ChatGPT desktop app. Open the folder in the app, and ask it to read `LAB.md` and start.

**How long.** About 2 hours in all. Each step ends with a file saved, so you can stop after any step.

**What you do.** Do the steps in order. This list says what each step is for. `LAB.md`, in the folder, gives the exact instructions, one Part for each step. Read each Part when you reach its step, not all at once. If a Part is unclear, upload `LAB.md` to a separate chat with Claude or ChatGPT. Ask it to explain the step you are on.

1. *Predict (`LAB.md` Parts A and B, 15 minutes, in the folder).* Before you test anything, write down two guesses. Which of Brightline's 16 parts are in the wrong layer? And how will an assistant answer the four test questions in `LAB.md`, Part C? *You save:* your guesses, in `results/precedence-test.md`.
2. *Run (Part C, 35 minutes, in a chat).* Ask an assistant the four questions twice. First, give it only the three files Brightline's worker had that week. Then, in a new chat, give it all six files and the rules from Concept 4.3. Before each chat, switch off your own memory, so it does not change the test. In Claude, turn off Memory in the "+" menu.[^anthropic-memory] In ChatGPT, open a Temporary Chat and choose Unpersonalized.[^openai-memory] If you also use the other AI vendor, repeat the second chat there. *You save:* each reply and your short answers, in `results/precedence-test.md`.
3. *Investigate (Part D, 30 minutes, in the folder).* Sort Brightline's 16 parts into their layers, mark each one rented or owned, and mark the ones in the wrong place. Then check your chat answers against the rubric. For each wrong answer, name the source the assistant should not have trusted. Only then, open the answer keys. *You save:* `architecture/ap-worker-layer-map.md`.
4. *Modify (Part E, 40 minutes, in the folder).* Fix what you found. Run the swap test: what you would rebuild, and what you would carry across, if Brightline changed AI vendor. Write Draft 3 of the Role Contract. Fill the port table from the boxes in Concept 4.7. *You save:* `results/swap-test.md`, `role/ap-worker-role-contract.md` and `results/port-table.md`.
5. *Make (Part F, 10 minutes, on paper or in a file).* Draw the five layers for one worker in a job you know. Run the wipe test and the swap test on it, and add its knowledge sources and authority to its Role Contract. *You save:* one page of your own.

## Artifact checklist

Before you move on to Chapter 5, check that you have finished these. The first five are files in your lab folder. The last one is your own.

- [ ] `architecture/ap-worker-layer-map.md`, with all 16 items placed, rented or owned marked, and every item in the wrong place moved
- [ ] `results/precedence-test.md`, with every run answered and scored, or Run 3 written as a prediction, and the trusted layer named for every point lost
- [ ] `results/swap-test.md`, with the rebuild list and the carry list
- [ ] `results/port-table.md`, with every rented item named on both AI vendors, and "no change" confirmed for every owned item
- [ ] `role/ap-worker-role-contract.md`, Draft 3, with KSoR concepts and versions, memory rules, governed operations and the approval line tied to its policy version
- [ ] A five-layer picture for one worker in your own vertical, with the wipe test and the swap test applied, and its Role Contract refined with its knowledge and authority named

[^anthropic-memory]: Use Claude's chat search and memory to build on previous context, Claude Help Center.
[^openai-memory]: Memory in ChatGPT, OpenAI Help Center.
