Papersmith AI in Pi — commands, skills and agents

Papersmith AI in Pi — commands, skills and agents An architecture diagram generated by Archify. .pi/APPEND_SYSTEM.md · Pi system prompt · 0 · Pi harness .pi/APPEND_SYSTEM.md Pi system prompt skills/ · canonical · .pi/skills link · 0 · Pi harness · setup:harnesses skills/ canonical · .pi/skills link setup:harnesses sync-repo-harness.py · writes the .pi/ projection · 0 · Pi harness · --check sync-repo-harness.py writes the .pi/ projection --check .pi/ · prompts · agents · extensions · 0 · Pi harness .pi/ prompts · agents · extensions pi-subagents · package that reads .pi/agents · 0 · Pi harness pi-subagents package that reads .pi/agents /plausibility · idea in ≥ 2 sentences · 1 · Plausibility · .pi/prompts /plausibility idea in ≥ 2 sentences .pi/prompts sota-scout · reads · writes · bash · 1 · Plausibility sota-scout reads · writes · bash sota-grapher · reads · writes · bash · 1 · Plausibility sota-grapher reads · writes · bash novelty-screener · reads · bash · 1 · Plausibility novelty-screener reads · bash sota-pool/ · candidates · atlas.html · 1 · Plausibility sota-pool/ candidates · atlas.html /paper-ingestion · PDF in guidance/ · 2 · Ingestion · .pi/prompts /paper-ingestion PDF in guidance/ .pi/prompts paper-ingestion · reads · writes · bash · 2 · Ingestion · stretch: terminal paper-ingestion reads · writes · bash stretch: terminal guidance/ · Markdown + figures · 2 · Ingestion guidance/ Markdown + figures /proposal-deliberation · bound → published · 3 · Proposal deliberation · .pi/prompts /proposal-deliberation bound → published .pi/prompts cli.mjs --serve · replace · insert · delete · 3 · Proposal deliberation · CREATE_SUCCESSOR cli.mjs --serve replace · insert · delete CREATE_SUCCESSOR Human acceptance · preview → accept · 3 · Proposal deliberation Human acceptance preview → accept deliberation-publish · reads · bash · 3 · Proposal deliberation · stretch: terminal deliberation-publish reads · bash stretch: terminal proposals/ · rNN.md · rNN.graph.html · 3 · Proposal deliberation proposals/ rNN.md · rNN.graph.html /math-tutor · socratic · hand-written pages · 3b · Concept map and math (dashboard) · .pi/prompts /math-tutor socratic · hand-written pages .pi/prompts math-tutor · read-only · 3b · Concept map and math (dashboard) math-tutor read-only smith ui · phase drawer → /<skill> · 3b · Concept map and math (dashboard) · command center smith ui phase drawer → /<skill> command center /api/model/math · concept map · KaTeX cards · 3b · Concept map and math (dashboard) /api/model/math concept map · KaTeX cards .papersmith/math-tutor/ · thread + uploaded pages · 3b · Concept map and math (dashboard) .papersmith/math-tutor/ thread + uploaded pages /experimental-deliberation · requires data-paper/ · 5 · Experimental deliberation · .pi/prompts /experimental-deliberation requires data-paper/ .pi/prompts experimental-validation · read-only · 5 · Experimental deliberation · stretch: validated experimental-validation read-only stretch: validated Human acceptance · deliberated = operator · 5 · Experimental deliberation Human acceptance deliberated = operator experimental-publish · reads · bash · 5 · Experimental deliberation · stretch: terminal experimental-publish reads · bash stretch: terminal experiments/ · experimental protocol · 5 · Experimental deliberation experiments/ experimental protocol /proposal-implementation · standing → full-scale · 4 · Implementation (proof of concept) · .pi/prompts /proposal-implementation standing → full-scale .pi/prompts implementation-build · reads · writes · bash · 4 · Implementation (proof of concept) · stretch: audit implementation-build reads · writes · bash stretch: audit implementation-walk · reads · bash · 4 · Implementation (proof of concept) · stretch: rehearsal implementation-walk reads · bash stretch: rehearsal Authorizes a launch · operator only · 4 · Implementation (proof of concept) Authorizes a launch operator only implementations/<repo> · its own git + .venv · 4 · Implementation (proof of concept) implementations/<repo> its own git + .venv /experimental-implementation · binding → full-scale · 6 · Experimental implementation · .pi/prompts /experimental-implementation binding → full-scale .pi/prompts experiments-build · reads · writes · bash · 6 · Experimental implementation · stretch: instrumentation experiments-build reads · writes · bash stretch: instrumentation experiments-walk · reads · bash · 6 · Experimental implementation · stretch: rehearsal experiments-walk reads · bash stretch: rehearsal Authorizes a launch · whole campaign · 6 · Experimental implementation Authorizes a launch whole campaign /kaggle-accounts · taken-in → decided · 7 · Credentials · .pi/prompts /kaggle-accounts taken-in → decided .pi/prompts accounts_cli.py · validate --interactive · 7 · Credentials · TTY only accounts_cli.py validate --interactive TTY only store/ · validated credentials · 7 · Credentials store/ validated credentials refuse-offpath-push.js · extension: watches bash · 8 · Remote execution · tool_call refuse-offpath-push.js extension: watches bash tool_call /remote-execution · reachable → returned · 8 · Remote execution · .pi/prompts /remote-execution reachable → returned .pi/prompts readiness + gate · single-use token · 8 · Remote execution readiness + gate single-use token remote_cli.py · submit · poll · fetch · 8 · Remote execution · 9 subcommands remote_cli.py submit · poll · fetch 9 subcommands kaggle-inbox/ · ledger + results · 8 · Remote execution kaggle-inbox/ ledger + results /paper-writing · sections/*.md → paper/ · 9 · Writing · .pi/prompts /paper-writing sections/*.md → paper/ .pi/prompts insumos-observer · read-only · 9 · Writing · stretch: declare insumos-observer read-only stretch: declare redactor · read-only · 9 · Writing · stretch: write redactor read-only stretch: write contract-auditor · read-only · 9 · Writing · stretch: write contract-auditor read-only stretch: write style-sampler · read-only · 9 · Writing · stretch: write style-sampler read-only stretch: write section-grounding-auditor · read-only · 10 · Figures and grounding · stretch: write section-grounding-auditor read-only stretch: write paper_cli.py · write judges what comes back · 10 · Figures and grounding · 28 verbs paper_cli.py write judges what comes back 28 verbs diagram-author · reads · writes · bash · 10 · Figures and grounding · stretch: render diagram-author reads · writes · bash stretch: render figure-auditor · reads · bash · 10 · Figures and grounding · stretch: verify figure-auditor reads · bash stretch: verify /figure-review · probe · raster, no changes · 10 · Figures and grounding · .pi/prompts /figure-review probe · raster, no changes .pi/prompts paper/ · main.tex · refs.bib · 11 · Paper paper/ main.tex · refs.bib /skill-audit · subject: any skill · Transversal · Audit · .pi/prompts /skill-audit subject: any skill .pi/prompts audit-report · reads · writes · bash · Transversal · Audit audit-report reads · writes · bash Audit report · never repairs · Transversal · Audit Audit report never repairs top-5 to ingest guidance/ revision rNN proof of concept protocol + repo job ready accounts proven measured facts /<skill> atlas.json concept + math headless turn $$ \tag{N} credentials delegates sections 0 · Pi harness 1 · Plausibility 2 · Ingestion 3 · Proposal deliberation 3b · Concept map and math (dashboard) 4 · Implementation (proof of concept) 5 · Experimental deliberation 6 · Experimental implementation 7 · Credentials 8 · Remote execution 9 · Writing 10 · Figures and grounding 11 · Paper Transversal · Audit Legend Pi command /skill Pi subagent Artifact on disk Gate (human) CLI Pi harness