viva-superpowers 0.18.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. viva_superpowers-0.18.0/.claude-plugin/marketplace.json +19 -0
  2. viva_superpowers-0.18.0/.claude-plugin/plugin.json +17 -0
  3. viva_superpowers-0.18.0/.github/workflows/plugin-ci.yml +46 -0
  4. viva_superpowers-0.18.0/.github/workflows/preflight.yml +14 -0
  5. viva_superpowers-0.18.0/.github/workflows/pypi-installable.yml +51 -0
  6. viva_superpowers-0.18.0/.github/workflows/release.yml +45 -0
  7. viva_superpowers-0.18.0/.gitignore +14 -0
  8. viva_superpowers-0.18.0/CLAUDE.md +80 -0
  9. viva_superpowers-0.18.0/LICENSE +202 -0
  10. viva_superpowers-0.18.0/PKG-INFO +25 -0
  11. viva_superpowers-0.18.0/README.md +122 -0
  12. viva_superpowers-0.18.0/docs/concepts/expected-behavior-grammar.md +278 -0
  13. viva_superpowers-0.18.0/docs/concepts/process-bigraph-glossary.md +177 -0
  14. viva_superpowers-0.18.0/docs/concepts/vivarium-workbench-model.md +906 -0
  15. viva_superpowers-0.18.0/docs/conventions/composite_generators.md +232 -0
  16. viva_superpowers-0.18.0/docs/conventions/composites.md +225 -0
  17. viva_superpowers-0.18.0/docs/conventions/discovery.md +337 -0
  18. viva_superpowers-0.18.0/docs/conventions/distribution.md +112 -0
  19. viva_superpowers-0.18.0/docs/conventions/handling-investigation-feedback.md +177 -0
  20. viva_superpowers-0.18.0/docs/conventions/rigor-checklist.md +52 -0
  21. viva_superpowers-0.18.0/docs/conventions/runner_scripts.md +86 -0
  22. viva_superpowers-0.18.0/docs/conventions/visualizations.md +278 -0
  23. viva_superpowers-0.18.0/docs/hardening-backlog.md +55 -0
  24. viva_superpowers-0.18.0/docs/plans/2026-06-11-sp1-downstream-persistence-plan.md +104 -0
  25. viva_superpowers-0.18.0/docs/plans/2026-06-11-sp2b-ii-readout-migration-plan.md +83 -0
  26. viva_superpowers-0.18.0/docs/plans/2026-06-11-sp2c-expert-inputs-citations-plan.md +75 -0
  27. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp2b-iii-evaluator-hybrid-plan.md +58 -0
  28. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp3a-finding-seed-plan.md +89 -0
  29. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp3b-feedback-actions-plan.md +99 -0
  30. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp4a-linkage-index-plan.md +97 -0
  31. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp4b-observable-registry-plan.md +92 -0
  32. viva_superpowers-0.18.0/docs/plans/2026-06-12-sp5-decisions-needed-scan-plan.md +152 -0
  33. viva_superpowers-0.18.0/docs/plans/2026-07-27-study-audit-l0-l5.md +140 -0
  34. viva_superpowers-0.18.0/docs/references/papers/agmon-spangler-2026-process-bigraphs-main.pdf +0 -0
  35. viva_superpowers-0.18.0/docs/references/papers/agmon-spangler-2026-process-bigraphs-supplement1.pdf +0 -0
  36. viva_superpowers-0.18.0/docs/skills.md +74 -0
  37. viva_superpowers-0.18.0/docs/specs/2026-06-09-readout-coordination-design.md +73 -0
  38. viva_superpowers-0.18.0/docs/specs/2026-06-09-study-run-outcome-spine-design.md +184 -0
  39. viva_superpowers-0.18.0/docs/specs/2026-06-11-active-investigation-framework-design.md +87 -0
  40. viva_superpowers-0.18.0/docs/specs/2026-06-11-sp1-downstream-persistence-design.md +55 -0
  41. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-06-phase1-investigation-structure.md +515 -0
  42. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-06-phase2-dashboard-nav.md +173 -0
  43. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-07-investigation-scoped-inputs-and-simdb.md +339 -0
  44. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-07-viz-run-provenance-freshness.md +572 -0
  45. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-09-study-evaluator-b2.md +132 -0
  46. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-09-study-evaluator-b2b-computed-outcomes.md +51 -0
  47. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-09-study-outcome-spine-increment-a.md +789 -0
  48. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-band-provenance-lint-stage3a.md +55 -0
  49. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-biology-forward-stage5.md +54 -0
  50. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-cite-bands-skill-stage3b.md +60 -0
  51. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-evaluator-via-readouts-subproject-6.md +74 -0
  52. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-feedback-tracking-stage3c.md +48 -0
  53. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-readout-resolver-subproject-3.md +82 -0
  54. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-simulation-set-autofill-stage4.md +62 -0
  55. viva_superpowers-0.18.0/docs/superpowers/plans/2026-06-10-verdict-rollup-stage2.md +57 -0
  56. viva_superpowers-0.18.0/docs/superpowers/plans/2026-07-31-viva-expert-investigation-workbench.md +508 -0
  57. viva_superpowers-0.18.0/docs/superpowers/specs/2026-06-06-investigation-centric-restructure-design.md +156 -0
  58. viva_superpowers-0.18.0/docs/superpowers/specs/2026-06-07-investigation-scoped-inputs-and-simdb-design.md +158 -0
  59. viva_superpowers-0.18.0/docs/superpowers/specs/2026-06-07-viz-run-provenance-freshness-design.md +175 -0
  60. viva_superpowers-0.18.0/docs/superpowers/specs/2026-07-31-viva-expert-investigation-workbench-design.md +199 -0
  61. viva_superpowers-0.18.0/pbg_superpowers/__init__.py +88 -0
  62. viva_superpowers-0.18.0/pyproject.toml +103 -0
  63. viva_superpowers-0.18.0/scripts/audit-pbg-repo.py +33 -0
  64. viva_superpowers-0.18.0/scripts/update-scaffold-snapshot.py +61 -0
  65. viva_superpowers-0.18.0/server/client.js +60 -0
  66. viva_superpowers-0.18.0/server/server.py +180 -0
  67. viva_superpowers-0.18.0/server/start-server.sh +69 -0
  68. viva_superpowers-0.18.0/shim/pbg_superpowers_shim/__init__.py +1 -0
  69. viva_superpowers-0.18.0/shim/pyproject.toml +15 -0
  70. viva_superpowers-0.18.0/skills/pbg-biology-forward/SKILL.md +15 -0
  71. viva_superpowers-0.18.0/skills/pbg-catalog/SKILL.md +15 -0
  72. viva_superpowers-0.18.0/skills/pbg-cite-bands/SKILL.md +15 -0
  73. viva_superpowers-0.18.0/skills/pbg-dashboard/SKILL.md +28 -0
  74. viva_superpowers-0.18.0/skills/pbg-expert/SKILL.md +15 -0
  75. viva_superpowers-0.18.0/skills/pbg-explore/SKILL.md +15 -0
  76. viva_superpowers-0.18.0/skills/pbg-init/SKILL.md +15 -0
  77. viva_superpowers-0.18.0/skills/pbg-investigation/SKILL.md +15 -0
  78. viva_superpowers-0.18.0/skills/pbg-navigate/SKILL.md +15 -0
  79. viva_superpowers-0.18.0/skills/pbg-report/SKILL.md +15 -0
  80. viva_superpowers-0.18.0/skills/pbg-run/SKILL.md +15 -0
  81. viva_superpowers-0.18.0/skills/pbg-server/SKILL.md +15 -0
  82. viva_superpowers-0.18.0/skills/pbg-status/SKILL.md +15 -0
  83. viva_superpowers-0.18.0/skills/pbg-study/SKILL.md +15 -0
  84. viva_superpowers-0.18.0/skills/pbg-suggest/SKILL.md +14 -0
  85. viva_superpowers-0.18.0/skills/pbg-viz/SKILL.md +15 -0
  86. viva_superpowers-0.18.0/skills/pbg-workbench/SKILL.md +15 -0
  87. viva_superpowers-0.18.0/skills/pbg-workspace/SKILL.md +15 -0
  88. viva_superpowers-0.18.0/skills/viva-biology-forward/SKILL.md +226 -0
  89. viva_superpowers-0.18.0/skills/viva-catalog/SKILL.md +143 -0
  90. viva_superpowers-0.18.0/skills/viva-cite-bands/SKILL.md +299 -0
  91. viva_superpowers-0.18.0/skills/viva-expert/SKILL.md +1948 -0
  92. viva_superpowers-0.18.0/skills/viva-explore/SKILL.md +104 -0
  93. viva_superpowers-0.18.0/skills/viva-harden-investigation/SKILL.md +105 -0
  94. viva_superpowers-0.18.0/skills/viva-init/SKILL.md +93 -0
  95. viva_superpowers-0.18.0/skills/viva-investigation/SKILL.md +698 -0
  96. viva_superpowers-0.18.0/skills/viva-navigate/SKILL.md +195 -0
  97. viva_superpowers-0.18.0/skills/viva-report/SKILL.md +390 -0
  98. viva_superpowers-0.18.0/skills/viva-run/SKILL.md +142 -0
  99. viva_superpowers-0.18.0/skills/viva-server/SKILL.md +60 -0
  100. viva_superpowers-0.18.0/skills/viva-status/SKILL.md +305 -0
  101. viva_superpowers-0.18.0/skills/viva-study/SKILL.md +1546 -0
  102. viva_superpowers-0.18.0/skills/viva-suggest/SKILL.md +66 -0
  103. viva_superpowers-0.18.0/skills/viva-viz/SKILL.md +265 -0
  104. viva_superpowers-0.18.0/skills/viva-workbench/SKILL.md +203 -0
  105. viva_superpowers-0.18.0/skills/viva-workspace/SKILL.md +123 -0
  106. viva_superpowers-0.18.0/templates/_assets/render-helpers.js +30 -0
  107. viva_superpowers-0.18.0/templates/_assets/style.css +31 -0
  108. viva_superpowers-0.18.0/templates/model/.github/workflows/model-ci.yml +24 -0
  109. viva_superpowers-0.18.0/templates/model/.gitignore +5 -0
  110. viva_superpowers-0.18.0/templates/model/README.md.j2 +16 -0
  111. viva_superpowers-0.18.0/templates/model/pbg_<model>/__init__.py.j2 +1 -0
  112. viva_superpowers-0.18.0/templates/model/pbg_<model>/adapters.py +1 -0
  113. viva_superpowers-0.18.0/templates/model/pbg_<model>/core.py.j2 +11 -0
  114. viva_superpowers-0.18.0/templates/model/pbg_<model>/document.py.j2 +7 -0
  115. viva_superpowers-0.18.0/templates/model/pbg_<model>/stubs.py +1 -0
  116. viva_superpowers-0.18.0/templates/model/pbg_<model>/types.py +1 -0
  117. viva_superpowers-0.18.0/templates/model/pbg_<model>/wiring.py.j2 +2 -0
  118. viva_superpowers-0.18.0/templates/model/pyproject.toml.j2 +19 -0
  119. viva_superpowers-0.18.0/templates/model/reports/assets/.keep +0 -0
  120. viva_superpowers-0.18.0/templates/model/reports/index.html.j2 +37 -0
  121. viva_superpowers-0.18.0/templates/model/tests/__init__.py +0 -0
  122. viva_superpowers-0.18.0/templates/model/tests/registry-snapshot.json.j2 +1 -0
  123. viva_superpowers-0.18.0/templates/model/tests/test_adapters.py +1 -0
  124. viva_superpowers-0.18.0/templates/model/tests/test_assembly.py.j2 +6 -0
  125. viva_superpowers-0.18.0/templates/model/tests/test_core_integration.py.j2 +72 -0
  126. viva_superpowers-0.18.0/templates/model/tests/test_run.py.j2 +1 -0
  127. viva_superpowers-0.18.0/templates/workspace/reports/_finding_row.html.j2 +23 -0
  128. viva_superpowers-0.18.0/templates/workspace/reports/findings_index.html.j2 +152 -0
  129. viva_superpowers-0.18.0/templates/workspace/reports/index.html.j2 +32 -0
  130. viva_superpowers-0.18.0/tests/__init__.py +0 -0
  131. viva_superpowers-0.18.0/tests/conftest.py +18 -0
  132. viva_superpowers-0.18.0/tests/fixtures/.keep +0 -0
  133. viva_superpowers-0.18.0/tests/fixtures/composites/baseline.composite.json +50 -0
  134. viva_superpowers-0.18.0/tests/fixtures/composites/baseline.composite.yaml +37 -0
  135. viva_superpowers-0.18.0/tests/fixtures/fake_generator_pkg/fake_generator_pkg/__init__.py +1 -0
  136. viva_superpowers-0.18.0/tests/fixtures/fake_generator_pkg/fake_generator_pkg/composites.py +10 -0
  137. viva_superpowers-0.18.0/tests/fixtures/fake_generator_pkg/pyproject.toml +12 -0
  138. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-missing-cites/references/papers.bib +5 -0
  139. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-missing-cites/studies/study-band-no-cites/study.yaml +51 -0
  140. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-missing-cites/studies/study-band-with-cites/study.yaml +27 -0
  141. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-missing-cites/workspace.yaml +5 -0
  142. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-unknown-bib/references/papers.bib +11 -0
  143. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-unknown-bib/studies/study-bad-cites/study.yaml +55 -0
  144. viva_superpowers-0.18.0/tests/fixtures/lint-cases/band-test-unknown-bib/workspace.yaml +5 -0
  145. viva_superpowers-0.18.0/tests/fixtures/lint-cases/claims-done-no-runs/studies/study-claims-no-runs/study.yaml +11 -0
  146. viva_superpowers-0.18.0/tests/fixtures/lint-cases/claims-done-no-runs/studies/study-claims-with-runs/study.yaml +14 -0
  147. viva_superpowers-0.18.0/tests/fixtures/lint-cases/claims-done-no-runs/workspace.yaml +5 -0
  148. viva_superpowers-0.18.0/tests/fixtures/lint-cases/clean-baseline/studies/study-clean/study.yaml +59 -0
  149. viva_superpowers-0.18.0/tests/fixtures/lint-cases/clean-baseline/workspace.yaml +5 -0
  150. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-both-agree/studies/agree/study.yaml +12 -0
  151. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-both-agree/workspace.yaml +5 -0
  152. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-both-conflict/studies/conflict/study.yaml +10 -0
  153. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-both-conflict/workspace.yaml +5 -0
  154. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-legacy-only/studies/legacy/study.yaml +8 -0
  155. viva_superpowers-0.18.0/tests/fixtures/lint-cases/dag-edges-legacy-only/workspace.yaml +5 -0
  156. viva_superpowers-0.18.0/tests/fixtures/lint-cases/decide-missing-findings/studies/study-decide/study.yaml +15 -0
  157. viva_superpowers-0.18.0/tests/fixtures/lint-cases/decide-missing-findings/workspace.yaml +5 -0
  158. viva_superpowers-0.18.0/tests/fixtures/lint-cases/duplicate-modal/studies/study-dupe/study.yaml +11 -0
  159. viva_superpowers-0.18.0/tests/fixtures/lint-cases/duplicate-modal/workspace.yaml +5 -0
  160. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-no-evidence/studies/study-evid/study.yaml +29 -0
  161. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-no-evidence/workspace.yaml +5 -0
  162. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-unknown-bib/references/papers.bib +11 -0
  163. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-unknown-bib/studies/study-bib/study.yaml +21 -0
  164. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-unknown-bib/workspace.yaml +6 -0
  165. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-unknown-expert/studies/study-expert/study.yaml +23 -0
  166. viva_superpowers-0.18.0/tests/fixtures/lint-cases/finding-unknown-expert/workspace.yaml +8 -0
  167. viva_superpowers-0.18.0/tests/fixtures/lint-cases/incomplete-summary/studies/study-incomplete/study.yaml +20 -0
  168. viva_superpowers-0.18.0/tests/fixtures/lint-cases/incomplete-summary/workspace.yaml +5 -0
  169. viva_superpowers-0.18.0/tests/fixtures/lint-cases/machine-projected-tests/studies/study-slop/study.yaml +32 -0
  170. viva_superpowers-0.18.0/tests/fixtures/lint-cases/machine-projected-tests/workspace.yaml +5 -0
  171. viva_superpowers-0.18.0/tests/fixtures/lint-cases/missing-provenance/studies/study-prov/study.yaml +21 -0
  172. viva_superpowers-0.18.0/tests/fixtures/lint-cases/missing-provenance/workspace.yaml +5 -0
  173. viva_superpowers-0.18.0/tests/fixtures/lint-cases/readout-migration-status/studies/legacy-readouts/study.yaml +23 -0
  174. viva_superpowers-0.18.0/tests/fixtures/lint-cases/readout-migration-status/workspace.yaml +5 -0
  175. viva_superpowers-0.18.0/tests/fixtures/lint-cases/reviewer-clarity/studies/study-ran-no-outcomes/study.yaml +21 -0
  176. viva_superpowers-0.18.0/tests/fixtures/lint-cases/reviewer-clarity/workspace.yaml +5 -0
  177. viva_superpowers-0.18.0/tests/fixtures/lint-cases/runs-yaml-drift-missing-db/studies/drift/study.yaml +8 -0
  178. viva_superpowers-0.18.0/tests/fixtures/lint-cases/runs-yaml-drift-missing-db/workspace.yaml +5 -0
  179. viva_superpowers-0.18.0/tests/fixtures/lint-cases/runs-yaml-redundant/studies/redundant/study.yaml +9 -0
  180. viva_superpowers-0.18.0/tests/fixtures/lint-cases/runs-yaml-redundant/workspace.yaml +5 -0
  181. viva_superpowers-0.18.0/tests/fixtures/lint-cases/speculative-readout-paths/studies/study-x/study.yaml +28 -0
  182. viva_superpowers-0.18.0/tests/fixtures/lint-cases/speculative-readout-paths/workspace.yaml +5 -0
  183. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-contradictions/studies/study-contradict/study.yaml +7 -0
  184. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-contradictions/studies/study-impl-running/study.yaml +7 -0
  185. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-contradictions/studies/study-review-blocked/study.yaml +7 -0
  186. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-contradictions/workspace.yaml +5 -0
  187. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-legacy-only/studies/legacy-status/study.yaml +5 -0
  188. viva_superpowers-0.18.0/tests/fixtures/lint-cases/status-legacy-only/workspace.yaml +5 -0
  189. viva_superpowers-0.18.0/tests/fixtures/lint-cases/truncated-takeaway/studies/study-trunc/study.yaml +8 -0
  190. viva_superpowers-0.18.0/tests/fixtures/lint-cases/truncated-takeaway/workspace.yaml +5 -0
  191. viva_superpowers-0.18.0/tests/fixtures/lint-cases/unresolved-placeholders/studies/study-tbd/study.yaml +10 -0
  192. viva_superpowers-0.18.0/tests/fixtures/lint-cases/unresolved-placeholders/workspace.yaml +5 -0
  193. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-missing/studies/study-viz/study.yaml +10 -0
  194. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-missing/workspace.yaml +5 -0
  195. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-resolved/pkg/visualizations/dnaa_state.py +12 -0
  196. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-resolved/pkg/visualizations/factories.py +14 -0
  197. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-resolved/studies/study-viz/study.yaml +13 -0
  198. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-resolved/workspace.yaml +5 -0
  199. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-unresolved/studies/study-viz/study.yaml +15 -0
  200. viva_superpowers-0.18.0/tests/fixtures/lint-cases/viz-address-unresolved/workspace.yaml +5 -0
  201. viva_superpowers-0.18.0/tests/fixtures/pbg-fake-tool/pbg_fake_tool/__init__.py +6 -0
  202. viva_superpowers-0.18.0/tests/fixtures/pbg-fake-tool/pbg_fake_tool/processes.py +23 -0
  203. viva_superpowers-0.18.0/tests/fixtures/pbg-fake-tool/pyproject.toml +11 -0
  204. viva_superpowers-0.18.0/tests/fixtures/pbg-fake-tool/tests/test_fake.py +6 -0
  205. viva_superpowers-0.18.0/tests/fixtures/workspace-baseline/MANIFEST.txt +55 -0
  206. viva_superpowers-0.18.0/tests/fixtures/workspace-baseline/PBG_TEMPLATE_REF +1 -0
  207. viva_superpowers-0.18.0/tests/test_ablation.py +130 -0
  208. viva_superpowers-0.18.0/tests/test_auto_evaluate.py +253 -0
  209. viva_superpowers-0.18.0/tests/test_backfill_runs.py +72 -0
  210. viva_superpowers-0.18.0/tests/test_backfill_study_runs.py +31 -0
  211. viva_superpowers-0.18.0/tests/test_band_provenance.py +395 -0
  212. viva_superpowers-0.18.0/tests/test_bibtex.py +65 -0
  213. viva_superpowers-0.18.0/tests/test_calibration_sweep.py +287 -0
  214. viva_superpowers-0.18.0/tests/test_canonical_run.py +17 -0
  215. viva_superpowers-0.18.0/tests/test_catalog_registry.py +60 -0
  216. viva_superpowers-0.18.0/tests/test_chart_store.py +143 -0
  217. viva_superpowers-0.18.0/tests/test_check_observables_skill.py +27 -0
  218. viva_superpowers-0.18.0/tests/test_citation_gaps.py +158 -0
  219. viva_superpowers-0.18.0/tests/test_cite_bands_skill_references_gaps.py +20 -0
  220. viva_superpowers-0.18.0/tests/test_composite_generator.py +650 -0
  221. viva_superpowers-0.18.0/tests/test_composite_spec.py +167 -0
  222. viva_superpowers-0.18.0/tests/test_computed_outcomes.py +511 -0
  223. viva_superpowers-0.18.0/tests/test_computed_outcomes_golden.py +232 -0
  224. viva_superpowers-0.18.0/tests/test_config_helpers.py +72 -0
  225. viva_superpowers-0.18.0/tests/test_consolidated_skills.py +147 -0
  226. viva_superpowers-0.18.0/tests/test_core_introspection.py +65 -0
  227. viva_superpowers-0.18.0/tests/test_dashboard.py +461 -0
  228. viva_superpowers-0.18.0/tests/test_default_visualizations.py +92 -0
  229. viva_superpowers-0.18.0/tests/test_demo_visualizations.py +97 -0
  230. viva_superpowers-0.18.0/tests/test_discovery_contract.py +227 -0
  231. viva_superpowers-0.18.0/tests/test_e2e_happy_path.py +142 -0
  232. viva_superpowers-0.18.0/tests/test_evaluator_nan_join_fixes.py +75 -0
  233. viva_superpowers-0.18.0/tests/test_evaluator_structural_ops.py +74 -0
  234. viva_superpowers-0.18.0/tests/test_event_client.py +44 -0
  235. viva_superpowers-0.18.0/tests/test_expert_search.py +259 -0
  236. viva_superpowers-0.18.0/tests/test_failure_modes.py +27 -0
  237. viva_superpowers-0.18.0/tests/test_feedback_actions.py +354 -0
  238. viva_superpowers-0.18.0/tests/test_feedback_reader.py +154 -0
  239. viva_superpowers-0.18.0/tests/test_feedback_respond_skill.py +34 -0
  240. viva_superpowers-0.18.0/tests/test_feedback_tracking.py +350 -0
  241. viva_superpowers-0.18.0/tests/test_figure_refresh.py +76 -0
  242. viva_superpowers-0.18.0/tests/test_finding_observations.py +1063 -0
  243. viva_superpowers-0.18.0/tests/test_findings_report.py +324 -0
  244. viva_superpowers-0.18.0/tests/test_generation.py +136 -0
  245. viva_superpowers-0.18.0/tests/test_import_model_command.py +117 -0
  246. viva_superpowers-0.18.0/tests/test_imports.py +87 -0
  247. viva_superpowers-0.18.0/tests/test_integration_observable_pipeline.py +413 -0
  248. viva_superpowers-0.18.0/tests/test_intervention.py +87 -0
  249. viva_superpowers-0.18.0/tests/test_investigation_canonicalize.py +39 -0
  250. viva_superpowers-0.18.0/tests/test_investigation_close.py +259 -0
  251. viva_superpowers-0.18.0/tests/test_investigation_inputs.py +34 -0
  252. viva_superpowers-0.18.0/tests/test_investigation_status.py +341 -0
  253. viva_superpowers-0.18.0/tests/test_investigation_worktree_unification.py +128 -0
  254. viva_superpowers-0.18.0/tests/test_linkage_index.py +305 -0
  255. viva_superpowers-0.18.0/tests/test_linkage_index_golden.py +139 -0
  256. viva_superpowers-0.18.0/tests/test_migrate_inputs.py +50 -0
  257. viva_superpowers-0.18.0/tests/test_migrate_nested.py +83 -0
  258. viva_superpowers-0.18.0/tests/test_migrate_readouts_skill.py +41 -0
  259. viva_superpowers-0.18.0/tests/test_model_scaffold.py +64 -0
  260. viva_superpowers-0.18.0/tests/test_navigate_skill.py +46 -0
  261. viva_superpowers-0.18.0/tests/test_needs_attention.py +613 -0
  262. viva_superpowers-0.18.0/tests/test_package_audit.py +173 -0
  263. viva_superpowers-0.18.0/tests/test_param_enforcement.py +108 -0
  264. viva_superpowers-0.18.0/tests/test_parameter_validation.py +170 -0
  265. viva_superpowers-0.18.0/tests/test_paths.py +87 -0
  266. viva_superpowers-0.18.0/tests/test_plot_style.py +76 -0
  267. viva_superpowers-0.18.0/tests/test_provenance.py +110 -0
  268. viva_superpowers-0.18.0/tests/test_publish_assets.py +71 -0
  269. viva_superpowers-0.18.0/tests/test_readout_migration.py +553 -0
  270. viva_superpowers-0.18.0/tests/test_readout_resolver.py +584 -0
  271. viva_superpowers-0.18.0/tests/test_readout_validation.py +236 -0
  272. viva_superpowers-0.18.0/tests/test_refresh_viz.py +49 -0
  273. viva_superpowers-0.18.0/tests/test_render_results.py +181 -0
  274. viva_superpowers-0.18.0/tests/test_report_linter.py +1134 -0
  275. viva_superpowers-0.18.0/tests/test_report_linter_narrative.py +229 -0
  276. viva_superpowers-0.18.0/tests/test_report_render.py +77 -0
  277. viva_superpowers-0.18.0/tests/test_rigor.py +685 -0
  278. viva_superpowers-0.18.0/tests/test_roll_up_sync.py +148 -0
  279. viva_superpowers-0.18.0/tests/test_run_params.py +217 -0
  280. viva_superpowers-0.18.0/tests/test_run_registry.py +159 -0
  281. viva_superpowers-0.18.0/tests/test_run_registry_list.py +17 -0
  282. viva_superpowers-0.18.0/tests/test_runs_index.py +31 -0
  283. viva_superpowers-0.18.0/tests/test_scaffold_investigation_from_wrapper.py +188 -0
  284. viva_superpowers-0.18.0/tests/test_seed_from_followup.py +788 -0
  285. viva_superpowers-0.18.0/tests/test_server_lifecycle.py +111 -0
  286. viva_superpowers-0.18.0/tests/test_set_band_provenance.py +336 -0
  287. viva_superpowers-0.18.0/tests/test_shared_helpers.py +110 -0
  288. viva_superpowers-0.18.0/tests/test_simulation_set.py +469 -0
  289. viva_superpowers-0.18.0/tests/test_skill_manifests.py +129 -0
  290. viva_superpowers-0.18.0/tests/test_study_audit.py +639 -0
  291. viva_superpowers-0.18.0/tests/test_study_canonicalize.py +266 -0
  292. viva_superpowers-0.18.0/tests/test_study_evaluator.py +769 -0
  293. viva_superpowers-0.18.0/tests/test_study_evaluator_golden.py +362 -0
  294. viva_superpowers-0.18.0/tests/test_study_evaluator_readouts_golden.py +205 -0
  295. viva_superpowers-0.18.0/tests/test_study_evaluator_via_readouts.py +364 -0
  296. viva_superpowers-0.18.0/tests/test_study_findings.py +429 -0
  297. viva_superpowers-0.18.0/tests/test_study_narrative.py +290 -0
  298. viva_superpowers-0.18.0/tests/test_study_outcomes.py +252 -0
  299. viva_superpowers-0.18.0/tests/test_study_outcomes_cli.py +33 -0
  300. viva_superpowers-0.18.0/tests/test_study_outcomes_sync.py +302 -0
  301. viva_superpowers-0.18.0/tests/test_study_status.py +168 -0
  302. viva_superpowers-0.18.0/tests/test_study_verdict.py +395 -0
  303. viva_superpowers-0.18.0/tests/test_study_verify.py +395 -0
  304. viva_superpowers-0.18.0/tests/test_timeseries_from_observables.py +469 -0
  305. viva_superpowers-0.18.0/tests/test_version_consistency.py +14 -0
  306. viva_superpowers-0.18.0/tests/test_visualization.py +323 -0
  307. viva_superpowers-0.18.0/tests/test_visualization_units.py +46 -0
  308. viva_superpowers-0.18.0/tests/test_viz_freshness.py +72 -0
  309. viva_superpowers-0.18.0/tests/test_wave3b.py +297 -0
  310. viva_superpowers-0.18.0/tests/test_workspace_catalog.py +406 -0
  311. viva_superpowers-0.18.0/tests/test_workspace_evaluators.py +142 -0
  312. viva_superpowers-0.18.0/tests/test_workspace_paths.py +93 -0
  313. viva_superpowers-0.18.0/tests/test_workspace_paths_nested.py +55 -0
  314. viva_superpowers-0.18.0/tests/test_workspace_scaffold.py +322 -0
  315. viva_superpowers-0.18.0/tests/test_workspace_scaffold_snapshot.py +62 -0
  316. viva_superpowers-0.18.0/tests/test_workspace_schema_sync.py +133 -0
  317. viva_superpowers-0.18.0/tests/test_workspace_yaml_io.py +43 -0
  318. viva_superpowers-0.18.0/tests/test_workspace_yaml_schema.py +285 -0
  319. viva_superpowers-0.18.0/viva_superpowers/__init__.py +2 -0
  320. viva_superpowers-0.18.0/viva_superpowers/_demo_visualizations.py +209 -0
  321. viva_superpowers-0.18.0/viva_superpowers/_resources.py +31 -0
  322. viva_superpowers-0.18.0/viva_superpowers/ablation.py +218 -0
  323. viva_superpowers-0.18.0/viva_superpowers/auto_evaluate.py +349 -0
  324. viva_superpowers-0.18.0/viva_superpowers/backfill_runs.py +238 -0
  325. viva_superpowers-0.18.0/viva_superpowers/band_provenance.py +257 -0
  326. viva_superpowers-0.18.0/viva_superpowers/bibtex.py +95 -0
  327. viva_superpowers-0.18.0/viva_superpowers/calibration_sweep.py +456 -0
  328. viva_superpowers-0.18.0/viva_superpowers/catalog/__init__.py +70 -0
  329. viva_superpowers-0.18.0/viva_superpowers/catalog/modules.json +373 -0
  330. viva_superpowers-0.18.0/viva_superpowers/catalog/sync_catalog.py +228 -0
  331. viva_superpowers-0.18.0/viva_superpowers/chart_store.py +390 -0
  332. viva_superpowers-0.18.0/viva_superpowers/citation_gaps.py +148 -0
  333. viva_superpowers-0.18.0/viva_superpowers/composite_discovery.py +135 -0
  334. viva_superpowers-0.18.0/viva_superpowers/composite_generator.py +594 -0
  335. viva_superpowers-0.18.0/viva_superpowers/composite_spec.py +151 -0
  336. viva_superpowers-0.18.0/viva_superpowers/config_helpers.py +98 -0
  337. viva_superpowers-0.18.0/viva_superpowers/core_introspection.py +44 -0
  338. viva_superpowers-0.18.0/viva_superpowers/dashboard.py +1112 -0
  339. viva_superpowers-0.18.0/viva_superpowers/event_client.py +75 -0
  340. viva_superpowers-0.18.0/viva_superpowers/expert_search.py +208 -0
  341. viva_superpowers-0.18.0/viva_superpowers/feedback_actions.py +467 -0
  342. viva_superpowers-0.18.0/viva_superpowers/feedback_import.py +247 -0
  343. viva_superpowers-0.18.0/viva_superpowers/feedback_tracking.py +175 -0
  344. viva_superpowers-0.18.0/viva_superpowers/figure_refresh.py +188 -0
  345. viva_superpowers-0.18.0/viva_superpowers/finding_observations.py +425 -0
  346. viva_superpowers-0.18.0/viva_superpowers/generation.py +286 -0
  347. viva_superpowers-0.18.0/viva_superpowers/hypotheses.py +346 -0
  348. viva_superpowers-0.18.0/viva_superpowers/imports.py +65 -0
  349. viva_superpowers-0.18.0/viva_superpowers/intervention.py +18 -0
  350. viva_superpowers-0.18.0/viva_superpowers/investigation_canonicalize.py +73 -0
  351. viva_superpowers-0.18.0/viva_superpowers/investigation_close.py +659 -0
  352. viva_superpowers-0.18.0/viva_superpowers/investigation_inputs.py +34 -0
  353. viva_superpowers-0.18.0/viva_superpowers/investigation_status.py +252 -0
  354. viva_superpowers-0.18.0/viva_superpowers/linkage_index.py +723 -0
  355. viva_superpowers-0.18.0/viva_superpowers/migrate_inputs.py +180 -0
  356. viva_superpowers-0.18.0/viva_superpowers/migrate_nested.py +127 -0
  357. viva_superpowers-0.18.0/viva_superpowers/needs_attention.py +716 -0
  358. viva_superpowers-0.18.0/viva_superpowers/package_audit.py +252 -0
  359. viva_superpowers-0.18.0/viva_superpowers/param_enforcement.py +126 -0
  360. viva_superpowers-0.18.0/viva_superpowers/parameter_validation.py +284 -0
  361. viva_superpowers-0.18.0/viva_superpowers/paths.py +141 -0
  362. viva_superpowers-0.18.0/viva_superpowers/plot_style.py +163 -0
  363. viva_superpowers-0.18.0/viva_superpowers/provenance.py +239 -0
  364. viva_superpowers-0.18.0/viva_superpowers/publish_assets.py +83 -0
  365. viva_superpowers-0.18.0/viva_superpowers/readout_migration.py +349 -0
  366. viva_superpowers-0.18.0/viva_superpowers/readout_resolver.py +405 -0
  367. viva_superpowers-0.18.0/viva_superpowers/readout_validation.py +333 -0
  368. viva_superpowers-0.18.0/viva_superpowers/refresh_viz.py +65 -0
  369. viva_superpowers-0.18.0/viva_superpowers/report.py +301 -0
  370. viva_superpowers-0.18.0/viva_superpowers/report_linter.py +2860 -0
  371. viva_superpowers-0.18.0/viva_superpowers/rigor.py +1354 -0
  372. viva_superpowers-0.18.0/viva_superpowers/roll_up.py +111 -0
  373. viva_superpowers-0.18.0/viva_superpowers/run_params.py +337 -0
  374. viva_superpowers-0.18.0/viva_superpowers/run_registry.py +287 -0
  375. viva_superpowers-0.18.0/viva_superpowers/runner.py +235 -0
  376. viva_superpowers-0.18.0/viva_superpowers/runs_index.py +43 -0
  377. viva_superpowers-0.18.0/viva_superpowers/scaffold.py +917 -0
  378. viva_superpowers-0.18.0/viva_superpowers/schemas/composite-spec.schema.json +31 -0
  379. viva_superpowers-0.18.0/viva_superpowers/schemas/workspace.schema.json +302 -0
  380. viva_superpowers-0.18.0/viva_superpowers/seed_from_followup.py +1015 -0
  381. viva_superpowers-0.18.0/viva_superpowers/simulation_set.py +351 -0
  382. viva_superpowers-0.18.0/viva_superpowers/study_audit.py +809 -0
  383. viva_superpowers-0.18.0/viva_superpowers/study_canonicalize.py +226 -0
  384. viva_superpowers-0.18.0/viva_superpowers/study_evaluator.py +1333 -0
  385. viva_superpowers-0.18.0/viva_superpowers/study_findings.py +542 -0
  386. viva_superpowers-0.18.0/viva_superpowers/study_io.py +69 -0
  387. viva_superpowers-0.18.0/viva_superpowers/study_narrative.py +530 -0
  388. viva_superpowers-0.18.0/viva_superpowers/study_outcomes.py +256 -0
  389. viva_superpowers-0.18.0/viva_superpowers/study_status.py +339 -0
  390. viva_superpowers-0.18.0/viva_superpowers/study_verdict.py +410 -0
  391. viva_superpowers-0.18.0/viva_superpowers/study_verify.py +518 -0
  392. viva_superpowers-0.18.0/viva_superpowers/templates/publish-dashboard.yml.j2 +93 -0
  393. viva_superpowers-0.18.0/viva_superpowers/templates/publish_dashboard.sh.j2 +23 -0
  394. viva_superpowers-0.18.0/viva_superpowers/text_utils.py +27 -0
  395. viva_superpowers-0.18.0/viva_superpowers/visualization.py +393 -0
  396. viva_superpowers-0.18.0/viva_superpowers/visualizations/__init__.py +30 -0
  397. viva_superpowers-0.18.0/viva_superpowers/visualizations/distribution.py +44 -0
  398. viva_superpowers-0.18.0/viva_superpowers/visualizations/heatmap.py +44 -0
  399. viva_superpowers-0.18.0/viva_superpowers/visualizations/param_vs_observable.py +51 -0
  400. viva_superpowers-0.18.0/viva_superpowers/visualizations/phase_space.py +40 -0
  401. viva_superpowers-0.18.0/viva_superpowers/visualizations/time_series.py +91 -0
  402. viva_superpowers-0.18.0/viva_superpowers/visualizations/timeseries_from_observables.py +347 -0
  403. viva_superpowers-0.18.0/viva_superpowers/viz_freshness.py +81 -0
  404. viva_superpowers-0.18.0/viva_superpowers/workbench.py +24 -0
  405. viva_superpowers-0.18.0/viva_superpowers/workspace_catalog.py +434 -0
  406. viva_superpowers-0.18.0/viva_superpowers/workspace_paths.py +203 -0
  407. viva_superpowers-0.18.0/viva_superpowers/workspace_yaml.py +39 -0
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
3
+ "name": "viva-superpowers",
4
+ "description": "Marketplace for the viva-superpowers plugin.",
5
+ "owner": {
6
+ "name": "Vivarium Collective"
7
+ },
8
+ "plugins": [
9
+ {
10
+ "name": "viva-superpowers",
11
+ "description": "Claude Code plugin for building process-bigraph research projects: wrap simulators as composable process-bigraph units, compose them into larger models, and organize the work into research workspaces with a dashboard and HTML reports.",
12
+ "version": "0.18.0",
13
+ "source": "./",
14
+ "author": {
15
+ "name": "eagmon"
16
+ }
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "viva-superpowers",
3
+ "description": "Claude Code plugin for building process-bigraph research projects: wrap simulators as composable process-bigraph units, compose them into larger models, and organize the work into research workspaces with a dashboard and HTML reports.",
4
+ "version": "0.18.0",
5
+ "author": {
6
+ "name": "eagmon"
7
+ },
8
+ "homepage": "https://github.com/vivarium-collective/viva-superpowers",
9
+ "repository": "https://github.com/vivarium-collective/viva-superpowers",
10
+ "keywords": [
11
+ "process-bigraph",
12
+ "bigraph-schema",
13
+ "simulation",
14
+ "systems-biology",
15
+ "research-workflow"
16
+ ]
17
+ }
@@ -0,0 +1,46 @@
1
+ name: plugin-ci
2
+ on: [push, pull_request]
3
+
4
+ jobs:
5
+ test:
6
+ runs-on: ${{ matrix.os }}
7
+ strategy:
8
+ matrix:
9
+ os: [ubuntu-latest, macos-latest]
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-python@v5
13
+ with:
14
+ python-version: "3.11"
15
+ - name: Install uv
16
+ run: pip install uv
17
+ - name: Set up venv and install plugin
18
+ run: |
19
+ uv venv .venv
20
+ source .venv/bin/activate
21
+ uv pip install -e ".[dev,evaluator,processes,events]"
22
+ - name: Run L1 tests
23
+ env:
24
+ # The integration tests skip cleanly when ~/code/pbg-template isn't
25
+ # present, but in CI we want to actually run them. Clone the template
26
+ # to the expected path before pytest collects.
27
+ #
28
+ # Cross-repo drift guard: the golden scaffold snapshot mirrors
29
+ # pbg-template's tree, so an *unrelated* push to pbg-template@main
30
+ # used to silently redden pbg-superpowers@main. We instead pin the
31
+ # exact pbg-template commit the manifest was generated against,
32
+ # recorded in tests/fixtures/workspace-baseline/PBG_TEMPLATE_REF.
33
+ # Bumping the template is now an intentional PR here that updates the
34
+ # pin AND regenerates MANIFEST.txt together.
35
+ PBG_TEMPLATE_REPO: https://github.com/vivarium-collective/pbg-template.git
36
+ run: |
37
+ mkdir -p ~/code
38
+ PBG_TEMPLATE_REF="$(cat tests/fixtures/workspace-baseline/PBG_TEMPLATE_REF)"
39
+ if [ ! -d ~/code/pbg-template ]; then
40
+ git clone "$PBG_TEMPLATE_REPO" ~/code/pbg-template
41
+ fi
42
+ git -C ~/code/pbg-template fetch --depth 1 origin "$PBG_TEMPLATE_REF"
43
+ git -C ~/code/pbg-template checkout --detach "$PBG_TEMPLATE_REF"
44
+ echo "pinned pbg-template @ $(git -C ~/code/pbg-template rev-parse HEAD)"
45
+ source .venv/bin/activate
46
+ pytest -v
@@ -0,0 +1,14 @@
1
+ name: preflight
2
+
3
+ # Run the shared PyPI-installable pre-flight check on this repo's PRs + main.
4
+ # (The reusable workflow lives in this same repo; downstream framework packages
5
+ # reference it the same way via vivarium-collective/pbg-superpowers@main.)
6
+
7
+ on:
8
+ pull_request:
9
+ push:
10
+ branches: [main]
11
+
12
+ jobs:
13
+ pypi-installable:
14
+ uses: ./.github/workflows/pypi-installable.yml
@@ -0,0 +1,51 @@
1
+ name: pypi-installable
2
+
3
+ # Reusable pre-flight check shared across the framework's PUBLISHABLE packages.
4
+ #
5
+ # It catches — on every PR, long before a release tag — the class of failure that
6
+ # shipped a broken pbg-superpowers 0.14.0: a package that depends (via a
7
+ # [tool.uv.sources] git override) on something NOT published to PyPI. uv.sources
8
+ # is workspace-local and is NOT written into the built wheel, so the published
9
+ # wheel declares a bare `Requires-Dist` that downstream consumers cannot resolve.
10
+ #
11
+ # The check builds the wheel and installs it in a clean environment using PyPI
12
+ # ALONE (no uv.sources, no git). If any runtime dependency is missing from PyPI,
13
+ # the install fails here instead of at someone else's `pip install`.
14
+ #
15
+ # Use from a publishable repo with a 4-line caller:
16
+ # jobs:
17
+ # pypi-installable:
18
+ # uses: vivarium-collective/pbg-superpowers/.github/workflows/pypi-installable.yml@main
19
+
20
+ on:
21
+ workflow_call:
22
+ inputs:
23
+ python-version:
24
+ type: string
25
+ default: '3.12'
26
+
27
+ jobs:
28
+ installable:
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+
33
+ - name: Set up uv and Python
34
+ uses: astral-sh/setup-uv@v5
35
+ with:
36
+ python-version: ${{ inputs.python-version }}
37
+
38
+ - name: Build the wheel
39
+ run: uv build -o dist_preflight
40
+
41
+ - name: Install from PyPI alone (no uv.sources, no git)
42
+ run: |
43
+ python -m venv /tmp/preflight
44
+ /tmp/preflight/bin/pip install --quiet --upgrade pip
45
+ if /tmp/preflight/bin/pip install --index-url https://pypi.org/simple/ dist_preflight/*.whl 2>preflight.log; then
46
+ echo "✅ installable from PyPI alone — all runtime dependencies are published."
47
+ else
48
+ echo "----- pip output -----"; tail -25 preflight.log
49
+ echo "::error::This package is NOT installable from PyPI alone. A runtime dependency is missing from PyPI — usually a [tool.uv.sources] git dependency that has not been released. Publish that dependency to PyPI (or make it an optional extra) before this package can ship a working release."
50
+ exit 1
51
+ fi
@@ -0,0 +1,45 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ environment: release
12
+ permissions:
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Set up uv and Python
18
+ uses: astral-sh/setup-uv@v5
19
+ with:
20
+ python-version: '3.12'
21
+ enable-cache: true
22
+ cache-dependency-glob: "**/uv.lock"
23
+
24
+ - name: Verify tag matches pyproject version
25
+ run: |
26
+ tag_version="${GITHUB_REF_NAME#v}"
27
+ pyproject_version=$(uv version --short)
28
+ if [ "$tag_version" != "$pyproject_version" ]; then
29
+ echo "Tag version ($tag_version) does not match pyproject.toml version ($pyproject_version)"
30
+ exit 1
31
+ fi
32
+
33
+ - name: Build distributions (viva-superpowers + pbg-superpowers shim)
34
+ run: |
35
+ uv build --out-dir dist # the real package: viva-superpowers
36
+ uv build shim --out-dir dist # deprecated-alias shim: pbg-superpowers
37
+ ls -1 dist
38
+
39
+ # Publishes every dist in dist/ — viva-superpowers AND the pbg-superpowers
40
+ # shim. PYPI_API_TOKEN must be account-scoped (or cover both projects);
41
+ # viva-superpowers is a new project on its first release.
42
+ - name: Publish to PyPI
43
+ uses: pypa/gh-action-pypi-publish@release/v1
44
+ with:
45
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,14 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.egg-info/
4
+ dist/
5
+ build/
6
+ *.pyc
7
+ .pytest_cache/
8
+ .coverage
9
+ htmlcov/
10
+
11
+ # IDE + local workspace runtime state
12
+ .idea/
13
+ .pbg/
14
+ .superpowers/
@@ -0,0 +1,80 @@
1
+ # pbg-superpowers — agent entry point
2
+
3
+ This is the Claude Code plugin that drives the [vivarium-workbench](https://github.com/vivarium-collective/vivarium-workbench) — a web UI for building and running process-bigraph simulation workspaces. Skills in this plugin read from the dashboard, write to it, and fill it out with content generated from user prompts.
4
+
5
+ ## Start here
6
+
7
+ 1. **Concept map: [`docs/concepts/vivarium-workbench-model.md`](docs/concepts/vivarium-workbench-model.md)** — canonical vocabulary (Workspace · Study · Baseline · Variant · Intervention · Run · Visualization), the 8-section canonical `study.yaml` (Pass 7), Decide-phase follow-up proposals (Pass 8), on-disk shapes, the dashboard API surface, and which skill controls which concept. **Read this before invoking any Study/Baseline/Variant skill.**
8
+ 2. **Conventions: [`docs/conventions/`](docs/conventions/)** — authoritative specs for composites, composite generators, discovery, distribution, visualizations, and bespoke runner scripts.
9
+ 3. **Skills catalog: [`docs/skills.md`](docs/skills.md)** — all 16 user-invocable `/viva-*` skills with one-line descriptions, plus the v0.8→v0.9 migration table.
10
+ 4. **README: [`README.md`](README.md)** — install + quick start for humans.
11
+
12
+ ## Working preconditions
13
+
14
+ Every skill that touches the dashboard requires:
15
+ 1. A workspace (a directory with `workspace.yaml` + `pbg_<pkg>/`). Create via `/viva-workspace`.
16
+ 2. The dashboard server running. Start via `/viva-server start`. Skills read `.pbg/server/server-info` for the URL.
17
+
18
+ If either is missing, the skill should fail with a clear actionable error pointing the user at the missing precondition.
19
+
20
+ ## Skill design conventions
21
+
22
+ - **Skill names** are kebab-case under `skills/<name>/SKILL.md`. Each skill is one file with YAML front-matter (`name`, `description`, `allowed-tools`, optionally `user-invocable: true` and `argument-hint`).
23
+ - **Vocabulary:** use **Study**, not "Investigation". The legacy term is kept only in on-disk v2 paths (`investigations/<name>/spec.yaml`) and one or two API body keys for back-compat.
24
+ - **API calls:** prefer `/api/study-*` endpoints over the v2 `/api/investigation-*` aliases. New skill code targets v3.
25
+ - **Body keys:** standardize on `study:` (not `investigation:`, not `name:` when the body has a separate entry-name field). The server's `_study_name_from_body` accepts all three but new code should send `study:`.
26
+ - **Subcommands** (for skills like `/viva-study`) use kebab-case verbs: `new`, `set-objective`, `baseline-add`, `variant-set-params`, `run-baseline`, `propose-followup`, `seed-from-followup`, etc. The `/viva-study` subcommand surface is organized by lifecycle phase (Design → Build → Simulate → Evaluate → Decide).
27
+
28
+ ## Editing rules
29
+
30
+ - **Don't add features the plan doesn't call for.** Each skill has a tight scope; keep it.
31
+ - **One change per commit.** Rebasing/squashing later is fine; cohesive diffs are better than big PRs.
32
+ - **Tests live in `tests/`.** Most skills don't have unit tests (they're shell + curl); the Python package `viva_superpowers/` does. Run `pytest -q` before committing Python changes.
33
+ - **Don't commit secrets, credentials, or workspace data** (no `.pbg/` state, no `workspace.yaml` from real workspaces).
34
+ - **Cleanup PRs must spare `notes/` and `references/notes/` in workspaces.** Those directories hold the field records (friction logs, walkthroughs, agent transcripts, per-paper notes) that feed the next round of infrastructure improvements. A `chore(cleanup): …` PR that deletes anything under those paths is suspect — surface the deletion to the user and ask for per-file confirmation. See the scaffold's `notes/README.md` for the convention.
35
+
36
+ ## Common operations cheat-sheet
37
+
38
+ | Task | Command |
39
+ |---|---|
40
+ | Survey the workspace | `/viva-catalog` (or `/viva-catalog list`) |
41
+ | Open dashboard | `/viva-server start` (then visit the URL) |
42
+ | Create a study | `/viva-study new <composite-id>` |
43
+ | Add a baseline composite to a study | `/viva-study baseline-add <study> --name <n> --composite <id>` |
44
+ | Add a variant of a baseline composite | `/viva-study variant-add <study> --name <n> --base-composite <baseline-name> --params '<json>'` |
45
+ | Run a baseline composite | `/viva-study run-baseline <study> [--composite <name>]` |
46
+ | Run a variant | `/viva-study run-variant <study> --variant <name>` |
47
+ | Run a bespoke runner script | `/viva-study run-script <study> [--entry <name>]` (reads `canonical_runs:` block) |
48
+ | Run all studies in an investigation | `/viva-investigation run <inv-slug> [--studies a,b] [--entry <name>]` (orchestrates `run-script` across members) |
49
+ | Wipe runtime output for a from-scratch rerun | `/viva-study clean <study> [--dry-run] [--include-out-paths]` (refuses to touch git-tracked files) |
50
+ | Record a textual intervention | `/viva-study intervention-add <study> --name <n> --description '<text>'` |
51
+ | Add a visualization | `/viva-viz <study> <viz-name> '<description>'` |
52
+ | Render a study report | `/viva-report <study>` |
53
+ | Run a composite directly (no Study) | `/viva-run <composite-id> [--steps N]` |
54
+ | Propose a Decide-phase follow-up study | `/viva-study propose-followup <study> --id <slug> --title '<t>' --motivation '<m>'` |
55
+ | Seed a new study from a follow-up proposal | `/viva-study seed-from-followup <parent-study> <proposal-id>` |
56
+
57
+ For the full set of skill commands, see [`docs/concepts/vivarium-workbench-model.md`](docs/concepts/vivarium-workbench-model.md#skill--concept-map).
58
+
59
+ ## Repo layout
60
+
61
+ ```
62
+ pbg-superpowers/
63
+ ├── .claude-plugin/ # plugin.json + marketplace.json (manifest format)
64
+ ├── viva_superpowers/ # Python package (schemas, visualizations, helpers)
65
+ ├── server/ # the report-mirror server (NOT the dashboard — see pbg-server skill)
66
+ ├── skills/ # user-invocable `/viva-*` skills + `/viva-init` (machine setup) + `/viva-suggest` (internal dashboard callback)
67
+ ├── templates/ # Jinja templates for scaffolding workspaces + models
68
+ ├── tests/ # pytest suite for the Python package
69
+ ├── docs/
70
+ │ ├── concepts/ # canonical data-model docs (THIS ENTRY POINT)
71
+ │ ├── conventions/ # authoritative spec conventions
72
+ │ └── references/ # PDF references (papers)
73
+ └── scripts/ # ops scripts (audit-pbg-repo, update-scaffold-snapshot)
74
+ ```
75
+
76
+ ## When in doubt
77
+
78
+ - **What does this concept mean?** → `docs/concepts/vivarium-workbench-model.md`.
79
+ - **How is a composite/generator/etc. structured?** → `docs/conventions/`.
80
+ - **What's the right endpoint to call?** → the concept map's API tables.
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: viva-superpowers
3
+ Version: 0.18.0
4
+ Summary: Plugin Python helpers for the viva-superpowers skills (was pbg-superpowers)
5
+ License-File: LICENSE
6
+ Requires-Python: >=3.11
7
+ Requires-Dist: bigraph-schema>=0.0.60
8
+ Requires-Dist: click>=8.1
9
+ Requires-Dist: jinja2>=3.1
10
+ Requires-Dist: jsonschema[format-nongpl]>=4.21
11
+ Requires-Dist: pbg-emitters
12
+ Requires-Dist: process-bigraph>=0.0.66
13
+ Requires-Dist: pypdf>=4.0
14
+ Requires-Dist: pyyaml>=6.0
15
+ Requires-Dist: ruamel-yaml>=0.18
16
+ Provides-Extra: dev
17
+ Requires-Dist: pytest-cov>=4.1; extra == 'dev'
18
+ Requires-Dist: pytest-timeout>=2.1; extra == 'dev'
19
+ Requires-Dist: pytest>=7.4; extra == 'dev'
20
+ Provides-Extra: evaluator
21
+ Requires-Dist: pbg-emitters[parquet]; extra == 'evaluator'
22
+ Provides-Extra: events
23
+ Requires-Dist: investigation-contracts; extra == 'events'
24
+ Provides-Extra: processes
25
+ Requires-Dist: pbg-basic-processes; extra == 'processes'
@@ -0,0 +1,122 @@
1
+ # viva-superpowers
2
+
3
+ > _Renamed from **pbg-superpowers** (pbg→viva rebrand). Old repo/marketplace paths redirect; `/pbg-*` skills stay as deprecated aliases; the PyPI dist is still `pbg-superpowers` for now._
4
+
5
+ A Claude Code plugin for building **multiscale models in the Process Bigraph framework**. Ships 16 `/viva-*` skills that scaffold the mechanical parts of compositional modeling — wrapping a simulator as a typed Process, composing Processes into a Composite, organizing the work as a reproducible workspace, and managing studies + runs + visualizations through a local dashboard.
6
+
7
+ For **computational biologists** who want their models to be reusable, recombinable, and runnable by others — without writing the registry, packaging, schema, and report boilerplate by hand. Framework background: [Agmon & Spangler (2026)](docs/references/papers/agmon-spangler-2026-process-bigraphs-main.pdf).
8
+
9
+ ## Install
10
+
11
+ Two parts — the Claude Code plugin (the skills) and the Python package the skills call into. Both are required.
12
+
13
+ # 1. Plugin
14
+ /plugin marketplace add vivarium-collective/viva-superpowers
15
+ /plugin install viva-superpowers
16
+ /reload-plugins
17
+
18
+ # 2. Python package
19
+ pip install pbg-superpowers
20
+
21
+ Verify with `/help` — the `/viva-*` skills should be listed. For local development, point Claude at a working tree with `claude --plugin-dir /path/to/viva-superpowers` and `pip install -e .`.
22
+
23
+ **investigation-contracts** is not yet on PyPI; install it editable from its repo until published: `pip install -e /path/to/investigation-contracts`.
24
+
25
+ ## Getting Started
26
+
27
+ Two supported paths. Both end at the same dashboard over the same workspace files — choose based on whether you want Claude in the loop.
28
+
29
+ ### Path A — Dashboard only (no AI)
30
+
31
+ For testers evaluating the UI against an existing or scaffold-only workspace. No Claude Code required.
32
+
33
+ pip install vivarium-workbench
34
+ # scaffold a workspace from pbg-template (GitHub "Use this template" or git clone)
35
+ bash use-this-template-init.sh
36
+ vivarium-workbench serve --workspace .
37
+
38
+ Open the printed URL and browse the side-rail tabs — Workspace, Registry, Composites, Investigations, Visualizations, GitHub Branches, Simulations DB (the canonical set is owned by the [vivarium-workbench](https://github.com/vivarium-collective/vivarium-workbench); see `/viva-workbench`). Create studies and investigations directly through the UI. Scaffolding details in the [pbg-template](https://github.com/vivarium-collective/pbg-template) README; serving details (ports, multi-workspace) in the [vivarium-workbench](https://github.com/vivarium-collective/vivarium-workbench) README.
39
+
40
+ ### Path B — Dashboard + AI agent (viva-superpowers integration)
41
+
42
+ The primary path for this repo. You drive the workspace by talking to Claude; Claude writes the typed Python, YAML, and visualization code; the dashboard reflects state in real time.
43
+
44
+ **How to install**
45
+
46
+ 1. Install [Claude Code](https://claude.com/claude-code) if you haven't already.
47
+ 2. From inside Claude Code:
48
+
49
+ /plugin marketplace add vivarium-collective/viva-superpowers
50
+ /plugin install viva-superpowers
51
+ /reload-plugins
52
+
53
+ 3. Install the Python package the skills call:
54
+
55
+ pip install pbg-superpowers
56
+
57
+ Verify with `/help` — the `/viva-*` skills should be listed.
58
+
59
+ **How to get started**
60
+
61
+ 1. Scaffold a workspace (with an upstream model repo, or standalone if you omit `--upstream`):
62
+
63
+ /viva-workspace my-project --upstream <owner/repo>
64
+ cd my-project
65
+
66
+ 2. Boot the dashboard — Claude will print the local URL:
67
+
68
+ /viva-server start
69
+
70
+ 3. Start authoring in natural language. Ask Claude to wrap a simulator (`/viva-expert <tool>` for a sibling package, or `/viva-expert --lightweight <tool>` in-workspace), compose a model (`/viva-expert <name> <tools…>`), or design a study (`/viva-study new`).
71
+
72
+ **What to expect**
73
+
74
+ You interact in natural language — you don't write the boilerplate. Claude authors the typed Process/Composite Python, the study YAML, the Visualization Step, and the tests, while you steer at the level of "wrap this solver," "compose these two," "design a study around this question." Every dashboard mutation Claude makes lands as a commit on your active workstream branch, so you get a full git audit trail and can review or revert any change. You can fall back to the dashboard UI for any of these tasks at any time — both paths share the same files. A common first session: ask Claude to wrap a tool you already know (an ODE solver, a COBRA model, a custom integrator) → run a quick simulation → ask it to draft a Study around a question you care about → it proposes follow-up Studies after the first one completes. The overall loop is **Design → Build → Simulate → Evaluate → Decide**, and Claude helps at each phase.
75
+
76
+ Full skill catalog: [`docs/skills.md`](docs/skills.md).
77
+
78
+ ## Concepts
79
+
80
+ - **Workspace IS the model.** A git repo containing the model's Python package, tests, references, decisions log, and a `workspace.yaml`. The unit of reproducibility — clone a workspace, run it, get the same answer.
81
+ - **Study.** A self-contained research unit — purpose, baseline composite(s), simulations, readouts, behavior tests, conclusion — moving through five phases (Design → Build → Simulate → Evaluate → Decide). Each phase has a distinct deliverable. See [`docs/concepts/vivarium-workbench-model.md`](docs/concepts/vivarium-workbench-model.md).
82
+ - **Composite.** A typed graph of Processes wired to shared stores; itself a Process, so models compose recursively. JSON-serializable, so composites can be stored, exchanged, and executed across environments. See [`docs/conventions/composites.md`](docs/conventions/composites.md).
83
+ - **Visualization.** A `Step` subclass auto-discovered alongside Processes; wireable into Composites and attachable to Studies. Generated from a natural-language description via `/viva-viz`. See [`docs/conventions/visualizations.md`](docs/conventions/visualizations.md).
84
+
85
+ ### Workspace vs composite-only repo
86
+
87
+ Two surfaces commonly get confused when a new user says "make this a viva-superpowers repo":
88
+
89
+ | Shape | Has `workspace.yaml`? | What lives in it | Driven by |
90
+ |---|---|---|---|
91
+ | **Workspace** | yes | `studies/`, `investigations/`, `notes/`, `references/`, `scripts/serve.sh`, plus the model's Python package | the vivarium-workbench + the `/viva-*` skills |
92
+ | **Composite-only repo** | no | a single Process or Composite package (e.g. `pbg-mem3dg`, `pbg-readdy`) — `pyproject.toml`, `pbg_<slug>/`, `tests/`, `demo/` | imported by one or more workspaces via `workspace.yaml.imports` |
93
+
94
+ A workspace can wrap or live beside one or more composite-only repos. Use `/viva-workspace --in-place` to promote an existing composite-only repo into a workspace branch (adds the workspace artifacts on top without clobbering the composite's existing files).
95
+
96
+ ## Skills
97
+
98
+ 12 skills, grouped by purpose (wrap & compose · workspace lifecycle · catalog · run & study). See [`docs/skills.md`](docs/skills.md) for the full catalog.
99
+
100
+ ## Companion repos
101
+
102
+ - **[pbg-template](https://github.com/vivarium-collective/pbg-template)** — the workspace scaffold cloned by `/viva-workspace`. Use the template directly if you want a workspace without the Claude Code plugin.
103
+ - **[vivarium-workbench](https://github.com/vivarium-collective/vivarium-workbench)** — the local web UI the skills drive. Browse composites, run studies, render visualizations.
104
+
105
+ ## Reference
106
+
107
+ - [`CLAUDE.md`](CLAUDE.md) — agent entry point.
108
+ - [`docs/concepts/`](docs/concepts/) — canonical data-model and terminology.
109
+ - [`docs/conventions/`](docs/conventions/) — authoritative specs for composites, generators, discovery, distribution, visualizations.
110
+ - [`docs/references/papers/`](docs/references/papers/) — the Process-Bigraph paper + supplement.
111
+
112
+ ## Tests
113
+
114
+ Two levels: `pytest -q` from this repo for plugin internals, and `pytest tests/` from a scaffolded workspace for workspace-level checks. CI runs both — `.github/workflows/plugin-ci.yml` here, and `workspace-ci.yml` shipped with each new workspace via [pbg-template](https://github.com/vivarium-collective/pbg-template).
115
+
116
+ ## Status
117
+
118
+ In active beta. APIs may change before 1.0.
119
+
120
+ ## License
121
+
122
+ MIT. See [`LICENSE`](LICENSE).