Code: folio-assistant-sci
folio-assistant-sci · 5 declared code directories · Files open on GitHub at the commit this site was built from.
templates/ folio-templates
The PAPER profile of the files `folio_init` writes into a new folio: `paper/` holds the Lean build, lake-cache restore and blueprint workflows and the `.github/scripts` they call, written into a paper folio after the `document/` profile the tools layer keeps. Moved here from cat-harness-tools `templates/paper/` (move M11, folio-assistant#2598; owner 2026-10-23): only a paper folio is given them, and the paper profile is this layer's. The id is the tools layer's `folio-templates`, so this directory is a member of that subgraph and `init-folio` finds it by id across the checkout, never by a path naming this layer. `{{assistant}}`, `{{folio}}`, `{{platform_git}}` and `{{platform_repo}}` are substituted at write time. Declared `code`: executable sources whose target is another repository. `dependents: skip` -- a folio inherits them through `folio_init`, not by owning a copy. Declared WITH its files, per bean dh4f.
14 files
README.mdpaper/github/actions/lake-cache-restore/action.ymlpaper/github/scripts/axiom_report.pypaper/github/scripts/extract_proof_objects.pypaper/github/scripts/folio_lean/__init__.pypaper/github/scripts/folio_lean/config.pypaper/github/scripts/folio_lean/git_utils.pypaper/github/scripts/folio_lean/manifest.pypaper/github/scripts/generate_dependency_graph.pypaper/github/scripts/update_proof_status.pypaper/github/workflows/blueprint.ymlpaper/github/workflows/lean-build-sidecar.ymlpaper/github/workflows/lean-build.ymlpaper/github/workflows/lean_ci.yml
adapters/ sci-adapters
The PAPER content adapter — `PaperContentAdapter` and its Lean tool registrar. It arrived here 2026-09-30 (bean y5si, step 1 of 2 on the owner's Option A ruling on issue #1558), and the destination was not a judgement made at the time: `cat-harness/src/builtin-adapters.ts` already declared this adapter `layer: "sci"`, and `cat-harness/scripts/partition/instance-rules.ts` already listed the prefix `adapters/paper/` in its `repo: "sci"` block. Two existing machine-readable classifications that the DIRECTORY had simply never matched; the directory caught up with them. This is the first EXECUTABLE TypeScript this instance holds beyond `contributions.ts`, which is why `tsconfig.json`'s `include` gained `folio-assistant-sci/adapters/**/*.ts` in the same commit as the move — bean `lvoa` measured what happens when it does not: a file crossing an instance boundary leaves the typecheck program and no gate reports a shrinking one. `dependents: skip` because a dependent gets its adapter by DECLARING a `contentType`, resolved through `BUILTIN_ADAPTERS` by variable path, rather than by inheriting this directory to scan. `adapters/document/` is NOT here and is not coming in this change: it is step 2, and moving it alongside is what takes the instance-boundary import axis through 16 instead of leaving it at 2.
25 files
README.mdpaper/declared-adapter.test.tspaper/index.tspaper/latex/README.mdpaper/latex/feature-build.batpaper/latex/feature-build.shpaper/latex/paper-preamble.test.tspaper/latex/paper-preamble.texpaper/lean/lean-docs-build.shpaper/lean/lean-kg-ingest.test.tspaper/lean/lean-kg-ingest.tspaper/lean/lean-kg-publish.tspaper/lean/lean-kg-viewer/index.htmlpaper/lean/lean-kg-viewer/viewer.csspaper/lean/lean-kg-viewer/viewer.jspaper/lean/lean-render.test.tspaper/lean/lean-render.tspaper/suggest/README.mdpaper/suggest/crepe-latex.test.tspaper/suggest/crepe-latex.tspaper/suggest/latex-check.test.tspaper/suggest/latex-check.tspaper/suggest/latex-tokens.test.tspaper/suggest/latex-tokens.tspaper/tools/lean.ts
scripts/ sci-scripts
Tests that hold the harness's code against what this instance owns or contributes: its paper processes and decision tables, its pipeline plugins and contributed checkers. The code under test is imported down from cat-harness. Also the Lean cache service and its tests: `lake-cache.sh` (the `lean-cache` tool), `reseed-lean-cache.sh`, `lake-cache-fetch.sh`, `lake-cache-produce.py`, `lake-cache-fetch-multi.py` and their `.bat` entry points, moved here from cat-harness-tools `scripts/` (folio-assistant#2598; owner 2026-10-23, "C ok"): only a Lean folio runs them, and the `lake-cache` kind is this layer's. The cache branch family they read and write keeps its name, `cat/folio-assistant-sci/lake-cache/<pkg>` (owner, 2026-10-02).
31 files
README.mdcheck-editor-checkers.test.tscheck-editor-checkers.tscheck-lean-dirs.test.tscheck-lean-dirs.tsdocker-latex-build/Dockerfiledocker-latex-build/build-pdf.shextract-references.test.tsextract-references.tslake-cache-fetch-multi.pylake-cache-fetch.batlake-cache-fetch.shlake-cache-produce.pylake-cache.batlake-cache.shlsi-lean-decls.tsreseed-lean-cache.batreseed-lean-cache.shtests/decision-table.test.tstests/lake-cache-family-fallbacks.test.tstests/lake-cache-fetch.test.tstests/lake-cache.test.tstests/lean-decl-starts-are-shared.test.tstests/lean-ref-coverage.test.tstests/log-writer.test.tstests/lsi-lean-decls.test.tstests/paper-templates.test.tstests/qa-checkers-q-usage.test.tstests/qa-checkers-voice.test.tstests/sci-consumer.tstests/workflow-gate.test.ts
test/ cat-harness-tools-tests
Tests of the code this layer holds, moved with their subjects so the harness keeps no test importing upward into this layer: `composition-roots` (the declared tool groups and route mounting) and `mcp-graph-tools`.
58 files
attestations/README.mdattestations/block-qa/docs/source/guides-writing-a-paper/before-you-start.attestations.jsonattestations/block-qa/docs/source/guides-writing-a-paper/step-4-formalize-in-lean.attestations.jsonattestations/block-qa/docs/source/guides-writing-a-paper/step-5-validate.attestations.jsonattestations/block-qa/docs/source/guides-writing-a-paper/where-to-go-deeper.attestations.jsonattestations/kg-qa/processes/content/atomic-mass-drift-check.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/category-theory.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/chapter-analysis.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/content-block-review.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/content-validation.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/critical-path-analysis.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/formalizer.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/latex-compilation.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/latex-validation.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/lean-environment-setup.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/lean-generation.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/lean-proof-review.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/paper-importer.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/proof-simplifier.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/proof-status-tracking.attestations.jsonattestations/kg-qa/skills/content/folio-paper-adapter/proof-triage.attestations.jsonresults/block-qa/docs/source/guides-writing-a-paper/before-you-start.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/overview.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/required-gitignore-baseline.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-1-plan-the-paper.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-2-scaffold-the-repository.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-3-author-the-content.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-4-formalize-in-lean.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-5-validate.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-6-render.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-7-review-feedback.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/step-8-publish.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/the-end-to-end-workflow.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/what-you-end-up-with.qa.jsonresults/block-qa/docs/source/guides-writing-a-paper/where-to-go-deeper.qa.jsonresults/library-qa/arxiv-2003.08005v1.qa-results.jsonresults/library-qa/arxiv-2406.01940v2.qa-results.jsonresults/library-qa/arxiv-2512.09874v3.qa-results.jsonresults/library-qa/arxiv-2601.22554v1.qa-results.jsonresults/library-qa/arxiv-2602.16554v1.qa-results.jsonresults/library-qa/arxiv-2604.00554v1.qa-results.jsonresults/library-qa/codata-2022.qa-results.jsonresults/library-qa/milnorlink.qa-results.jsonresults/witnesses/guides-writing-a-paper/before-you-start.block.jsonresults/witnesses/guides-writing-a-paper/overview.block.jsonresults/witnesses/guides-writing-a-paper/qa-index.jsonresults/witnesses/guides-writing-a-paper/required-gitignore-baseline.block.jsonresults/witnesses/guides-writing-a-paper/step-1-plan-the-paper.block.jsonresults/witnesses/guides-writing-a-paper/step-2-scaffold-the-repository.block.jsonresults/witnesses/guides-writing-a-paper/step-3-author-the-content.block.jsonresults/witnesses/guides-writing-a-paper/step-4-formalize-in-lean.block.jsonresults/witnesses/guides-writing-a-paper/step-5-validate.block.jsonresults/witnesses/guides-writing-a-paper/step-6-render.block.jsonresults/witnesses/guides-writing-a-paper/step-7-review-feedback.block.jsonresults/witnesses/guides-writing-a-paper/step-8-publish.block.jsonresults/witnesses/guides-writing-a-paper/the-end-to-end-workflow.block.jsonresults/witnesses/guides-writing-a-paper/what-you-end-up-with.block.jsonresults/witnesses/guides-writing-a-paper/where-to-go-deeper.block.json
pipeline/ cat-harness-tools-pipeline
The content pipeline — build, render, QA checkers and generators over a folio's content graph — moved here from `cat-harness/content/pipeline/` by bean `70lx` (stage 1a). Its QA script sidecars stayed in the harness, under `test/results/script-sidecars/`, because they are the harness's QA state.
13 files