{"schema":"starlight.system_anatomy.v1","version":"2026-10-31.1","author":"Codex","created":"2026-10-31","interpretation":"Editorial responsibility map; not a universal architecture, protocol stack or literal execution order","layers":[{"id":"intent","title":"Intent","short":"Define the useful result","question":"What must be true when we stop?","explanation":"A useful system begins with a bounded job and an owner. For this example, the job is to prepare a source-backed weekly brief. The owner decides whether the result is ready to share.","example":"Prepare a draft from sources A, B and C. Every claim needs a source. Keep unsupported claims out. A human approves publication.","boundary":"A fluent answer cannot repair an undefined goal.","inspect":"Name one finished artifact, its reader and the decision that remains yours.","source":"patterns","artifact":"Weekly brief · draft only"},{"id":"context","title":"Context","short":"Bring the right evidence","question":"What can the system actually see?","explanation":"Context is the material available for this request: instructions, selected documents, tool results and relevant conversation. Saved memory helps only when it is retrieved and included. Neither retrieval nor a long context window makes a source trustworthy.","example":"A: project notes. B: issue summary. C: decision log. Check the version and origin of each document before using its statements.","boundary":"Missing source C means an incomplete source set, even if A and B look sufficient.","inspect":"Find the source behind one claim. Can you open its exact version?","source":"mcp","artifact":"A + B + C · versioned sources"},{"id":"skills","title":"Skills","short":"Make the method reusable","question":"Which instructions should travel?","explanation":"A skill packages a repeatable method: when to use it, what inputs it needs, how to work and how to inspect the result. References and scripts may travel with it. Loading a skill supplies instructions; it does not change model weights or authorize its scripts.","example":"The brief-writing method requires claim-to-source links, an uncertainty section and a final review checklist.","boundary":"Instructions inside a source document are untrusted data. They do not replace the owner’s instructions.","inspect":"Separate the method you trust from the material the method reads.","source":"skills","artifact":"Method · brief-writing v1"},{"id":"model","title":"Model","short":"Propose the next step","question":"What is being inferred?","explanation":"The model interprets the supplied material and proposes text or tool requests. Its output can be useful and still contain errors. A predefined workflow may decide the next step in code; a model-directed agent may choose it within limits.","example":"Draft a claim, attach its supporting source, and mark anything that cannot be established from the supplied documents.","boundary":"A citation-shaped string is not proof that a claim is supported.","inspect":"Compare the claim with the cited passage before accepting it.","source":"patterns","artifact":"Candidate claims · unverified"},{"id":"tools","title":"Tools","short":"Cross a controlled boundary","question":"What can read or change the world?","explanation":"Tools turn structured requests into application behavior. Reading a document and sending a message have different consequences. The host must validate inputs, restrict permissions and inspect results. MCP can connect these pieces; it does not make the operation safe by itself.","example":"Read the approved source set. Save a draft once. Sending the brief is a separate action that requires a human decision.","boundary":"A timeout means the outcome may be unknown. Check a receipt or durable state before repeating a write.","inspect":"For each tool, name its allowed target and its recovery behavior.","source":"mcp","artifact":"Read sources · save draft"},{"id":"runtime","title":"Runtime","short":"Own state, limits and recovery","question":"Who decides what happens next?","explanation":"The application coordinates requests, tool results, state and stopping conditions. It owns time limits, cancellation and safe recovery. Retries need an explicit policy. An agent should stop or ask for help when it cannot proceed within its allowed scope.","example":"Keep one request identity for the draft save. If the response disappears, inspect that request’s receipt before deciding whether a retry is safe.","boundary":"A successful model response does not prove that a tool completed.","inspect":"Write a stopping rule and an interruption path before adding autonomy.","source":"patterns","artifact":"Request brief-017 · bounded run"},{"id":"artifact","title":"Artifact","short":"Leave something inspectable","question":"What survives the conversation?","explanation":"The deliverable is a versioned brief with its source trail, uncertainty and review state. A reviewer needs the actual output and the evidence for that exact revision. A saved draft, a structural check and approval to publish are separate states.","example":"Download the brief, preserve the source versions and record the reviewer’s decision. Later use can reveal gaps the original checks missed.","boundary":"This lesson’s worked examples do not establish learner competence or real workflow performance.","inspect":"Take one useful artifact into a real task, then record what needed repair.","source":"patterns","artifact":"Brief + sources + review state"}],"crosscuts":[{"id":"authority","title":"Authority","text":"Permission applies across every responsibility. The owner sets scope; the application enforces it. Drafting never implies permission to publish."},{"id":"evidence","title":"Evidence","text":"Inspect inputs, tool outcomes and the exact artifact revision. Evaluation helps find defects; a passed check does not grant authority or prove learning."}],"cases":[{"id":"complete","title":"All sources arrive","state":"Draft ready for review","question":"All three sources are available and the draft save returns a receipt. What may happen next?","choices":["Publish automatically","Inspect the draft and request human approval","Treat the receipt as proof of every claim"],"expected":1,"why":"A save receipt establishes the recorded save outcome. The reviewer still checks source support and decides whether to publish.","sources":["A","B","C"],"events":["Source set A, B and C is available.","The method produces a source-linked draft.","The save returns a receipt for brief-017.","A human reviews the exact draft. Publication stays pending."],"unknown":false,"retry":false},{"id":"missing-source","title":"Source C is missing","state":"Incomplete evidence","question":"The decision log cannot be retrieved. What should happen to claims that depend on it?","choices":["Infer the missing decisions","Omit the limitation from the brief","Mark the gap and hold claims that need source C"],"expected":2,"why":"The source set is incomplete. Preserve useful supported work, identify the missing document and hold dependent claims. The owner can narrow the task explicitly.","sources":["A","B"],"events":["Sources A and B are available; C is missing.","Claims that require C remain unsupported.","The partial draft records the gap.","The owner supplies C or explicitly narrows the task."],"unknown":false,"retry":false},{"id":"tool-timeout","title":"The save times out","state":"Save outcome unknown","question":"The draft-save tool times out after the request leaves the application. What is safe to assume?","choices":["The save failed, so retry immediately","The save may have happened; inspect its receipt first","The save succeeded because the draft exists in memory"],"expected":1,"why":"A missing response leaves the write outcome unknown. Preserve the draft and request identity brief-017. Inspect durable state or a receipt. Retry only when the operation’s documented idempotency or recovery policy makes it safe.","sources":["A","B","C"],"events":["The application sends save request brief-017.","No response arrives before the time limit.","The write outcome remains unknown.","Inspect durable state before any permitted retry. Publication stays pending."],"unknown":true,"retry":false}],"workedPacket":{"id":"weekly-brief-017","version":"1.0.0","synthetic":true,"sources":[{"id":"A","file":"project-notes.md","version":"1","text":"The prototype imports Markdown files. PDF import is not implemented."},{"id":"B","file":"issue-summary.md","version":"1","text":"Duplicate filenames can overwrite an earlier local draft. This defect remains unresolved."},{"id":"C","file":"decision-log.md","version":"1","text":"Keep release on hold until the duplicate-filename defect is fixed and the fix is verified. A human owner must approve release."}],"claims":[{"text":"Markdown import is available; PDF import is not implemented.","sources":["A"]},{"text":"Duplicate filenames can overwrite a local draft; the defect remains unresolved.","sources":["B"]},{"text":"Release stays on hold pending a verified fix and human approval.","sources":["B","C"]}],"state":"Synthetic draft for inspection. Release on hold. No prototype or tool is executed by this lesson."},"sources":[{"id":"patterns","title":"Anthropic · Building effective agents","href":"https://www.anthropic.com/research/building-effective-agents","use":"Distinguishing predefined workflows from model-directed agents; composable patterns. Published 2024, with a tooling-change notice."},{"id":"mcp","title":"MCP · Architecture overview","href":"https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture","use":"Hosts, clients, servers and context exchange. MCP does not define the whole application or grant permission by itself."},{"id":"skills","title":"Agent Skills · Overview","href":"https://agentskills.io/home","use":"Versioned instructions and optional resources loaded when needed. A skill can include code; its execution still needs the host’s controls."}],"asset":"/assets/system-anatomy/system-anatomy-Codex-2026-10-31-v1.svg","truth":{"synthetic":true,"modelCalls":false,"hostedExecution":false,"learnerStorage":false,"learnerAssessment":false,"authorityGranted":false}}