@proflandrigan/shards 1.1.0
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.
- package/README.md +475 -0
- package/package.json +37 -0
- package/src/agents/academic.md +276 -0
- package/src/agents/ai-engineer.md +377 -0
- package/src/agents/analytics-engineer.md +364 -0
- package/src/agents/applied-ml-scientist.md +410 -0
- package/src/agents/backend-engineer.md +255 -0
- package/src/agents/bi-engineer.md +333 -0
- package/src/agents/data-analyst.md +343 -0
- package/src/agents/data-engineer.md +260 -0
- package/src/agents/data-modeller.md +386 -0
- package/src/agents/data-scientist.md +366 -0
- package/src/agents/deep-learning-engineer.md +389 -0
- package/src/agents/ml-engineer.md +424 -0
- package/src/agents/mlops-engineer.md +339 -0
- package/src/agents/researcher.md +187 -0
- package/src/agents/specific_instructions/academic/critical_review.md +263 -0
- package/src/agents/specific_instructions/academic/report.md +113 -0
- package/src/agents/specific_instructions/ai_engineer/advise.md +162 -0
- package/src/agents/specific_instructions/ai_engineer/bi_engineer_handoff.md +86 -0
- package/src/agents/specific_instructions/ai_engineer/experiment.md +471 -0
- package/src/agents/specific_instructions/ai_engineer/experiment_ui_mode.md +44 -0
- package/src/agents/specific_instructions/ai_engineer/phases/index.md +45 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-1.md +55 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-2.md +86 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-3.md +96 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-4.md +138 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-5.md +157 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-6.md +196 -0
- package/src/agents/specific_instructions/ai_engineer/phases/phase-7.md +313 -0
- package/src/agents/specific_instructions/ai_engineer/phases.md +1011 -0
- package/src/agents/specific_instructions/ai_engineer/prompt_lab.md +161 -0
- package/src/agents/specific_instructions/ai_engineer/prompt_lab_ui_mode.md +28 -0
- package/src/agents/specific_instructions/ai_engineer/research.md +393 -0
- package/src/agents/specific_instructions/ai_engineer/research_ui_mode.md +66 -0
- package/src/agents/specific_instructions/ai_engineer/review.md +159 -0
- package/src/agents/specific_instructions/ai_engineer/validation_checklist.md +182 -0
- package/src/agents/specific_instructions/analytics_engineer/advise.md +155 -0
- package/src/agents/specific_instructions/analytics_engineer/bi_engineer_handoff.md +91 -0
- package/src/agents/specific_instructions/analytics_engineer/data_analyst_handoff.md +84 -0
- package/src/agents/specific_instructions/analytics_engineer/deep_phases.md +818 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/index.md +24 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-1.md +77 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-2.md +106 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-3.md +93 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-4.md +79 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-5.md +61 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-6.md +45 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-7.md +235 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_deep/phase-8.md +221 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_quick/index.md +19 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_quick/phase-1.md +47 -0
- package/src/agents/specific_instructions/analytics_engineer/phases_quick/phase-2.md +78 -0
- package/src/agents/specific_instructions/analytics_engineer/quick_phases.md +112 -0
- package/src/agents/specific_instructions/analytics_engineer/review.md +167 -0
- package/src/agents/specific_instructions/analytics_engineer/service_mode.md +369 -0
- package/src/agents/specific_instructions/analytics_engineer/ui_mode.md +45 -0
- package/src/agents/specific_instructions/analytics_engineer/update.md +162 -0
- package/src/agents/specific_instructions/analytics_engineer/validation_checklist.md +121 -0
- package/src/agents/specific_instructions/applied_ml_scientist/advise.md +143 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/index.md +21 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/phase-1.md +51 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/phase-2.md +66 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/phase-3.md +113 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/phase-4.md +104 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases/phase-5.md +156 -0
- package/src/agents/specific_instructions/applied_ml_scientist/phases.md +428 -0
- package/src/agents/specific_instructions/applied_ml_scientist/research.md +379 -0
- package/src/agents/specific_instructions/applied_ml_scientist/review.md +142 -0
- package/src/agents/specific_instructions/applied_ml_scientist/validation_checklist.md +136 -0
- package/src/agents/specific_instructions/backend_engineer/clean.md +149 -0
- package/src/agents/specific_instructions/backend_engineer/review.md +91 -0
- package/src/agents/specific_instructions/backend_engineer/review_checklist.md +54 -0
- package/src/agents/specific_instructions/backend_engineer/service_mode.md +67 -0
- package/src/agents/specific_instructions/bi_engineer/advise.md +137 -0
- package/src/agents/specific_instructions/bi_engineer/data_analyst_handoff.md +77 -0
- package/src/agents/specific_instructions/bi_engineer/incoming_handoff.md +45 -0
- package/src/agents/specific_instructions/bi_engineer/phases/index.md +20 -0
- package/src/agents/specific_instructions/bi_engineer/phases/phase-1.md +164 -0
- package/src/agents/specific_instructions/bi_engineer/phases/phase-2.md +92 -0
- package/src/agents/specific_instructions/bi_engineer/phases/phase-3.md +121 -0
- package/src/agents/specific_instructions/bi_engineer/phases/phase-4.md +106 -0
- package/src/agents/specific_instructions/bi_engineer/phases.md +451 -0
- package/src/agents/specific_instructions/bi_engineer/review.md +166 -0
- package/src/agents/specific_instructions/bi_engineer/update.md +147 -0
- package/src/agents/specific_instructions/bi_engineer/validation_checklist.md +124 -0
- package/src/agents/specific_instructions/data_analyst/advise.md +138 -0
- package/src/agents/specific_instructions/data_analyst/explain.md +221 -0
- package/src/agents/specific_instructions/data_analyst/incoming_handoff.md +40 -0
- package/src/agents/specific_instructions/data_analyst/phases/index.md +20 -0
- package/src/agents/specific_instructions/data_analyst/phases/phase-1.md +159 -0
- package/src/agents/specific_instructions/data_analyst/phases/phase-2.md +112 -0
- package/src/agents/specific_instructions/data_analyst/phases/phase-3.md +265 -0
- package/src/agents/specific_instructions/data_analyst/phases/phase-4.md +100 -0
- package/src/agents/specific_instructions/data_analyst/phases.md +501 -0
- package/src/agents/specific_instructions/data_analyst/review.md +138 -0
- package/src/agents/specific_instructions/data_analyst/ui_mode.md +26 -0
- package/src/agents/specific_instructions/data_analyst/update.md +144 -0
- package/src/agents/specific_instructions/data_analyst/validation_checklist.md +95 -0
- package/src/agents/specific_instructions/data_engineer/advise.md +137 -0
- package/src/agents/specific_instructions/data_engineer/phases.md +466 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/index.md +23 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-1.md +49 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-2.md +93 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-3.md +55 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-4.md +48 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-5.md +40 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-6.md +102 -0
- package/src/agents/specific_instructions/data_engineer/phases_deep/phase-7.md +87 -0
- package/src/agents/specific_instructions/data_engineer/phases_quick/index.md +19 -0
- package/src/agents/specific_instructions/data_engineer/phases_quick/phase-1.md +45 -0
- package/src/agents/specific_instructions/data_engineer/phases_quick/phase-2.md +54 -0
- package/src/agents/specific_instructions/data_engineer/review.md +135 -0
- package/src/agents/specific_instructions/data_engineer/validation_checklist.md +136 -0
- package/src/agents/specific_instructions/data_modeller/advise.md +137 -0
- package/src/agents/specific_instructions/data_modeller/phases.md +581 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/index.md +23 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-1.md +52 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-2.md +113 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-3.md +47 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-4.md +51 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-5.md +45 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-6.md +105 -0
- package/src/agents/specific_instructions/data_modeller/phases_deep/phase-7.md +136 -0
- package/src/agents/specific_instructions/data_modeller/phases_quick/index.md +19 -0
- package/src/agents/specific_instructions/data_modeller/phases_quick/phase-1.md +47 -0
- package/src/agents/specific_instructions/data_modeller/phases_quick/phase-2.md +65 -0
- package/src/agents/specific_instructions/data_modeller/review.md +141 -0
- package/src/agents/specific_instructions/data_modeller/service_mode.md +218 -0
- package/src/agents/specific_instructions/data_modeller/validation_checklist.md +125 -0
- package/src/agents/specific_instructions/data_scientist/advise.md +158 -0
- package/src/agents/specific_instructions/data_scientist/bi_engineer_handoff.md +63 -0
- package/src/agents/specific_instructions/data_scientist/experiment.md +482 -0
- package/src/agents/specific_instructions/data_scientist/experiment_ui_mode.md +44 -0
- package/src/agents/specific_instructions/data_scientist/explain.md +247 -0
- package/src/agents/specific_instructions/data_scientist/greenfield_data.md +35 -0
- package/src/agents/specific_instructions/data_scientist/ml_engineer_handoff.md +52 -0
- package/src/agents/specific_instructions/data_scientist/notebook_walkthrough.md +76 -0
- package/src/agents/specific_instructions/data_scientist/phases/index.md +24 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-1.md +45 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-2.md +67 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-3.md +89 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-4.md +143 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-5.md +71 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-6.md +239 -0
- package/src/agents/specific_instructions/data_scientist/phases/phase-7.md +207 -0
- package/src/agents/specific_instructions/data_scientist/phases.md +651 -0
- package/src/agents/specific_instructions/data_scientist/research.md +345 -0
- package/src/agents/specific_instructions/data_scientist/research_ui_mode.md +52 -0
- package/src/agents/specific_instructions/data_scientist/review.md +136 -0
- package/src/agents/specific_instructions/data_scientist/service_mode.md +247 -0
- package/src/agents/specific_instructions/data_scientist/validation_checklist.md +183 -0
- package/src/agents/specific_instructions/deep_learning_engineer/advise.md +145 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/index.md +21 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/phase-1.md +74 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/phase-2.md +98 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/phase-3.md +76 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/phase-4.md +128 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases/phase-5.md +292 -0
- package/src/agents/specific_instructions/deep_learning_engineer/phases.md +567 -0
- package/src/agents/specific_instructions/deep_learning_engineer/research.md +389 -0
- package/src/agents/specific_instructions/deep_learning_engineer/review.md +155 -0
- package/src/agents/specific_instructions/deep_learning_engineer/validation_checklist.md +147 -0
- package/src/agents/specific_instructions/ml_engineer/advise.md +174 -0
- package/src/agents/specific_instructions/ml_engineer/bi_engineer_handoff.md +71 -0
- package/src/agents/specific_instructions/ml_engineer/experiment.md +474 -0
- package/src/agents/specific_instructions/ml_engineer/experiment_ui_mode.md +44 -0
- package/src/agents/specific_instructions/ml_engineer/notebook_walkthrough.md +75 -0
- package/src/agents/specific_instructions/ml_engineer/phases/index.md +25 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-1.md +49 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-2.md +75 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-3.md +124 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-4.md +279 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-5.md +160 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-6-5.md +170 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-6.md +295 -0
- package/src/agents/specific_instructions/ml_engineer/phases/phase-7.md +337 -0
- package/src/agents/specific_instructions/ml_engineer/phases.md +1068 -0
- package/src/agents/specific_instructions/ml_engineer/research.md +437 -0
- package/src/agents/specific_instructions/ml_engineer/research_ui_mode.md +71 -0
- package/src/agents/specific_instructions/ml_engineer/review.md +187 -0
- package/src/agents/specific_instructions/ml_engineer/service_mode.md +273 -0
- package/src/agents/specific_instructions/ml_engineer/validation_checklist.md +185 -0
- package/src/agents/specific_instructions/mlops_engineer/advise.md +139 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/index.md +23 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-1.md +52 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-2.md +86 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-3.md +105 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-4.md +128 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-5.md +106 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-6.md +128 -0
- package/src/agents/specific_instructions/mlops_engineer/phases/phase-7.md +144 -0
- package/src/agents/specific_instructions/mlops_engineer/phases.md +671 -0
- package/src/agents/specific_instructions/mlops_engineer/review.md +164 -0
- package/src/agents/specific_instructions/mlops_engineer/service_mode.md +81 -0
- package/src/agents/specific_instructions/mlops_engineer/validation_checklist.md +151 -0
- package/src/agents/specific_instructions/researcher/critical_review.md +292 -0
- package/src/agents/specific_instructions/researcher/review_checklist.md +67 -0
- package/src/agents/specific_instructions/researcher/service_mode.md +224 -0
- package/src/agents/specific_instructions/shared/auto_verify_mode.md +141 -0
- package/src/agents/specific_instructions/shared/autonomous_research.md +1289 -0
- package/src/agents/specific_instructions/shared/behavioral_rules.md +36 -0
- package/src/agents/specific_instructions/shared/diverge_protocol.md +387 -0
- package/src/agents/specific_instructions/shared/engineering_guidelines.md +136 -0
- package/src/agents/specific_instructions/shared/experiment_versioning.md +184 -0
- package/src/agents/specific_instructions/shared/goal_mode.md +187 -0
- package/src/agents/specific_instructions/shared/incremental_testing.md +139 -0
- package/src/agents/specific_instructions/shared/intent_discovery.md +223 -0
- package/src/agents/specific_instructions/shared/join_path_protocol.md +168 -0
- package/src/agents/specific_instructions/shared/knowledge_checkpoint.md +83 -0
- package/src/agents/specific_instructions/shared/knowledge_harvest.md +220 -0
- package/src/agents/specific_instructions/shared/knowledge_retrieval.md +100 -0
- package/src/agents/specific_instructions/shared/notebook_walkthrough_protocol.md +367 -0
- package/src/agents/specific_instructions/shared/reviewer_verdict_protocol.md +74 -0
- package/src/agents/specific_instructions/shared/swarm_protocol.md +97 -0
- package/src/agents/specific_instructions/shared/validation_protocol.md +139 -0
- package/src/agents/specific_instructions/syn/arbiter.md +140 -0
- package/src/agents/specific_instructions/syn/brainstorm.md +550 -0
- package/src/agents/specific_instructions/syn/code_review.md +232 -0
- package/src/agents/specific_instructions/syn/diff.md +239 -0
- package/src/agents/specific_instructions/syn/final_review.md +65 -0
- package/src/agents/specific_instructions/syn/fixer.md +240 -0
- package/src/agents/specific_instructions/syn/free_form.md +130 -0
- package/src/agents/specific_instructions/syn/knowledge.md +468 -0
- package/src/agents/specific_instructions/syn/notebook_walkthrough.md +78 -0
- package/src/agents/specific_instructions/syn/panel_review.md +634 -0
- package/src/agents/specific_instructions/syn/pm.md +453 -0
- package/src/agents/specific_instructions/syn/pr_review.md +255 -0
- package/src/agents/specific_instructions/syn/slides.md +417 -0
- package/src/agents/syn.md +729 -0
- package/src/commands/academic.md +41 -0
- package/src/commands/ai-engineer.md +45 -0
- package/src/commands/analytics-engineer.md +48 -0
- package/src/commands/applied-ml-scientist.md +45 -0
- package/src/commands/backend-engineer.md +35 -0
- package/src/commands/bi-engineer.md +40 -0
- package/src/commands/brainstorm.md +24 -0
- package/src/commands/data-analyst.md +38 -0
- package/src/commands/data-engineer.md +37 -0
- package/src/commands/data-modeller.md +38 -0
- package/src/commands/data-scientist.md +38 -0
- package/src/commands/deep-learning-engineer.md +47 -0
- package/src/commands/end.md +49 -0
- package/src/commands/knowledge.md +24 -0
- package/src/commands/ml-engineer.md +42 -0
- package/src/commands/mlops-engineer.md +47 -0
- package/src/commands/notebook-walkthrough.md +58 -0
- package/src/commands/researcher.md +40 -0
- package/src/commands/resume.md +57 -0
- package/src/commands/review-pr.md +26 -0
- package/src/commands/shards-guide.md +41 -0
- package/src/commands/shards-ui.md +32 -0
- package/src/commands/shards.md +41 -0
- package/src/docs/01-getting-started/concepts.md +109 -0
- package/src/docs/01-getting-started/first-session.md +79 -0
- package/src/docs/01-getting-started/install.md +61 -0
- package/src/docs/02-agents/academic.md +71 -0
- package/src/docs/02-agents/ai-engineer.md +78 -0
- package/src/docs/02-agents/analytics-engineer.md +58 -0
- package/src/docs/02-agents/applied-ml-scientist.md +59 -0
- package/src/docs/02-agents/backend-engineer.md +58 -0
- package/src/docs/02-agents/bi-engineer.md +65 -0
- package/src/docs/02-agents/data-analyst.md +67 -0
- package/src/docs/02-agents/data-engineer.md +57 -0
- package/src/docs/02-agents/data-modeller.md +51 -0
- package/src/docs/02-agents/data-scientist.md +78 -0
- package/src/docs/02-agents/deep-learning-engineer.md +64 -0
- package/src/docs/02-agents/ml-engineer.md +80 -0
- package/src/docs/02-agents/mlops-engineer.md +59 -0
- package/src/docs/02-agents/overview.md +62 -0
- package/src/docs/02-agents/researcher.md +73 -0
- package/src/docs/02-agents/syn.md +88 -0
- package/src/docs/03-protocols/auto-verify.md +82 -0
- package/src/docs/03-protocols/autonomous-research.md +59 -0
- package/src/docs/03-protocols/behavioral-rules.md +35 -0
- package/src/docs/03-protocols/diverge.md +50 -0
- package/src/docs/03-protocols/engineering-guidelines.md +56 -0
- package/src/docs/03-protocols/experiment-versioning.md +38 -0
- package/src/docs/03-protocols/gate-pattern.md +65 -0
- package/src/docs/03-protocols/incremental-testing.md +68 -0
- package/src/docs/03-protocols/join-path.md +46 -0
- package/src/docs/03-protocols/knowledge-ledger.md +70 -0
- package/src/docs/03-protocols/reviewer-verdicts.md +39 -0
- package/src/docs/03-protocols/swarm.md +40 -0
- package/src/docs/03-protocols/validation.md +174 -0
- package/src/docs/04-ui/activity-bar.md +70 -0
- package/src/docs/04-ui/chat-pane.md +80 -0
- package/src/docs/04-ui/code-intel.md +62 -0
- package/src/docs/04-ui/file-editing.md +61 -0
- package/src/docs/04-ui/git.md +54 -0
- package/src/docs/04-ui/keybindings.md +79 -0
- package/src/docs/04-ui/knowledge-map.md +76 -0
- package/src/docs/04-ui/overview.md +93 -0
- package/src/docs/04-ui/panels.md +49 -0
- package/src/docs/04-ui/pinboard-selection.md +66 -0
- package/src/docs/04-ui/quick-open-palette.md +56 -0
- package/src/docs/04-ui/sessions.md +81 -0
- package/src/docs/04-ui/settings-permissions.md +56 -0
- package/src/docs/05-commands/reference.md +59 -0
- package/src/docs/06-outputs/directory-map.md +116 -0
- package/src/docs/07-workflows/ai-eval-first.md +57 -0
- package/src/docs/07-workflows/deep-study-to-production.md +76 -0
- package/src/docs/07-workflows/diverge-exploration.md +77 -0
- package/src/docs/07-workflows/quick-analysis.md +45 -0
- package/src/docs/08-integrations/claude-code-auto-mode.md +191 -0
- package/src/docs/08-integrations/google-slides.md +175 -0
- package/src/docs/README.md +30 -0
- package/src/docs/manifest.json +108 -0
- package/src/templates/analysis-template.md +20 -0
- package/src/templates/branch-report.md +46 -0
- package/src/templates/diff-report.md +88 -0
- package/src/templates/knowledge-index.md +7 -0
- package/src/templates/model-card-schema.json +186 -0
- package/src/templates/model-card-schema.md +88 -0
- package/src/templates/model-card.md +124 -0
- package/src/templates/project-plan.md +47 -0
- package/src/templates/project-specs.md +81 -0
- package/src/templates/report-template.md +43 -0
- package/src/templates/study-template.md +25 -0
- package/src/ui/cc-readonly.js +181 -0
- package/src/ui/chat-session.js +466 -0
- package/src/ui/css/base.css +136 -0
- package/src/ui/css/brainstorm.css +525 -0
- package/src/ui/css/chat.css +1405 -0
- package/src/ui/css/editor.css +546 -0
- package/src/ui/css/eval-dashboard.css +157 -0
- package/src/ui/css/experiment.css +237 -0
- package/src/ui/css/guide.css +186 -0
- package/src/ui/css/knowledge-map.css +383 -0
- package/src/ui/css/layout.css +431 -0
- package/src/ui/css/model-card.css +161 -0
- package/src/ui/css/notebook-walkthrough.css +271 -0
- package/src/ui/css/pr-review.css +403 -0
- package/src/ui/css/prompt-lab.css +325 -0
- package/src/ui/css/sessions.css +258 -0
- package/src/ui/css/sidebar.css +661 -0
- package/src/ui/css/terminal.css +113 -0
- package/src/ui/css/theme-light.css +542 -0
- package/src/ui/index.html +389 -0
- package/src/ui/js/agents.js +32 -0
- package/src/ui/js/bookmarks.js +230 -0
- package/src/ui/js/chat.js +1776 -0
- package/src/ui/js/code-intel.js +328 -0
- package/src/ui/js/command-palette.js +142 -0
- package/src/ui/js/events.js +591 -0
- package/src/ui/js/explorer.js +317 -0
- package/src/ui/js/file-view.js +477 -0
- package/src/ui/js/git.js +536 -0
- package/src/ui/js/guide.js +198 -0
- package/src/ui/js/hud.js +75 -0
- package/src/ui/js/init.js +351 -0
- package/src/ui/js/knowledge-map.js +906 -0
- package/src/ui/js/markdown.js +114 -0
- package/src/ui/js/monaco.js +164 -0
- package/src/ui/js/notebook-walkthrough.js +272 -0
- package/src/ui/js/notebook.js +448 -0
- package/src/ui/js/panels.js +2681 -0
- package/src/ui/js/pinboard.js +186 -0
- package/src/ui/js/quick-open.js +164 -0
- package/src/ui/js/selection-context.js +131 -0
- package/src/ui/js/sessions.js +256 -0
- package/src/ui/js/settings.js +476 -0
- package/src/ui/js/split-view.js +82 -0
- package/src/ui/js/state.js +343 -0
- package/src/ui/js/table.js +161 -0
- package/src/ui/js/tabs.js +284 -0
- package/src/ui/js/tabular.js +125 -0
- package/src/ui/js/terminal.js +354 -0
- package/src/ui/js/timeline.js +137 -0
- package/src/ui/js/utils.js +293 -0
- package/src/ui/notebook-kernel.py +790 -0
- package/src/ui/open-browser.js +55 -0
- package/src/ui/permission-pattern.js +42 -0
- package/src/ui/relay.js +513 -0
- package/src/ui/server.js +3072 -0
- package/src/ui/session-index.js +225 -0
- package/src/ui/shards_icon.png +0 -0
- package/src/ui/spawn-server.js +41 -0
- package/src/ui/symbol-index.js +813 -0
- package/src/ui/ui-push.js +177 -0
- package/tools/gate-hook/VALIDATION_SPEC.md +273 -0
- package/tools/gate-hook/__tests__/auto-verify.test.js +343 -0
- package/tools/gate-hook/auto-allowlist.js +179 -0
- package/tools/gate-hook/auto-state.js +68 -0
- package/tools/gate-hook/classify.js +21 -0
- package/tools/gate-hook/log.js +57 -0
- package/tools/gate-hook/parser.js +205 -0
- package/tools/gate-hook/sql-guard.js +230 -0
- package/tools/gate-hook/state.js +170 -0
- package/tools/gate-hook/sweep.js +139 -0
- package/tools/gate-hook/transcript.js +45 -0
- package/tools/gate-hook/validation.js +321 -0
- package/tools/gate-hook.js +475 -0
- package/tools/install.js +914 -0
- package/tools/shards-gates.js +311 -0
- package/tools/shards-sessions.js +261 -0
- package/tools/shards-ui.js +377 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Knowledge Ledger — Index
|
|
2
|
+
|
|
3
|
+
> Agents scan this file for relevant prior knowledge before starting work.
|
|
4
|
+
> Do not delete entries — mark as superseded if outdated.
|
|
5
|
+
|
|
6
|
+
| Date | Type | Title | Domains | Confidence | File |
|
|
7
|
+
|------|------|-------|---------|------------|------|
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://shards.local/schemas/model-card-schema.json",
|
|
4
|
+
"title": "Shards Model Card",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion", "generatedAt", "generatedBy", "projectName",
|
|
9
|
+
"modelDetails", "intendedUse", "factors", "metrics",
|
|
10
|
+
"evaluationData", "trainingData", "quantitativeAnalyses",
|
|
11
|
+
"ethicalConsiderations", "caveatsAndRecommendations", "evalSummary"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": { "type": "string" },
|
|
15
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
16
|
+
"generatedBy": { "type": "string", "enum": ["ml-engineer", "ai-engineer"] },
|
|
17
|
+
"projectName": { "type": "string" },
|
|
18
|
+
"modelDetails": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": ["name", "version", "type", "owner", "date", "framework", "license", "references"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"name": { "type": "string" },
|
|
24
|
+
"version": { "type": "string" },
|
|
25
|
+
"type": { "type": "string" },
|
|
26
|
+
"owner": { "type": "string" },
|
|
27
|
+
"date": { "type": "string" },
|
|
28
|
+
"framework": { "type": "string" },
|
|
29
|
+
"license": { "type": "string" },
|
|
30
|
+
"references": { "type": "array", "items": { "type": "string" } }
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"intendedUse": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"required": ["primaryUse", "primaryUsers", "outOfScopeUses"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"primaryUse": { "type": "string" },
|
|
39
|
+
"primaryUsers": { "type": "string" },
|
|
40
|
+
"outOfScopeUses": { "type": "array", "items": { "type": "string" } }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"factors": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": ["relevantFactors", "evaluationFactors"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"relevantFactors": { "type": "array", "items": { "type": "string" } },
|
|
49
|
+
"evaluationFactors": { "type": "array", "items": { "type": "string" } }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"metrics": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["performanceMeasures", "decisionThresholds"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"performanceMeasures": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": ["name", "value", "description", "rationale"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": { "type": "string" },
|
|
65
|
+
"value": { "type": "string" },
|
|
66
|
+
"description": { "type": "string" },
|
|
67
|
+
"rationale": { "type": "string" }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"decisionThresholds": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"required": ["name", "threshold", "rationale"],
|
|
77
|
+
"properties": {
|
|
78
|
+
"name": { "type": "string" },
|
|
79
|
+
"threshold": { "type": "string" },
|
|
80
|
+
"rationale": { "type": "string" }
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"evaluationData": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"required": ["datasets", "preprocessing", "size", "motivation"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"datasets": { "type": "array", "items": { "type": "string" } },
|
|
92
|
+
"preprocessing": { "type": "string" },
|
|
93
|
+
"size": { "type": "string" },
|
|
94
|
+
"motivation": { "type": "string" }
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"trainingData": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"required": ["datasets", "preprocessing", "size", "motivation"],
|
|
101
|
+
"properties": {
|
|
102
|
+
"datasets": { "type": "array", "items": { "type": "string" } },
|
|
103
|
+
"preprocessing": { "type": "string" },
|
|
104
|
+
"size": { "type": "string" },
|
|
105
|
+
"motivation": { "type": "string" }
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"quantitativeAnalyses": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"required": ["unitaryResults", "intersectionalResults"],
|
|
112
|
+
"properties": {
|
|
113
|
+
"unitaryResults": {
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"required": ["metric", "value", "subset"],
|
|
119
|
+
"properties": {
|
|
120
|
+
"metric": { "type": "string" },
|
|
121
|
+
"value": { "type": "string" },
|
|
122
|
+
"subset": { "type": "string" }
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"intersectionalResults": {
|
|
127
|
+
"type": "array",
|
|
128
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"ethicalConsiderations": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"required": ["risks", "mitigations", "academicReview"],
|
|
136
|
+
"properties": {
|
|
137
|
+
"risks": { "type": "array", "items": { "type": "string" } },
|
|
138
|
+
"mitigations": { "type": "array", "items": { "type": "string" } },
|
|
139
|
+
"academicReview": { "type": "string" }
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"caveatsAndRecommendations": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"required": ["caveats", "recommendations"],
|
|
146
|
+
"properties": {
|
|
147
|
+
"caveats": { "type": "array", "items": { "type": "string" } },
|
|
148
|
+
"recommendations": { "type": "array", "items": { "type": "string" } }
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"evalSummary": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"additionalProperties": false,
|
|
154
|
+
"required": ["overallVerdict", "dimensions", "cost"],
|
|
155
|
+
"properties": {
|
|
156
|
+
"overallVerdict": { "type": "string", "enum": ["PASS", "FAIL", "PARTIAL"] },
|
|
157
|
+
"dimensions": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": ["dimension", "metric", "target", "actual", "verdict"],
|
|
163
|
+
"properties": {
|
|
164
|
+
"dimension": { "type": "string" },
|
|
165
|
+
"metric": { "type": "string" },
|
|
166
|
+
"target": { "type": "string" },
|
|
167
|
+
"actual": { "type": "string" },
|
|
168
|
+
"verdict": { "type": "string", "enum": ["pass", "fail"] }
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"cost": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"additionalProperties": false,
|
|
175
|
+
"required": ["perRequest", "per1kTokens", "monthlyProjected", "budget"],
|
|
176
|
+
"properties": {
|
|
177
|
+
"perRequest": { "type": ["string", "number", "null"] },
|
|
178
|
+
"per1kTokens": { "type": ["string", "number", "null"] },
|
|
179
|
+
"monthlyProjected": { "type": ["string", "number", "null"] },
|
|
180
|
+
"budget": { "type": ["string", "number", "null"] }
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Shards Model Card Schema
|
|
2
|
+
|
|
3
|
+
The authoritative schema is `templates/model-card-schema.json` (JSON Schema, draft 2020-12). This file is a companion for humans and for LLM agents that need inline guidance.
|
|
4
|
+
|
|
5
|
+
## Annotated example
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"schemaVersion": "1.0",
|
|
10
|
+
"generatedAt": "<ISO-8601>",
|
|
11
|
+
"generatedBy": "<ml-engineer | ai-engineer>",
|
|
12
|
+
"projectName": "<project_name>",
|
|
13
|
+
"modelDetails": {
|
|
14
|
+
"name": "<model/system name>",
|
|
15
|
+
"version": "<version>",
|
|
16
|
+
"type": "<LightGBM classifier | XGBoost regressor | LLM prompt chain | RAG pipeline | AI agent | etc.>",
|
|
17
|
+
"owner": "<owner>",
|
|
18
|
+
"date": "<YYYY-MM-DD>",
|
|
19
|
+
"framework": "<scikit-learn | LightGBM | PyTorch | LangChain | etc.>",
|
|
20
|
+
"license": "<license or N/A>",
|
|
21
|
+
"references": ["<urls or citations>"]
|
|
22
|
+
},
|
|
23
|
+
"intendedUse": {
|
|
24
|
+
"primaryUse": "<what the model predicts/ranks/classifies/generates>",
|
|
25
|
+
"primaryUsers": "<who consumes the model output>",
|
|
26
|
+
"outOfScopeUses": ["<uses this model should NOT be used for>"]
|
|
27
|
+
},
|
|
28
|
+
"factors": {
|
|
29
|
+
"relevantFactors": ["<groups, segments, environments>"],
|
|
30
|
+
"evaluationFactors": ["<factors evaluated>"]
|
|
31
|
+
},
|
|
32
|
+
"metrics": {
|
|
33
|
+
"performanceMeasures": [
|
|
34
|
+
{ "name": "<metric>", "value": "<value>", "description": "<what it measures>", "rationale": "<why chosen>" }
|
|
35
|
+
],
|
|
36
|
+
"decisionThresholds": [
|
|
37
|
+
{ "name": "<threshold>", "threshold": "<value>", "rationale": "<why>" }
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"evaluationData": {
|
|
41
|
+
"datasets": ["<eval set description>"],
|
|
42
|
+
"preprocessing": "<how prepared>",
|
|
43
|
+
"size": "<N examples>",
|
|
44
|
+
"motivation": "<why this eval set>"
|
|
45
|
+
},
|
|
46
|
+
"trainingData": {
|
|
47
|
+
"datasets": ["<training data description>"],
|
|
48
|
+
"preprocessing": "<feature engineering summary or N/A>",
|
|
49
|
+
"size": "<N examples or N/A>",
|
|
50
|
+
"motivation": "<why this data>"
|
|
51
|
+
},
|
|
52
|
+
"quantitativeAnalyses": {
|
|
53
|
+
"unitaryResults": [
|
|
54
|
+
{ "metric": "<metric>", "value": "<value>", "subset": "<subset>" }
|
|
55
|
+
],
|
|
56
|
+
"intersectionalResults": []
|
|
57
|
+
},
|
|
58
|
+
"ethicalConsiderations": {
|
|
59
|
+
"risks": ["<from Academic shard>"],
|
|
60
|
+
"mitigations": ["<from Academic shard>"],
|
|
61
|
+
"academicReview": "<Academic shard's full response>"
|
|
62
|
+
},
|
|
63
|
+
"caveatsAndRecommendations": {
|
|
64
|
+
"caveats": ["<limitations>"],
|
|
65
|
+
"recommendations": ["<deployment recommendations>"]
|
|
66
|
+
},
|
|
67
|
+
"evalSummary": {
|
|
68
|
+
"overallVerdict": "<PASS | FAIL | PARTIAL>",
|
|
69
|
+
"dimensions": [
|
|
70
|
+
{ "dimension": "<name>", "metric": "<metric>", "target": "<target>", "actual": "<actual>", "verdict": "<pass | fail>" }
|
|
71
|
+
],
|
|
72
|
+
"cost": {
|
|
73
|
+
"perRequest": "<$X or null>",
|
|
74
|
+
"per1kTokens": "<$X or null>",
|
|
75
|
+
"monthlyProjected": "<$X or null>",
|
|
76
|
+
"budget": "<$X or null>"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Field notes
|
|
83
|
+
|
|
84
|
+
- **`generatedBy`** — agent slug of the producer: `"ml-engineer"` or `"ai-engineer"`.
|
|
85
|
+
- **`evalSummary.cost.per1kTokens`** — leave `null` for non-LLM models (traditional ML); populate with a numeric or string value for any LLM-backed system.
|
|
86
|
+
- **`trainingData`** — use `"N/A"` or `"Not applicable — prompt-based"` for pure prompt/RAG systems; populate fully for fine-tuned models.
|
|
87
|
+
- **`modelDetails.type`** — free-form (examples: `LightGBM classifier`, `XGBoost regressor`, `LLM prompt chain`, `RAG pipeline`, `AI agent`).
|
|
88
|
+
- **`intersectionalResults`** — may be `[]` if intersectional analysis was not performed; document why in `caveatsAndRecommendations.caveats`.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Model Card: {{MODEL_NAME}}
|
|
2
|
+
|
|
3
|
+
- **Version:** {{VERSION}}
|
|
4
|
+
- **Type:** {{TYPE}}
|
|
5
|
+
- **Owner:** {{OWNER}}
|
|
6
|
+
- **Date:** {{DATE}}
|
|
7
|
+
- **Framework:** {{FRAMEWORK}}
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Model Details
|
|
12
|
+
|
|
13
|
+
{{MODEL_DETAILS}}
|
|
14
|
+
|
|
15
|
+
**License:** {{LICENSE}}
|
|
16
|
+
|
|
17
|
+
**References:** {{REFERENCES}}
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Intended Use
|
|
22
|
+
|
|
23
|
+
- **Primary use:** {{PRIMARY_USE}}
|
|
24
|
+
- **Primary users:** {{PRIMARY_USERS}}
|
|
25
|
+
- **Out-of-scope uses:**
|
|
26
|
+
{{OUT_OF_SCOPE_USES}}
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Factors
|
|
31
|
+
|
|
32
|
+
- **Relevant factors:** {{RELEVANT_FACTORS}}
|
|
33
|
+
- **Evaluation factors:** {{EVALUATION_FACTORS}}
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Metrics
|
|
38
|
+
|
|
39
|
+
| Measure | Value | Description | Rationale |
|
|
40
|
+
|---------|-------|-------------|-----------|
|
|
41
|
+
{{METRICS_TABLE}}
|
|
42
|
+
|
|
43
|
+
### Decision Thresholds
|
|
44
|
+
|
|
45
|
+
| Threshold | Value | Rationale |
|
|
46
|
+
|-----------|-------|-----------|
|
|
47
|
+
{{THRESHOLDS_TABLE}}
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Evaluation Data
|
|
52
|
+
|
|
53
|
+
- **Datasets:** {{EVAL_DATASETS}}
|
|
54
|
+
- **Size:** {{EVAL_SIZE}}
|
|
55
|
+
- **Preprocessing:** {{EVAL_PREPROCESSING}}
|
|
56
|
+
- **Motivation:** {{EVAL_MOTIVATION}}
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Training Data
|
|
61
|
+
|
|
62
|
+
- **Datasets:** {{TRAINING_DATASETS}}
|
|
63
|
+
- **Size:** {{TRAINING_SIZE}}
|
|
64
|
+
- **Preprocessing:** {{TRAINING_PREPROCESSING}}
|
|
65
|
+
- **Motivation:** {{TRAINING_MOTIVATION}}
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Quantitative Analyses
|
|
70
|
+
|
|
71
|
+
### Unitary Results
|
|
72
|
+
|
|
73
|
+
| Metric | Value | Subset |
|
|
74
|
+
|--------|-------|--------|
|
|
75
|
+
{{UNITARY_TABLE}}
|
|
76
|
+
|
|
77
|
+
### Intersectional Results
|
|
78
|
+
|
|
79
|
+
| Metric | Value | Factors |
|
|
80
|
+
|--------|-------|---------|
|
|
81
|
+
{{INTERSECTIONAL_TABLE}}
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Ethical Considerations
|
|
86
|
+
|
|
87
|
+
{{ETHICAL_RISKS}}
|
|
88
|
+
|
|
89
|
+
### Mitigations
|
|
90
|
+
|
|
91
|
+
{{ETHICAL_MITIGATIONS}}
|
|
92
|
+
|
|
93
|
+
### Academic Review
|
|
94
|
+
|
|
95
|
+
{{ACADEMIC_REVIEW}}
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Caveats and Recommendations
|
|
100
|
+
|
|
101
|
+
### Caveats
|
|
102
|
+
|
|
103
|
+
{{CAVEATS}}
|
|
104
|
+
|
|
105
|
+
### Recommendations
|
|
106
|
+
|
|
107
|
+
{{RECOMMENDATIONS}}
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Evaluation Summary
|
|
112
|
+
|
|
113
|
+
- **Overall verdict:** {{VERDICT}}
|
|
114
|
+
|
|
115
|
+
| Dimension | Metric | Target | Actual | Verdict |
|
|
116
|
+
|-----------|--------|--------|--------|---------|
|
|
117
|
+
{{EVAL_DIMENSIONS_TABLE}}
|
|
118
|
+
|
|
119
|
+
### Cost Profile
|
|
120
|
+
|
|
121
|
+
- **Per request:** ${{COST_PER_REQUEST}}
|
|
122
|
+
- **Per 1k tokens:** ${{COST_PER_1K_TOKENS}}
|
|
123
|
+
- **Monthly projection:** ${{MONTHLY_COST}}
|
|
124
|
+
- **Budget:** ${{COST_BUDGET}}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Project Plan: {{PROJECT_NAME}}
|
|
2
|
+
- **Created:** {{DATE}}
|
|
3
|
+
- **Manager:** Syn
|
|
4
|
+
- **Status:** Planning | Executing | Integration Review | Complete
|
|
5
|
+
- **Directory:** projects/{{PROJECT_NAME}}/
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Scope
|
|
10
|
+
|
|
11
|
+
{{PROJECT_SCOPE}}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Architecture
|
|
16
|
+
|
|
17
|
+
{{ARCHITECTURE_DESCRIPTION}}
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Workstreams
|
|
22
|
+
|
|
23
|
+
{{WORKSTREAMS}}
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Dependency Graph
|
|
28
|
+
|
|
29
|
+
{{DEPENDENCY_GRAPH}}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Execution Log
|
|
34
|
+
|
|
35
|
+
<!-- Syn appends entries here as workstreams execute, complete, get reviewed, etc. -->
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Integration Review
|
|
40
|
+
|
|
41
|
+
<!-- Cross-workstream review findings after all groups complete -->
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Final Report
|
|
46
|
+
|
|
47
|
+
<!-- Consolidated outcomes, artifacts, open items, next steps -->
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Project: {{PROJECT_NAME}}
|
|
2
|
+
- **Created:** {{DATE}}
|
|
3
|
+
- **Initiated by:** {{INITIATING_AGENT}}
|
|
4
|
+
- **Assigned to:** {{SPECIALIST_AGENT}}
|
|
5
|
+
- **Track:** {{TRACK}}
|
|
6
|
+
- **Status:** In Progress
|
|
7
|
+
- **Directory:** {{PROJECT_DIR}}
|
|
8
|
+
- **Dependencies:** {{DEPENDENCIES}}
|
|
9
|
+
- **Brainstorm origin:** {{BRAINSTORM_ORIGIN}}
|
|
10
|
+
- **PM project:** {{PM_PROJECT}}
|
|
11
|
+
- **Workstream:** {{WORKSTREAM}}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<!--
|
|
16
|
+
This file is the central decision document for the project. Every agent
|
|
17
|
+
involved writes to this file as they complete each phase.
|
|
18
|
+
|
|
19
|
+
How it works:
|
|
20
|
+
1. The agent completes a phase and appends a new section below
|
|
21
|
+
2. The agent reads the section back to you in chat
|
|
22
|
+
3. You confirm (or correct) before the agent advances
|
|
23
|
+
4. Cross-agent reviews are also documented here
|
|
24
|
+
|
|
25
|
+
No phase can be skipped. No section can be left undocumented.
|
|
26
|
+
This is the gate pattern — documentation IS the gate.
|
|
27
|
+
|
|
28
|
+
Validation:
|
|
29
|
+
Any phase that produces a durable artifact (mart, model, notebook, service,
|
|
30
|
+
pipeline, dashboard, data model) must populate a ## Validation section
|
|
31
|
+
before its gate closes. See:
|
|
32
|
+
.claude/agents/specific_instructions/shared/validation_protocol.md
|
|
33
|
+
and the agent's own:
|
|
34
|
+
.claude/agents/specific_instructions/<agent>/validation_checklist.md
|
|
35
|
+
|
|
36
|
+
The schema the gate hook expects:
|
|
37
|
+
|
|
38
|
+
## Validation
|
|
39
|
+
|
|
40
|
+
**Track:** quick | deep | fixer
|
|
41
|
+
**Mode:** <agent-specific — optional, omit the line if not meaningful>
|
|
42
|
+
**Checklist:** <agent_name>/validation_checklist.md
|
|
43
|
+
**Applied at:** Phase <N> — <phase name>
|
|
44
|
+
|
|
45
|
+
### Evidence
|
|
46
|
+
|
|
47
|
+
| Check | Expected | Observed | Pass/Fail | Notes |
|
|
48
|
+
|-------|----------|----------|-----------|-------|
|
|
49
|
+
| <id> | <predicted> | <measured value> | ✓ / ✗ / n/a | <required if n/a> |
|
|
50
|
+
|
|
51
|
+
### Artifacts
|
|
52
|
+
- `<path/to/evidence-file>` — <what it shows>
|
|
53
|
+
|
|
54
|
+
### Downstream Impact
|
|
55
|
+
- `<consumer>` — verified intact | not applicable | broken → fixed in <ref>
|
|
56
|
+
|
|
57
|
+
### Open Issues
|
|
58
|
+
- <issue> | none
|
|
59
|
+
|
|
60
|
+
### Summary
|
|
61
|
+
<2-4 sentences on what was validated, what failed and was fixed, residual risk>
|
|
62
|
+
|
|
63
|
+
If multiple phases produce validation sections, overwrite rather than append —
|
|
64
|
+
the gate hook uses the last ## Validation section in the file.
|
|
65
|
+
|
|
66
|
+
Incremental testing (build phases only):
|
|
67
|
+
Notebook- and pipeline-producing specialists emit a `kind=checkpoint` gate
|
|
68
|
+
between each component they write. See:
|
|
69
|
+
.claude/agents/specific_instructions/shared/incremental_testing.md
|
|
70
|
+
|
|
71
|
+
Optional record inside the build-phase section for auditability:
|
|
72
|
+
|
|
73
|
+
### Checkpoint Log
|
|
74
|
+
| Component | Test command | Evidence | Status |
|
|
75
|
+
|-----------|--------------|----------|--------|
|
|
76
|
+
| <name> | <cmd> | <facts> | PASS / FAIL |
|
|
77
|
+
|
|
78
|
+
This table mirrors what the gate hook already records in
|
|
79
|
+
`.shards/gates/gates.jsonl` — including it in project-specs is optional but
|
|
80
|
+
useful when the user wants the audit trail alongside the rest of the spec.
|
|
81
|
+
-->
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# {{STUDY_NAME}} — Report
|
|
2
|
+
|
|
3
|
+
**Date:** {{DATE}}
|
|
4
|
+
**Author:** Data Scientist Shard
|
|
5
|
+
**Study:** {{STUDY_DIR}}
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Executive Summary
|
|
10
|
+
|
|
11
|
+
<!-- 3-5 bullet points summarizing key findings and recommendations -->
|
|
12
|
+
|
|
13
|
+
## Background
|
|
14
|
+
|
|
15
|
+
<!-- Business context, the question being answered, and why it matters -->
|
|
16
|
+
|
|
17
|
+
## Methodology
|
|
18
|
+
|
|
19
|
+
<!-- Approach used, data sources, key assumptions -->
|
|
20
|
+
|
|
21
|
+
## Key Findings
|
|
22
|
+
|
|
23
|
+
<!-- Detailed findings with supporting evidence, visualizations, and metrics -->
|
|
24
|
+
|
|
25
|
+
## Recommendations
|
|
26
|
+
|
|
27
|
+
<!-- Actionable recommendations with confidence levels and expected impact -->
|
|
28
|
+
|
|
29
|
+
| Recommendation | Confidence | Expected Impact |
|
|
30
|
+
|---------------|------------|-----------------|
|
|
31
|
+
| | | |
|
|
32
|
+
|
|
33
|
+
## Caveats and Limitations
|
|
34
|
+
|
|
35
|
+
<!-- What this analysis cannot answer, assumptions made, data quality notes -->
|
|
36
|
+
|
|
37
|
+
## Next Steps
|
|
38
|
+
|
|
39
|
+
<!-- Follow-up analyses, open questions, dependencies -->
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
*Generated by the Data Scientist Shard. Full analysis available in the study directory.*
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Study: {{STUDY_NAME}}
|
|
2
|
+
- **Created:** {{DATE}}
|
|
3
|
+
- **Scientist:** Data Scientist Shard
|
|
4
|
+
- **Status:** In Progress
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!--
|
|
9
|
+
Deep study output file. The Data Scientist shard populates this as it
|
|
10
|
+
works through its phases.
|
|
11
|
+
|
|
12
|
+
Phases:
|
|
13
|
+
0. Triage
|
|
14
|
+
1. Business Question
|
|
15
|
+
2. Data Discovery (with Data Modeller review)
|
|
16
|
+
3. Analysis Methodology
|
|
17
|
+
4. Modeling Approach (ML only)
|
|
18
|
+
5. Output Format
|
|
19
|
+
6. Execute (with Data Modeller query review)
|
|
20
|
+
7. Findings and Handoff (with Syn final review)
|
|
21
|
+
|
|
22
|
+
Queries are written to: queries/*.sql
|
|
23
|
+
Notebooks are written to: notebooks/*.ipynb
|
|
24
|
+
Final report is written to: report.md
|
|
25
|
+
-->
|