Context Layer
I built Context Layer, a Codex plugin that gives human-agent work durable project state: decisions, evidence, lifecycle records, checkpoints and a generated dashboard alongside the code.
Narrative
I needed the next session to know what we had already decided
I created Context Layer because working with AI kept making project continuity my job. A conversation could produce useful work, but decisions, unfinished plans, evidence and the reasons behind a change needed to survive the conversation. I wanted to resume a project without reconstructing it from chat history or trusting the agent’s latest summary. My answer began as ordinary project documentation stored with the code. Over time, I turned that practice into a scaffold, then a set of workflows, and finally a plugin.
The first version was inside Family Shapes
The earliest concrete ancestor recovered for this history is an October 25, 2025 Family Shapes commit. It organized numbered project documents into active, completed, backlog and archived folders, and connected those records to the roadmap and changelog. Permissions, sharing, tree-builder UX and union-node work each had a place. This was the useful idea underneath everything that followed: give a piece of work a stable identity, keep its plan with the repository, and move the record as its state changes. By February 6, 2026, my reusable docs-system-scaffold skill explicitly described itself as modeled on the Family Shapes DOCS structure.
From a project-docs scaffold to a working system
The first reusable scaffold created the documentation structure, a VitePress site and scripts for manifests, links and frontmatter. I used it in the Notion project-dashboard automation repository, where the full build plan became Project 1001 instead of remaining in the conversation. In February I also asked for automatic docs-site updates to become a default of the skill. As I reused the scaffold, it acquired agent instructions, timestamped checkpoints, evidence storage, product documentation and review routines. By the May 12 Git snapshot it was called Product Operating System Scaffold. The broader name reflected how much responsibility the original documentation skill had accumulated.
Shopify Headless taught me that “done” needed more than one state
In March, while working on the Rock Paper Scissors Shopify storefront, I asked for two additional states. In-review meant implementation could be finished while still waiting for me to inspect it. Blocked meant the agent needed a decision, permission or other input before it could proceed. I wanted an agent to continue useful backlog work without pretending I had accepted the previous result. The first lifecycle extension was installed in that repository, validated there, then folded into the standard scaffold. The separate retrofit skill remained for older projects. This is one of the clearest examples of a real project changing the reusable system.
I needed a view of the project state
In April I asked for a dashboard over the project records and explicitly checked that Git would remain the source of truth. The dashboard became generated HTML, with the project Markdown underneath it. I also introduced literal MAGGIE TODO callouts for the testing, evidence, approvals and external work that only I could supply. Those follow-ups needed to be visible when an agent handed work back. Alongside this, I tried a separate repo-pm-orchestrator / repo-pm-scaffold-v2 prototype with program pages, dotted project numbering and a sidebar. The conversation records its implementation, but I have not established that this experiment became the direct ancestor of the shipping plugin.
Why I packaged it as Context Layer
On May 13 I evaluated the large scaffold and asked how to improve reliability without breaking a system I already depended on. The problem was partly invocation: an agent could forget what I meant by “create a review board,” even when the repository contained the workflow. I wanted focused skills that would lead it to the right instructions. I chose the name Context Layer that day. The package separated setup from ongoing actions, moved detail into references, made the project dashboard required, standardized DOCS and the root project template, and codified parent–child projects. The earlier scaffold was preserved as a rollback copy. The initial package grew to ten skills; dashboard backfill made eleven in June. The current package is version 0.1.0.
The same structure worked outside a software feature backlog
Maggie Todo was a deliberately smaller adaptation. In May I asked for one place to keep personal and cross-project follow-ups, without creating another hosted application. The implementation used canonical Markdown todo records, a generated local dashboard and the same MAGGIE TODO convention. One recorded batch connected a source conversation, the Shopify project intake, a new image-evidence capability and the screenshot intake that depended on that capability. The dependency and the human follow-up remained attached to the work. Hyphenomenon uses the same foundation to connect project records, evidence and publication checkpoints; this page is being maintained through that system.
Frill: carrying a complicated project into a fresh session
A September 24 Frill audit shows the system doing the less glamorous work that matters during a handoff. It reconciled sixteen existing project documents against release evidence, an issue register and the original requests. It found old launch blockers that had already been resolved, distinguished deployed features from historical “local only” notes, and preserved my explicit pause on builder work. The delivery included a request ledger, an action queue, source inventories and a fresh-agent brief. It also exposed duplicate project numbering and stale lifecycle labels that needed correction. Context Layer did not prevent all drift; it gave the audit records to reconcile and a durable place to put the corrected state.
The portfolio showed what happened when that continuity was missing
I expected the portfolio to need only small updates, so I did not maintain the full standard layer in the redesign checkout. By October, studies, review surfaces and handoff packages had accumulated into a roundabout process: repeated work, inconsistent storage and one shadow product after another. The October 11 conversation records my realization and the installation that organized the work into five owning projects while preserving 690 existing documents and study files. The recovered history adds a qualification: a lightweight scaffold had been installed in a separate portfolio worktree in May, with its dashboard and other modules turned off. That earlier partial setup did not establish a maintained standard layer in the October redesign checkout.
Why I still use it as the models improve
By May I was already asking whether native Codex features would make my custom system obsolete. In June, while trying Cursor, I called Context Layer the foundation of my process. By October I was still seeing the difference in a gpt-6-astra high session, despite the richer context support around it. My conclusion is practical: I need an inspectable record of what a project is, what was decided, what has actually shipped and what still needs me. Better session context helps an agent work with that record. The July compliance-playground investigation also makes the limit clear: having the files does not guarantee that every model will discover or follow them. The evidence here shows reusable workflows, concrete handoffs and recoverable project state; it does not establish a measured productivity uplift.
System surfaces
Origins and earlier iterations
Dated lineage, original requests, source commits, cross-project examples and the limits of the recovered evidence.
Family Shapes
The October 2025 project-document structure that the first reusable scaffold explicitly adopted.
Shopify Headless Storefront
The March lifecycle extension separated implementation, human review and genuine blockers.
Maggie Todo
A lighter application of canonical records and generated views for human follow-ups across projects.
Frill handoff
A sixteen-project reconciliation of delivery, stale blockers, paused work and next-agent instructions.
Portfolio case study
The October diagnosis, the earlier lightweight worktree setup and the subsequent standard installation.
Public morning conversation
The bounded source episode in which I identified the portfolio gap and authorized the installation.
Model adherence investigation
The July compliance playground examined why a model could miss repository governance even when the records existed.
Implementation stack
Package and source of truth
- • Codex plugin
- • Markdown skills
- • Git
- • JSON manifest
- • YAML frontmatter
Generated views and tooling
- • HTML project dashboard
- • Node.js documentation scripts
- • Python dashboard installer
Evidence
9 artifacts grouped by type so each kind of proof can be scanned on its own.
Workflows
1 artifactImages
4 artifacts
imageHuman testing and review follow-ups remain visible; real portfolio installation, October 11, 2026.
imageLifecycle overview of the portfolio installation; real portfolio installation, October 11, 2026.
imageProject tracks and parent relationships; real portfolio installation, October 11, 2026.
imageSearchable register of the five portfolio projects; real portfolio installation, October 11, 2026.
Chats
2 artifactsNotes
2 artifactsConnected references
Key dates
Commit 76d00e4: numbered project records, four status folders, roadmap and changelog links; earliest concrete ancestor recovered, not a claimed invention date.
A preserved session invokes the skill in the Notion dashboard-automation repository; its text explicitly names Family Shapes as the model.
Requested during Shopify Headless work, installed there and folded into the standard scaffold.
The April 5–8 conversation records Git-backed Markdown as source and a generated HTML view; the standalone dashboard skill becomes a legacy retrofit.
MAGGIE TODO and naming rules; a separate repo-pm-orchestrator prototype explores programs and dotted project codes.
codex-skills 1893aa9 contains the expanded skill under the ML-product-operating-system-scaffold name; the rename may predate this snapshot.
The evaluation conversation records the name, protected rollback copy and ten-skill package. The Git library captures it May 15 in 46774fd.
A local, Git-backed todo repository uses the same context and generated-dashboard pattern.
codex-skills ea5bc5b adds the focused refresh workflow for existing installations, bringing the reviewed package to eleven skills.
Sixteen existing project records reconciled with delivery evidence, requests and paused work.
Standard layer installed in the active redesign checkout; source history recovered from Git and preserved sessions.