Skip to content

petroslamb/content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

477 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rooted Layers

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.

North Star

The repo is organized around one main lifecycle:

  1. discover and clear potential essay topics before package initialization when the topic is not yet settled
  2. intake papers and convert them into usable markdown
  3. research and shortlist sources
  4. draft and iterate essays with review artifacts
  5. generate NotebookLM artifacts
  6. polish the article with images, transcript insights, and references
  7. run the release gate before external publication or sync
  8. publish to Substack
  9. 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

Start Here

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:

  1. root README
  2. AUTHORITY.md when deciding source-of-truth or governed operator questions
  3. publications/README.md or the relevant workflow/support README
  4. the specific package README.md
  5. the matching workflow doc in workflows/
  6. tracked scripts and tracked skills if execution help is needed

Authority And Operator Surface

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:

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-cockpit or npm 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 check
  • npm run check:public-hygiene
  • npm run check:workflow-yaml
  • npm run check:experimental-workflows
  • npm run check:validation-surface
  • npm run check:workflow-model
  • npm run check:reviewable-runs
  • npm run check:repo-links
  • npm run check:alphaxiv-discussions
  • npm run package:init -- --idea "..." --format json
  • npm 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.

Canonical Vocabulary

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 Assets

Root-level image assets are reserved for brand and mirror use:

  • petroslamb.png
  • RootedLayers.png
  • RootedLayers_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.

Publications Layer

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.

Publication To Package Mapping

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.

Workflow Layer

Tracked workflow docs live in workflows/. The current article-development canon is:

Adjacent YouTube and channel operations live in the same tracked layer:

Toolchain

The canonical root toolchain is tracked in requirements.txt and explained operationally in local AGENTS.md.

Core tools:

  • opendataloader-pdf
  • markitdown[pdf] as the PDF-to-Markdown fallback
  • alphaxiv-py
  • notebooklm-py[browser]
  • python-substack

Adjacent publishing automation:

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.

About

Research corpus and companion reference for Rooted Layers, a publication on AI engineering, architecture economics, and production systems.

Topics

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE-code
Unknown
LICENSE-content

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors