This repository is the canonical working tree behind Rooted Layers. Most tracked content lives under publications/: essay packages, umbrella publication packages, supporting artifacts, and local research surfaces.
The root is meant to stay navigable. Root docs orient you. Package README.md files explain local structure. Tracked workflow docs explain repeatable processes. Tracked repo-local skills live under workflows/skills/ and are mirrored into local .agents/skills/ for Codex discovery.
The repo is organized around one main lifecycle:
- discover and clear potential essay topics before package initialization when the topic is not yet settled
- intake papers and convert them into usable markdown
- research and shortlist sources
- draft and iterate essays with review artifacts
- generate NotebookLM artifacts
- polish the article with images, transcript insights, and references
- run the release gate before external publication or sync
- publish to Substack
- sync the public archive and mirror
That lifecycle does not force one rigid folder shape on every package. The repo uses three package classes:
- Single-publication package: one live essay surface plus local
archive/ - Umbrella package: several related publications or a course/series sharing papers, artifacts, or source layers
- Workflow/framework package: tracked operational infrastructure, not forced into the essay-package layout
| Surface | Role | Start Here |
|---|---|---|
publications/ |
Canonical essay and publication packages | publications/README.md |
phased-strategy/ |
Phase roadmap, closure gates, and productization strategy | phased-strategy/README.md |
workflows/ |
Canonical tracked playbooks | workflows/README.md |
scripts/ |
Tracked repo automation | scripts/README.md |
experiments/ |
Cross-package experiment state and temporary operating ledgers | experiments/README.md |
publication_strategy_and_archive/ |
Substack archive, mirror, publication map, and editorial atlas | publication_strategy_and_archive/README.md |
reviewable-runs/ |
Reviewable execution framework and examples | reviewable-runs/README.md |
publications/security-research/ |
Research bucket, not yet normalized into publication packages | publications/security-research/README.md |
AUTHORITY.md |
Source-of-truth map and Phase 2 operator boundary | AUTHORITY.md |
Use these layers in order:
- root README
AUTHORITY.mdwhen deciding source-of-truth or governed operator questionspublications/README.mdor the relevant workflow/support README- the specific package
README.md - the matching workflow doc in
workflows/ - tracked scripts and tracked skills if execution help is needed
The repo now has a Phase 2 source-of-truth map:
AUTHORITY.md: authority order, operator surface, compatibility boundary, workflow-change protocol, and evidence rules
Use this map when deciding which file or command wins.
The highest machine-authority layer is:
- per-workflow
workflow.yaml - package
status.yaml harness_policy.yamlgate_contracts.yamlpipeline_profiles.yaml
The preferred governed operator entrypoint is:
Primary commands:
./content-agent status --package <package>./content-agent next --package <package>./content-agent validate --workflow <workflow_id> --package <package>./content-agent run --workflow <workflow_id> --package <package>./content-agent gate check --gate <gate_id> --package <package>./content-agent review list./content-agent review inspect --gate <gate_id>./content-agent review approve --gate <gate_id> --reason "<reason>"./content-agent review reject --gate <gate_id> --reason "<reason>"./content-agent review defer --gate <gate_id> --reason "<reason>"./content-agent resume --gate <gate_id>
Workflows with declared runtime inputs use repeatable --input key=value on both validation and governed runs, for example ./content-agent run --workflow topic_discovery --package <package> --input discovery_trigger="..." --input target_publication_ambition=north_star_flagship.
Local view and report surfaces:
./content-cockpitornpm run cockpit -- --package <package>npm run editorial:report -- --package <package>
The old harness-facing compatibility layer has been retired from active use. harness_policy.yaml remains the local-first autonomy and approval policy surface, but harness_contract.yaml, stage:*, workflow:*, gate:check, and the generic npm run run lifecycle runner are no longer package scripts.
Active validation entrypoints:
npm run checknpm run check:public-hygienenpm run check:workflow-yamlnpm run check:experimental-workflowsnpm run check:validation-surfacenpm run check:workflow-modelnpm run check:reviewable-runsnpm run check:repo-linksnpm run check:alphaxiv-discussionsnpm run package:init -- --idea "..." --format jsonnpm run package:init -- --from-topic-packet <packet> --format json
Historical strategy notes and older run records may still mention the retired commands when describing Phase 1/1.5 work.
The repo now distinguishes:
- stages as the default lifecycle path
- workflows as reusable runnable parts
- gates as machine-checkable movement rules
- overlays as explicit experimental branches
- reviewable runs as the retained proof and evaluation layer
Use npm run check as the lightweight pre-review validation bundle. It runs public hygiene validation, workflow YAML validation, experimental workflow lifecycle validation, validation-surface doc drift validation, workflow-model and content-agent readiness validation, Reviewable Runs log validation, repo-link validation, and alphaXiv discussion tracking. It intentionally does not build the public mirror or perform external sync work.
When the essay object itself is still undecided, use workflows/topic-discovery/README.md before package:init. Topic discovery is a pre-package decision layer, not a status.yaml lifecycle stage yet.
Across content packages, use these terms consistently:
- live draft
- companion
- blueprint / plan
- claims / review artifacts
- artifacts
- archive
- papers
- distribution / socials
For single-publication packages, the default paper-intake convention is:
papers/papers/markdown/papers/index.md
Umbrella packages may preserve stronger established variants when those structures already carry more meaning than the generic layout.
Root-level image assets are reserved for brand and mirror use:
petroslamb.pngRootedLayers.pngRootedLayers_inverted.png
New package-specific images should live in the relevant package artifacts/, assets/, visuals/, or publication-specific media folder rather than at the repository root.
Essay and publication packages now live under publications/. That directory is the canonical package index and the right place to understand:
- which folders are single-publication packages vs umbrellas
- which publication packages map to published Substack essays
- where live drafts, companions, papers, artifacts, and archives live for each package
- which packages are still transitional or structurally uneven
Root keeps only the cross-package orientation. Package-level detail belongs in publications/README.md and the local package READMEs.
The published archive is tracked centrally in publication_strategy_and_archive/substack_archive/. The generated table below maps published Substack posts to their canonical package or umbrella package in this repo.
| Substack Publication | Repository Folder |
|---|---|
| The Specification Surface Is the New Source of Truth | publications/literate-workflow-programming/specification-surface-source-of-truth/ |
| Confidence Debt | publications/confidence-debt/ |
| The Binding Gap | publications/binding-gap/ |
| The Illusion of the Swarm | publications/illusion-of-swarm/ |
| The Moltbook Phenomenon | publications/moltbook-phenomenon/ |
| The Autonomy Tax | publications/autonomy-tax/ |
| The Transformer Attractor | publications/neural-architectures/ |
| When the LLM Programs Its Own Thinking | publications/programmable-thinking/ |
| The Orchestration Paradigm: Issue 4 - The Reality | publications/orchestration-paradigm/ |
| The Orchestration Paradigm: Issue 3 - The Behavior | publications/orchestration-paradigm/ |
| The Orchestration Paradigm: Issue 2 - The Factory | publications/orchestration-paradigm/ |
| The Orchestration Paradigm Series | publications/orchestration-paradigm/ |
| The Hardware Friction Map | publications/hardware-friction/ |
| What Actually Works: The Hardware Compatibility Filter in Neural Architecture (2023–2025) | publications/hardware-friction/ |
| Autonomous AI Agents: Core Foundations and Recent Breakthroughs | publications/autonomous-agents/ |
| Neural Architecture Design as a Compositional Language | publications/neural-architectures/neural-architecture-design-as-a-compositional-32e/ |
| Operating Agents: Preface | publications/autonomous-agents/essays/launch-note/ |
| Operating Agents I: Action Systems and Tool Use | publications/autonomous-agents/essays/action/ |
| Operating Agents II: Memory Systems and Authority | publications/autonomous-agents/essays/memory/ |
| Operating Agents III: Reasoning Scaffolds and Planning | publications/autonomous-agents/essays/reasoning/ |
| Operating Agents IV: Multi-Agent Boundaries and Handoffs | publications/autonomous-agents/essays/multi-agent/ |
| Operating Agents V: Trust Boundaries and Agent Safety | publications/autonomous-agents/essays/safety/ |
| Operating Agents Bonus: Workflow Optimization and Evaluation | publications/autonomous-agents/essays/optimization/ |
| Measuring Trust: The Gap Between AI Auditing and Correctness | publications/evidence-governance/archive/measuring-trust-the-gap-between-ai/ |
| The Five-Component Pattern for AI Evidence Governance | publications/evidence-governance/archive/the-five-component-pattern-for-ai/ |
| Your AI Is Confidently Wrong — And You Have No Rule for What to Do About It | publications/evidence-governance/your-ai-is-confidently-wrong-and/ |
| Welcome | (N/A / Root) |
Published posts may map to umbrella packages or nested subpackages rather than one folder per post. That is intentional.
Tracked workflow docs live in workflows/. The current article-development canon is:
workflows/topic-discovery/README.mdworkflows/package-normalization/README.mdworkflows/paper-intake/README.mdworkflows/alphaxiv-research/README.mdworkflows/essay-iteration/README.mdworkflows/notebooklm-artifacts/README.mdworkflows/article-polish/README.mdworkflows/release-gate/README.mdworkflows/substack-publishing/README.mdworkflows/substack-archive-sync/README.md
Adjacent YouTube and channel operations live in the same tracked layer:
workflows/youtube-production/README.mdworkflows/youtube-channel-ops/README.mdworkflows/youtube-series-operating-agents/README.md
The canonical root toolchain is tracked in requirements.txt and explained operationally in local AGENTS.md.
Core tools:
opendataloader-pdfmarkitdown[pdf]as the PDF-to-Markdown fallbackalphaxiv-pynotebooklm-py[browser]python-substack
Adjacent publishing automation:
- tracked scripts under
scripts/ - tracked skill bundles under
workflows/skills/
Tracked repo-local skills live under workflows/skills/. The local .agents/skills/ tree is a discovery mirror for Codex, not the canonical documentation layer.
Use workflow docs to understand the process. Use skill bundles to execute that process efficiently.