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 · 1 · Harness (Pi) .pi/APPEND_SYSTEM.md Pi system prompt skills/ · canonical · .pi/skills link · 1 · Harness (Pi) · setup:harnesses skills/ canonical · .pi/skills link setup:harnesses sync-repo-harness.py · writes the .pi/ projection · 1 · Harness (Pi) · --check sync-repo-harness.py writes the .pi/ projection --check .pi/ · prompts · agents · extensions · 1 · Harness (Pi) .pi/ prompts · agents · extensions pi-subagents · package that reads .pi/agents · 1 · Harness (Pi) pi-subagents package that reads .pi/agents Thematic help · 3–5 keywords · optional · 2a · Thematic help (optional, before /plausibility) · phase-2 box Thematic help 3–5 keywords · optional phase-2 box banco-lia MCP · search_bank · taxonomy · 2a · Thematic help (optional, before /plausibility) · uvx · stdio banco-lia MCP search_bank · taxonomy uvx · stdio Operator approves · edit the draft → launch · 2a · Thematic help (optional, before /plausibility) Operator approves edit the draft → launch /plausibility · idea in ≥ 2 sentences · 2 · Plausibility · .pi/prompts /plausibility idea in ≥ 2 sentences .pi/prompts sota-scout · reads · writes · bash · 2 · Plausibility sota-scout reads · writes · bash sota-grapher · reads · writes · bash · 2 · Plausibility sota-grapher reads · writes · bash novelty-screener · reads · bash · 2 · Plausibility novelty-screener reads · bash sota-pool/ · candidates · atlas.html · 2 · Plausibility sota-pool/ candidates · atlas.html /paper-ingestion · PDF in guidance/ · 3 · Ingestion · .pi/prompts /paper-ingestion PDF in guidance/ .pi/prompts paper-ingestion · reads · writes · bash · 3 · Ingestion · stretch: terminal paper-ingestion reads · writes · bash stretch: terminal guidance/ · Markdown + figures · 3 · Ingestion guidance/ Markdown + figures /proposal-deliberation · bound → published · 4 · Proposal deliberation · .pi/prompts /proposal-deliberation bound → published .pi/prompts cli.mjs --serve · replace · insert · delete · 4 · Proposal deliberation · CREATE_SUCCESSOR cli.mjs --serve replace · insert · delete CREATE_SUCCESSOR Human acceptance · preview → accept · 4 · Proposal deliberation Human acceptance preview → accept deliberation-publish · reads · bash · 4 · Proposal deliberation · stretch: terminal deliberation-publish reads · bash stretch: terminal proposals/ · rNN.md · rNN.graph.html · 4 · Proposal deliberation proposals/ rNN.md · rNN.graph.html Problem & pillars · step 1 · Generar y deliberar · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) · Mapa Conceptual Problem & pillars step 1 · Generar y deliberar Mapa Conceptual Hypotheses · step 2 · locked until step 1 · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) Hypotheses step 2 · locked until step 1 Mathematics · step 3 · $$ \tag{N} in rNN.md · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) Mathematics step 3 · $$ \tag{N} in rNN.md /math-tutor · socratic · hand-written pages · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) · .pi/prompts /math-tutor socratic · hand-written pages .pi/prompts math-tutor · read-only · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) math-tutor read-only model_spec.json · .papersmith/ · contribution_type · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) model_spec.json .papersmith/ · contribution_type paper-reviewer · NeurIPS contribution type · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) · after the hypotheses paper-reviewer NeurIPS contribution type after the hypotheses smith ui · phase drawer → /<skill> · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) · command center smith ui phase drawer → /<skill> command center /api/model/math · concept map · KaTeX cards · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) /api/model/math concept map · KaTeX cards .papersmith/math-tutor/ · thread + uploaded pages · 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) .papersmith/math-tutor/ thread + uploaded pages /experimental-deliberation · requires data-paper/ · 5 · Proof of concept and experiments: the protocol first · .pi/prompts /experimental-deliberation requires data-paper/ .pi/prompts experimental-validation · read-only · 5 · Proof of concept and experiments: the protocol first · stretch: validated experimental-validation read-only stretch: validated Human acceptance · deliberated = operator · 5 · Proof of concept and experiments: the protocol first Human acceptance deliberated = operator experimental-publish · reads · bash · 5 · Proof of concept and experiments: the protocol first · stretch: terminal experimental-publish reads · bash stretch: terminal experiments/ · experimental protocol · 5 · Proof of concept and experiments: the protocol first · 5.1–5.5 experiments/ experimental protocol 5.1–5.5 /datasets · toy → published · 5a · Datasets (toy set → official preparation) · .pi/prompts /datasets toy → published .pi/prompts dataset-scout · reads · bash · 5a · Datasets (toy set → official preparation) · sourced → licensed dataset-scout reads · bash sourced → licensed dataset-curator · reads · writes · bash · 5a · Datasets (toy set → official preparation) · toy → published dataset-curator reads · writes · bash toy → published Upload consent · private · --consent <slug> · 5a · Datasets (toy set → official preparation) Upload consent private · --consent <slug> datasets/ · registry · splits.json · 5a · Datasets (toy set → official preparation) · 5.6 datasets/ registry · splits.json 5.6 /proposal-implementation · standing → full-scale · 5b · Replication and proof of concept · .pi/prompts /proposal-implementation standing → full-scale .pi/prompts implementation-build · reads · writes · bash · 5b · Replication and proof of concept · stretch: audit implementation-build reads · writes · bash stretch: audit implementation-walk · reads · bash · 5b · Replication and proof of concept · stretch: rehearsal implementation-walk reads · bash stretch: rehearsal Authorizes a launch · operator only · 5b · Replication and proof of concept Authorizes a launch operator only implementations/<repo> · its own git + .venv · 5b · Replication and proof of concept implementations/<repo> its own git + .venv paper-replicator · reads · writes · bash · 5b · Replication and proof of concept · stretch: fidelity paper-replicator reads · writes · bash stretch: fidelity Published code? · adopt + audit, else rebuild · 5b · Replication and proof of concept Published code? adopt + audit, else rebuild REPLICATION.md · equation → line provenance · 5b · Replication and proof of concept · 5.7 REPLICATION.md equation → line provenance 5.7 discussion.json · verdicts · tests · novelty · 5b · Replication and proof of concept · gates 5.8 discussion.json verdicts · tests · novelty gates 5.8 smith novelty --gate poc · approve · iterate · 5c · Proof-of-concept verification (G-EXP-POC, operator) · novelty_cli.py smith novelty --gate poc approve · iterate novelty_cli.py novelty_gate.json · poc · beside the full decision · 5c · Proof-of-concept verification (G-EXP-POC, operator) novelty_gate.json · poc beside the full decision G-EXP-POC · results + contrasted hypotheses · 5c · Proof-of-concept verification (G-EXP-POC, operator) · operator · 5.9 G-EXP-POC results + contrasted hypotheses operator · 5.9 Verify the PoC · Novedad tab · Experimentos stepper · 5c · Proof-of-concept verification (G-EXP-POC, operator) · command center Verify the PoC Novedad tab · Experimentos stepper command center /experimental-implementation · locked until G-EXP-POC · 5d · Full experiments (after G-EXP-POC) · .pi/prompts /experimental-implementation locked until G-EXP-POC .pi/prompts experiments-build · reads · writes · bash · 5d · Full experiments (after G-EXP-POC) · baselines: REPLICATION.md experiments-build reads · writes · bash baselines: REPLICATION.md experiments-reviewer · reads · bash · 5d · Full experiments (after G-EXP-POC) · stretch: instrumentation experiments-reviewer reads · bash stretch: instrumentation experiments-walk · reads · bash · 5d · Full experiments (after G-EXP-POC) · stretch: rehearsal experiments-walk reads · bash stretch: rehearsal Authorizes a launch · whole campaign · 5d · Full experiments (after G-EXP-POC) Authorizes a launch whole campaign discussion.json · verdicts · tests · novelty · 5d · Full experiments (after G-EXP-POC) · gates 5.12 discussion.json verdicts · tests · novelty gates 5.12 reviewer_report.json · blockers resolved · 5d · Full experiments (after G-EXP-POC) · gates 5.13 reviewer_report.json blockers resolved gates 5.13 /kaggle-accounts · taken-in → decided · 5e · Credentials · .pi/prompts /kaggle-accounts taken-in → decided .pi/prompts accounts_cli.py · validate --interactive · 5e · Credentials · TTY only accounts_cli.py validate --interactive TTY only store/ · validated credentials · 5e · Credentials store/ validated credentials refuse-offpath-push.js · extension: watches bash · 5f · Remote rehearsal and launch · tool_call refuse-offpath-push.js extension: watches bash tool_call /remote-execution · reachable → returned · 5f · Remote rehearsal and launch · .pi/prompts /remote-execution reachable → returned .pi/prompts readiness + gate · single-use token · 5f · Remote rehearsal and launch · 5.14 readiness + gate single-use token 5.14 remote_cli.py · submit · poll · fetch · 5f · Remote rehearsal and launch · 12 subcommands remote_cli.py submit · poll · fetch 12 subcommands kaggle-inbox/ · ledger + results · 5f · Remote rehearsal and launch kaggle-inbox/ ledger + results paper-reviewer · NeurIPS type of the findings · 5g · Findings: contribution type and G-NOVELTY · discussion.json paper-reviewer NeurIPS type of the findings discussion.json Novelty & Findings · Novedad & Hallazgos tab · 5g · Findings: contribution type and G-NOVELTY · command center Novelty & Findings Novedad & Hallazgos tab command center G-NOVELTY · approve · iterate · 5g · Findings: contribution type and G-NOVELTY · operator G-NOVELTY approve · iterate operator novelty_gate.json · .papersmith/ · history · 5g · Findings: contribution type and G-NOVELTY novelty_gate.json .papersmith/ · history smith novelty · status · approve · iterate · 5g · Findings: contribution type and G-NOVELTY · --gate full smith novelty status · approve · iterate --gate full /paper-writing skeleton · paper/ tree + contracts · 6 · Scaffolding · .pi/prompts /paper-writing skeleton paper/ tree + contracts .pi/prompts sections/*.md · section contracts · 6 · Scaffolding · G1 sections/*.md section contracts G1 /paper-writing mark · authorship · funding · ethics · 7 · Declarations · .pi/prompts /paper-writing mark authorship · funding · ethics .pi/prompts insumos-observer · read-only · 7 · Declarations · stretch: declare insumos-observer read-only stretch: declare /paper-writing · one named block at a time · 8 · Writing · .pi/prompts /paper-writing one named block at a time .pi/prompts redactor · read-only · 8 · Writing · stretch: write redactor read-only stretch: write contract-auditor · read-only · 8 · Writing · stretch: write contract-auditor read-only stretch: write style-sampler · read-only · 8 · Writing · stretch: write style-sampler read-only stretch: write section-grounding-auditor · read-only · 8 · Writing · stretch: write section-grounding-auditor read-only stretch: write paper_cli.py · write judges what comes back · 9 · Figures and grounding · 29 verbs paper_cli.py write judges what comes back 29 verbs diagram-author · reads · writes · bash · 9 · Figures and grounding · stretch: render diagram-author reads · writes · bash stretch: render figure-auditor · reads · bash · 9 · Figures and grounding · stretch: verify figure-auditor reads · bash stretch: verify /figure-review · probe · raster, no changes · 9 · Figures and grounding · .pi/prompts /figure-review probe · raster, no changes .pi/prompts Style & redundancy · PDF tab · 0–100 per section · 10 · Paper (PDF preview) · command center Style & redundancy PDF tab · 0–100 per section command center paper/ · main.tex · main.pdf · 10 · Paper (PDF preview) paper/ main.tex · main.pdf /journal-finder · Q1-Q2 · --oa-only · --max-apc · 10a · Journal choice and venue adaptation (after the PDF) · .pi/prompts /journal-finder Q1-Q2 · --oa-only · --max-apc .pi/prompts journal_cli.py search · OpenAlex works + sources · 10a · Journal choice and venue adaptation (after the PDF) · stdlib only journal_cli.py search OpenAlex works + sources stdlib only Quartile + review time · SJR / proxy · Crossref→PubMed · 10a · Journal choice and venue adaptation (after the PDF) · sjr-import Quartile + review time SJR / proxy · Crossref→PubMed sjr-import journal-candidates.json · paper/ · schema 1 · 10a · Journal choice and venue adaptation (after the PDF) journal-candidates.json paper/ · schema 1 Operator picks a journal · PDF Preview → venue select · 10a · Journal choice and venue adaptation (after the PDF) Operator picks a journal PDF Preview → venue select venue-adapter · read-only · 10a · Journal choice and venue adaptation (after the PDF) · requirements · quote + url venue-adapter read-only requirements · quote + url venue acquire · diff · template · audit.json · 10a · Journal choice and venue adaptation (after the PDF) venue acquire · diff template · audit.json Operator approves plan · sha256-bound · approval.json · 10a · Journal choice and venue adaptation (after the PDF) Operator approves plan sha256-bound · approval.json paper_cli.py write · text changes only here · 10a · Journal choice and venue adaptation (after the PDF) · redactor → audit paper_cli.py write text changes only here redactor → audit venue build · class · front matter · blocks · 10a · Journal choice and venue adaptation (after the PDF) · main.tex untouched venue build class · front matter · blocks main.tex untouched main.pdf · paper/venues/<slug>/ · 10a · Journal choice and venue adaptation (after the PDF) main.pdf paper/venues/<slug>/ /skill-audit · subject: any skill · 11 · Audit (transversal) · .pi/prompts /skill-audit subject: any skill .pi/prompts audit-report · reads · writes · bash · 11 · Audit (transversal) audit-report reads · writes · bash Audit report · never repairs · 11 · Audit (transversal) Audit report never repairs top-5 to ingest guidance/ revision rNN protocol complete discussion verified PoC job ready accounts proven measured results approved → writing section contracts declarations /<skill> /plausibility <draft> atlas.json concept + math classify toy set fidelity discussion_cli.py discussion_cli.py credentials delegates sections compiled PDF candidates agent drafts plan.md 1 · Harness (Pi) 2a · Thematic help (optional, before /plausibility) 2 · Plausibility 3 · Ingestion 4 · Proposal deliberation 4a · Problem & pillars → hypotheses → mathematics, contribution type (Mapa Conceptual) 5 · Proof of concept and experiments: the protocol first 5a · Datasets (toy set → official preparation) 5b · Replication and proof of concept 5c · Proof-of-concept verification (G-EXP-POC, operator) 5d · Full experiments (after G-EXP-POC) 5e · Credentials 5f · Remote rehearsal and launch 5g · Findings: contribution type and G-NOVELTY 6 · Scaffolding 7 · Declarations 8 · Writing 9 · Figures and grounding 10 · Paper (PDF preview) 10a · Journal choice and venue adaptation (after the PDF) 11 · Audit (transversal) Legend Pi command /skill Pi subagent Artifact on disk Gate (human) CLI Pi harness