@r1z4x/tezgah 1.9.0 → 1.11.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/CHANGELOG.md +98 -1
- package/MANIFEST +382 -144
- package/README.de.md +1 -1
- package/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.md +1 -1
- package/README.tr.md +1 -1
- package/bin/codegen +5 -2
- package/bin/tezgah-design +288 -1
- package/bin/tezgah-docs +1 -1
- package/bin/tezgah-doctor +39 -2
- package/bin/tezgah-import-ai-research +26 -12
- package/bin/tezgah-ocr-review +296 -0
- package/bin/tezgah-research +216 -40
- package/bin/tezgah-review-quote +185 -0
- package/bin/tezgah-setup +136 -33
- package/bin/tezgah-skill +1 -1
- package/bin/tezgah-status +201 -3
- package/bin/tezgah-task +203 -3
- package/commands/adhd.md +2 -2
- package/commands/ponytail.md +4 -4
- package/docs/architecture.md +2 -2
- package/docs/citations-baseline.json +2 -2
- package/docs/clarity-baseline.json +2 -2
- package/docs/contract.md +87 -42
- package/docs/environment.md +5 -3
- package/docs/evidence.md +28 -9
- package/docs/feature-audit.md +2 -2
- package/docs/gate.md +54 -31
- package/docs/glossary.md +5 -2
- package/docs/hosts.md +17 -3
- package/docs/index.json +34 -8
- package/docs/judge.md +4 -2
- package/docs/layers.md +3 -3
- package/docs/models.md +31 -9
- package/docs/operations.md +148 -8
- package/docs/research.md +786 -5
- package/docs/skills.md +137 -13
- package/docs/status-line.md +115 -1
- package/hooks/hooks.json +1 -1
- package/hooks/lang/en.json +10 -0
- package/hooks/lang/tr.json +11 -1
- package/hooks/tezgah_agents.py +38 -22
- package/hooks/tezgah_apps.py +18 -0
- package/hooks/tezgah_components.py +4 -0
- package/hooks/tezgah_context.py +189 -50
- package/hooks/tezgah_extension.py +337 -0
- package/hooks/tezgah_gate.py +188 -56
- package/hooks/tezgah_integrity.py +652 -105
- package/hooks/tezgah_judge.py +6 -4
- package/hooks/tezgah_models.py +59 -19
- package/hooks/tezgah_orca.py +1 -1
- package/hooks/tezgah_paths.py +102 -6
- package/hooks/tezgah_policy.py +94 -45
- package/hooks/tezgah_rank.py +9 -6
- package/hooks/tezgah_replay.py +4 -4
- package/hooks/tezgah_research.py +1260 -65
- package/hooks/tezgah_research_capture.py +1544 -0
- package/hooks/tezgah_research_evidence.py +842 -0
- package/hooks/tezgah_research_stats.py +258 -0
- package/hooks/tezgah_skill_pick.py +408 -106
- package/hooks/tezgah_stopspec.py +8 -1
- package/hooks/tezgah_task.py +12 -4
- package/hooks/tezgah_taste_ledger.py +1 -1
- package/hosts/cursor/hook.py +29 -2
- package/hosts/opencode/plugins/tezgah.js +307 -46
- package/hosts/opencode/tui/cli/tui.tsx +100 -0
- package/hosts/opencode/tui/tezgah-tui.tsx +2 -1
- package/output-styles/tezgah.md +10 -10
- package/package.json +1 -1
- package/packaging/install.ps1 +36 -3
- package/packaging/install.sh +13 -3
- package/packaging/upgrade.sh +61 -7
- package/skills/ai-research/SKILL.md +21 -14
- package/skills/ai-research/SOURCE +7 -5
- package/skills/ai-research/index/1-frame.md +6 -6
- package/skills/ai-research/index/2-data.md +9 -9
- package/skills/ai-research/index/3-train.md +36 -36
- package/skills/ai-research/index/4-measure.md +13 -13
- package/skills/ai-research/index/5-run.md +11 -11
- package/skills/ai-research/index/6-write.md +23 -23
- package/skills/ai-research/library.json +104 -104
- package/skills/analyze-app/SKILL.md +17 -12
- package/skills/design-contract/SKILL.md +42 -7
- package/skills/design-contract/data-views.md +2 -2
- package/skills/design-library/EVALS.md +1 -1
- package/skills/design-library/INDEX.md +39 -39
- package/skills/design-library/SKILL.md +19 -13
- package/skills/design-library/SOURCE +45 -43
- package/skills/feature-audit/SKILL.md +20 -14
- package/skills/hallmark/LICENSE +21 -0
- package/skills/hallmark/SKILL.md +154 -0
- package/skills/hallmark/SOURCE +207 -0
- package/skills/hallmark/agents/openai.yaml +13 -0
- package/skills/hallmark/references/anatomy.md +71 -0
- package/skills/hallmark/references/brand-truth.md +40 -0
- package/skills/hallmark/references/comp.md +104 -0
- package/skills/hallmark/references/craft.md +116 -0
- package/skills/hallmark/references/dark-mode.md +49 -0
- package/skills/hallmark/references/data-viz.md +48 -0
- package/skills/hallmark/references/design-md.md +53 -0
- package/skills/hallmark/references/direction.md +52 -0
- package/skills/hallmark/references/export-formats.md +80 -0
- package/skills/hallmark/references/flow.md +131 -0
- package/skills/hallmark/references/fonts.md +58 -0
- package/skills/hallmark/references/gates.md +243 -0
- package/skills/hallmark/references/genres/atmospheric.md +24 -0
- package/skills/hallmark/references/genres/editorial.md +24 -0
- package/skills/hallmark/references/genres/modern-minimal.md +24 -0
- package/skills/hallmark/references/genres/playful.md +24 -0
- package/skills/hallmark/references/imagery.md +99 -0
- package/skills/hallmark/references/interaction-and-states.md +89 -0
- package/skills/hallmark/references/layout.md +104 -0
- package/skills/hallmark/references/macrostructures/01-bento-grid.md +21 -0
- package/skills/hallmark/references/macrostructures/02-long-document.md +35 -0
- package/skills/hallmark/references/macrostructures/03-marquee-hero.md +21 -0
- package/skills/hallmark/references/macrostructures/04-stat-led.md +21 -0
- package/skills/hallmark/references/macrostructures/05-workbench.md +21 -0
- package/skills/hallmark/references/macrostructures/06-conversational-faq.md +28 -0
- package/skills/hallmark/references/macrostructures/07-manifesto.md +28 -0
- package/skills/hallmark/references/macrostructures/08-photographic.md +21 -0
- package/skills/hallmark/references/macrostructures/09-quote-led.md +21 -0
- package/skills/hallmark/references/macrostructures/10-specimen.md +21 -0
- package/skills/hallmark/references/macrostructures/11-catalogue.md +21 -0
- package/skills/hallmark/references/macrostructures/12-letter.md +21 -0
- package/skills/hallmark/references/macrostructures/13-index-first.md +21 -0
- package/skills/hallmark/references/macrostructures/14-narrative-workflow.md +21 -0
- package/skills/hallmark/references/macrostructures/15-split-studio.md +21 -0
- package/skills/hallmark/references/macrostructures/16-feature-stack.md +23 -0
- package/skills/hallmark/references/macrostructures/17-type-specimen.md +19 -0
- package/skills/hallmark/references/macrostructures/18-portfolio-grid.md +21 -0
- package/skills/hallmark/references/macrostructures/19-map-diagram.md +21 -0
- package/skills/hallmark/references/macrostructures/20-ecosystem-index.md +19 -0
- package/skills/hallmark/references/macrostructures/21-component-playground.md +21 -0
- package/skills/hallmark/references/macrostructures.md +119 -0
- package/skills/hallmark/references/microinteractions.md +80 -0
- package/skills/hallmark/references/patterns.md +202 -0
- package/skills/hallmark/references/redesign.md +88 -0
- package/skills/hallmark/references/responsive.md +46 -0
- package/skills/hallmark/references/review-finish.md +19 -0
- package/skills/hallmark/references/review-hero.md +20 -0
- package/skills/hallmark/references/scroll-choreography.md +110 -0
- package/skills/hallmark/references/texture.md +90 -0
- package/skills/hallmark/references/themes/README.md +58 -0
- package/skills/hallmark/references/themes/almanac.jpg +0 -0
- package/skills/hallmark/references/themes/almanac.md +103 -0
- package/skills/hallmark/references/themes/arcade.jpg +0 -0
- package/skills/hallmark/references/themes/arcade.md +102 -0
- package/skills/hallmark/references/themes/atelier.jpg +0 -0
- package/skills/hallmark/references/themes/atelier.md +98 -0
- package/skills/hallmark/references/themes/bloom.jpg +0 -0
- package/skills/hallmark/references/themes/bloom.md +102 -0
- package/skills/hallmark/references/themes/blueprint.jpg +0 -0
- package/skills/hallmark/references/themes/blueprint.md +103 -0
- package/skills/hallmark/references/themes/broadside.jpg +0 -0
- package/skills/hallmark/references/themes/broadside.md +108 -0
- package/skills/hallmark/references/themes/brutal.jpg +0 -0
- package/skills/hallmark/references/themes/brutal.md +95 -0
- package/skills/hallmark/references/themes/carnival.jpg +0 -0
- package/skills/hallmark/references/themes/carnival.md +104 -0
- package/skills/hallmark/references/themes/cobalt.jpg +0 -0
- package/skills/hallmark/references/themes/cobalt.md +101 -0
- package/skills/hallmark/references/themes/console.jpg +0 -0
- package/skills/hallmark/references/themes/console.md +99 -0
- package/skills/hallmark/references/themes/coral.jpg +0 -0
- package/skills/hallmark/references/themes/coral.md +102 -0
- package/skills/hallmark/references/themes/darkroom.jpg +0 -0
- package/skills/hallmark/references/themes/darkroom.md +99 -0
- package/skills/hallmark/references/themes/dose.jpg +0 -0
- package/skills/hallmark/references/themes/dose.md +98 -0
- package/skills/hallmark/references/themes/dusk.jpg +0 -0
- package/skills/hallmark/references/themes/dusk.md +105 -0
- package/skills/hallmark/references/themes/editorial.jpg +0 -0
- package/skills/hallmark/references/themes/editorial.md +97 -0
- package/skills/hallmark/references/themes/formwork.jpg +0 -0
- package/skills/hallmark/references/themes/formwork.md +107 -0
- package/skills/hallmark/references/themes/furrow.jpg +0 -0
- package/skills/hallmark/references/themes/furrow.md +98 -0
- package/skills/hallmark/references/themes/garden.jpg +0 -0
- package/skills/hallmark/references/themes/garden.md +97 -0
- package/skills/hallmark/references/themes/grid.jpg +0 -0
- package/skills/hallmark/references/themes/grid.md +101 -0
- package/skills/hallmark/references/themes/halftone.jpg +0 -0
- package/skills/hallmark/references/themes/halftone.md +106 -0
- package/skills/hallmark/references/themes/hedgerow.jpg +0 -0
- package/skills/hallmark/references/themes/hedgerow.md +104 -0
- package/skills/hallmark/references/themes/hum.jpg +0 -0
- package/skills/hallmark/references/themes/hum.md +99 -0
- package/skills/hallmark/references/themes/index.json +2191 -0
- package/skills/hallmark/references/themes/ink.jpg +0 -0
- package/skills/hallmark/references/themes/ink.md +106 -0
- package/skills/hallmark/references/themes/kiln.jpg +0 -0
- package/skills/hallmark/references/themes/kiln.md +108 -0
- package/skills/hallmark/references/themes/loom.jpg +0 -0
- package/skills/hallmark/references/themes/loom.md +106 -0
- package/skills/hallmark/references/themes/lumen.jpg +0 -0
- package/skills/hallmark/references/themes/lumen.md +103 -0
- package/skills/hallmark/references/themes/manifesto.jpg +0 -0
- package/skills/hallmark/references/themes/manifesto.md +101 -0
- package/skills/hallmark/references/themes/midnight.jpg +0 -0
- package/skills/hallmark/references/themes/midnight.md +97 -0
- package/skills/hallmark/references/themes/newsprint.jpg +0 -0
- package/skills/hallmark/references/themes/newsprint.md +102 -0
- package/skills/hallmark/references/themes/overprint.jpg +0 -0
- package/skills/hallmark/references/themes/overprint.md +101 -0
- package/skills/hallmark/references/themes/pasteup.jpg +0 -0
- package/skills/hallmark/references/themes/pasteup.md +100 -0
- package/skills/hallmark/references/themes/piste.jpg +0 -0
- package/skills/hallmark/references/themes/piste.md +99 -0
- package/skills/hallmark/references/themes/ribbon.jpg +0 -0
- package/skills/hallmark/references/themes/ribbon.md +106 -0
- package/skills/hallmark/references/themes/rim.jpg +0 -0
- package/skills/hallmark/references/themes/rim.md +96 -0
- package/skills/hallmark/references/themes/riso.jpg +0 -0
- package/skills/hallmark/references/themes/riso.md +98 -0
- package/skills/hallmark/references/themes/solstice.jpg +0 -0
- package/skills/hallmark/references/themes/solstice.md +104 -0
- package/skills/hallmark/references/themes/specimen.jpg +0 -0
- package/skills/hallmark/references/themes/specimen.md +100 -0
- package/skills/hallmark/references/themes/spore.jpg +0 -0
- package/skills/hallmark/references/themes/spore.md +104 -0
- package/skills/hallmark/references/themes/sport.jpg +0 -0
- package/skills/hallmark/references/themes/sport.md +101 -0
- package/skills/hallmark/references/themes/squeeze.jpg +0 -0
- package/skills/hallmark/references/themes/squeeze.md +99 -0
- package/skills/hallmark/references/themes/sticker.jpg +0 -0
- package/skills/hallmark/references/themes/sticker.md +106 -0
- package/skills/hallmark/references/themes/studio.jpg +0 -0
- package/skills/hallmark/references/themes/studio.md +99 -0
- package/skills/hallmark/references/themes/terminal.jpg +0 -0
- package/skills/hallmark/references/themes/terminal.md +96 -0
- package/skills/hallmark/references/themes/terrazzo.jpg +0 -0
- package/skills/hallmark/references/themes/terrazzo.md +106 -0
- package/skills/hallmark/references/themes/ultraviolet.jpg +0 -0
- package/skills/hallmark/references/themes/ultraviolet.md +106 -0
- package/skills/hallmark/references/themes/vellum.jpg +0 -0
- package/skills/hallmark/references/themes/vellum.md +105 -0
- package/skills/hallmark/references/themes/wayfind.jpg +0 -0
- package/skills/hallmark/references/themes/wayfind.md +105 -0
- package/skills/hallmark/references/themes/werkstatt.jpg +0 -0
- package/skills/hallmark/references/themes/werkstatt.md +105 -0
- package/skills/hallmark/scripts/capture.mjs +125 -0
- package/skills/hallmark/scripts/fixtures/exemplars/atmospheric.html +324 -0
- package/skills/hallmark/scripts/fixtures/exemplars/editorial.html +363 -0
- package/skills/hallmark/scripts/fixtures/exemplars/modern-minimal.html +527 -0
- package/skills/hallmark/scripts/fixtures/exemplars/playful.html +353 -0
- package/skills/hallmark/scripts/fixtures/eyebrow-fail/index.html +118 -0
- package/skills/hallmark/scripts/fixtures/eyebrow-pass/index.html +137 -0
- package/skills/hallmark/scripts/fixtures/kept/after.html +27 -0
- package/skills/hallmark/scripts/fixtures/kept/before.html +26 -0
- package/skills/hallmark/scripts/fixtures/slopped.html +145 -0
- package/skills/hallmark/scripts/fixtures/tailwind-fail/Feature.vue +14 -0
- package/skills/hallmark/scripts/fixtures/tailwind-fail/Hero.tsx +33 -0
- package/skills/hallmark/scripts/fixtures/tailwind-fail/index.html +74 -0
- package/skills/hallmark/scripts/fixtures/tailwind-fail/style.css +6 -0
- package/skills/hallmark/scripts/fixtures/tailwind-pass/Hero.tsx +33 -0
- package/skills/hallmark/scripts/fixtures/tailwind-pass/index.html +57 -0
- package/skills/hallmark/scripts/fixtures/tailwind-pass/style.css +15 -0
- package/skills/hallmark/scripts/fixtures/waiver/index.html +54 -0
- package/skills/hallmark/scripts/imagegen.mjs +85 -0
- package/skills/hallmark/scripts/install-hook.mjs +70 -0
- package/skills/hallmark/scripts/install.mjs +141 -0
- package/skills/hallmark/scripts/lint-hook.mjs +49 -0
- package/skills/hallmark/scripts/photos.json +1 -0
- package/skills/hallmark/scripts/picture.mjs +71 -0
- package/skills/hallmark/scripts/refcheck.mjs +352 -0
- package/skills/hallmark/scripts/sloplint-render.mjs +1252 -0
- package/skills/hallmark/scripts/sloplint.mjs +4422 -0
- package/skills/hallmark/scripts/theme.mjs +650 -0
- package/skills/harness/SKILL.md +15 -8
- package/skills/i-have-adhd/SKILL.md +22 -11
- package/skills/no-ai-slop/SKILL.md +15 -1
- package/skills/plan-add/SKILL.md +33 -26
- package/skills/plan-status/SKILL.md +13 -7
- package/skills/plan-sync/SKILL.md +18 -12
- package/skills/pm-frameworks/SKILL.md +19 -10
- package/skills/pm-frameworks/SOURCE +7 -5
- package/skills/ponytail/SKILL.md +19 -14
- package/skills/product-analysis/SKILL.md +22 -18
- package/skills/product-flow/SKILL.md +14 -9
- package/skills/research/SKILL.md +75 -39
- package/skills/rl-env/SKILL.md +25 -13
- package/skills/rl-env/SOURCE +8 -6
- package/skills/tezgah-contract/SKILL.md +47 -42
- package/bin/tezgah-skill.py +0 -59
- /package/skills/ai-research/0-autoresearch-skill/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/01-model-architecture/litgpt/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/01-model-architecture/mamba/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/01-model-architecture/nanogpt/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/01-model-architecture/rwkv/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/01-model-architecture/torchtitan/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/02-tokenization/huggingface-tokenizers/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/02-tokenization/sentencepiece/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/03-fine-tuning/axolotl/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/03-fine-tuning/llama-factory/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/03-fine-tuning/peft/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/03-fine-tuning/unsloth/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/04-mechanistic-interpretability/nnsight/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/04-mechanistic-interpretability/pyvene/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/04-mechanistic-interpretability/saelens/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/04-mechanistic-interpretability/transformer-lens/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/05-data-processing/nemo-curator/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/05-data-processing/ray-data/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/grpo-rl-training/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/miles/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/openrlhf/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/simpo/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/slime/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/torchforge/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/trl-fine-tuning/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/06-post-training/verl/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/07-safety-alignment/constitutional-ai/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/07-safety-alignment/llamaguard/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/07-safety-alignment/nemo-guardrails/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/07-safety-alignment/prompt-guard/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/accelerate/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/deepspeed/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/megatron-core/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/pytorch-fsdp2/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/pytorch-lightning/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/08-distributed-training/ray-train/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/09-infrastructure/lambda-labs/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/09-infrastructure/modal/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/09-infrastructure/skypilot/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/awq/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/bitsandbytes/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/flash-attention/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/gguf/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/gptq/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/hqq/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/10-optimization/ml-training-recipes/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/11-evaluation/bigcode-evaluation-harness/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/11-evaluation/lm-evaluation-harness/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/11-evaluation/nemo-evaluator/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/12-inference-serving/llama-cpp/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/12-inference-serving/sglang/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/12-inference-serving/tensorrt-llm/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/12-inference-serving/vllm/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/13-mlops/mlflow/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/13-mlops/swanlab/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/13-mlops/tensorboard/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/13-mlops/weights-and-biases/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/14-agents/a-evolve/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/14-agents/autogpt/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/14-agents/crewai/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/14-agents/langchain/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/14-agents/llamaindex/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/15-rag/chroma/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/15-rag/faiss/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/15-rag/pinecone/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/15-rag/qdrant/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/15-rag/sentence-transformers/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/16-prompt-engineering/dspy/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/16-prompt-engineering/guidance/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/16-prompt-engineering/instructor/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/16-prompt-engineering/outlines/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/17-observability/langsmith/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/17-observability/phoenix/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/audiocraft/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/blip-2/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/clip/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/cosmos-policy/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/llava/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/openpi/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/openvla-oft/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/segment-anything/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/stable-diffusion/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/18-multimodal/whisper/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/knowledge-distillation/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/long-context/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/model-merging/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/model-pruning/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/moe-training/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/19-emerging-techniques/speculative-decoding/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/20-ml-paper-writing/academic-plotting/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/20-ml-paper-writing/ml-paper-writing/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/20-ml-paper-writing/presenting-conference-talks/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/20-ml-paper-writing/systems-paper-writing/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/21-research-ideation/brainstorming-research-ideas/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/21-research-ideation/creative-thinking-for-research/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/22-agent-native-research-artifact/compiler/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/22-agent-native-research-artifact/research-manager/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/ai-research/22-agent-native-research-artifact/rigor-reviewer/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/colour-independence/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/flexible-typography/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/information-density/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/preference-audit/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/responsive-accessibility/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/responsive-review/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/simplified-views/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/specify/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/adaptive-interfaces/skills/user-preference-respect/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/adaptive-personalisation/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/assess-load/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/cognitive-load-assessment/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/contextual-help-design/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/error-prevention-recovery/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/focus-attention-design/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/memory-load-reduction/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/plain-language-design/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/review/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/simplify/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/cognitive-accessibility/skills/wayfinding-navigation/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/design-research/skills/behavioural-analytics/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/design-research/skills/qual-quant-triangulation/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/audit/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/design-flow/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/feedback-and-status/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/gesture-alternatives/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/keyboard-navigation/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/keyboard-review/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/motion-sensitivity/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/multi-modal-input/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/touch-target-design/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/inclusive-interaction/skills/voice-interaction/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-affordance/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-brand-consistency/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-color/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-composition/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-information-density/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-typography/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/design-library/visual-critique/skills/critique-visual-hierarchy/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/pm-frameworks/intended-vs-implemented/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/pm-frameworks/opportunity-solution-tree/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/rl-env/generate-nemo-gym-env/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/rl-env/generate-openenv-env/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/rl-env/generate-ors-env/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/rl-env/generate-verifiers-env/{SKILL.md → ENTRY.md} +0 -0
- /package/skills/rl-env/rl-env-from-description/{SKILL.md → ENTRY.md} +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/** @jsxImportSource @opentui/solid */
|
|
2
|
+
// tezgah status line for the opencode 2 terminal (a CLI plugin).
|
|
3
|
+
//
|
|
4
|
+
// opencode 2 ignores tui.json: a local CLI plugin is a DIRECTORY listed in
|
|
5
|
+
// ~/.config/opencode/cli.json `plugins` (a spec naming a file is skipped), whose
|
|
6
|
+
// `tui` module default-exports Plugin.define({ id, setup }). Same data and marks
|
|
7
|
+
// as ../tezgah-tui.tsx (the opencode 1 shape, kept for v1 installs): one
|
|
8
|
+
// `tezgah-status <dir> --json [sessionID]` call per refresh, each segment colored
|
|
9
|
+
// green in force, yellow on-demand, red off, and a palette command for the legend.
|
|
10
|
+
import { Plugin } from "@opencode/plugin/tui"
|
|
11
|
+
import { createSignal, onCleanup, For } from "solid-js"
|
|
12
|
+
import { run } from "../tezgah-tui.tsx"
|
|
13
|
+
|
|
14
|
+
const SAFETY_MS = 30000
|
|
15
|
+
// Server events arrive per streamed part; one status call per burst is enough.
|
|
16
|
+
const DEBOUNCE_MS = 250
|
|
17
|
+
|
|
18
|
+
type Seg = { key: string; state: string; glyph: string; text: string; group?: number }
|
|
19
|
+
type Tone = { base: string }
|
|
20
|
+
// The part of the CLI plugin context this file reads (opencode.ai/v2/docs/build/plugins/cli).
|
|
21
|
+
type Ctx = {
|
|
22
|
+
location?: { directory?: string }
|
|
23
|
+
theme: { text: { muted: string; feedback: { success: Tone; warning: Tone; error: Tone } } }
|
|
24
|
+
data: { location: { default(): { directory?: string } | undefined }; listen(fn: () => void): () => void }
|
|
25
|
+
ui: { router: { current(): { type: string; sessionID?: string } | undefined } }
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function color(ctx: Ctx, state: string) {
|
|
29
|
+
const t = ctx.theme.text
|
|
30
|
+
if (state === "on") return t.feedback.success.base
|
|
31
|
+
if (state === "ready") return t.feedback.warning.base
|
|
32
|
+
if (state === "off") return t.feedback.error.base
|
|
33
|
+
return t.muted
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function args(ctx: Ctx): string[] {
|
|
37
|
+
const dir = ctx.location?.directory || ctx.data.location.default()?.directory || process.cwd()
|
|
38
|
+
// The active session id is what lets the used marks (graph/consult/orch) light.
|
|
39
|
+
const route = ctx.ui.router.current()
|
|
40
|
+
return route?.type === "session" && route.sessionID ? [dir, "--json", route.sessionID] : [dir, "--json"]
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function TezgahBar(props: { ctx: Ctx }) {
|
|
44
|
+
const [segs, setSegs] = createSignal<Seg[]>([])
|
|
45
|
+
const update = () => {
|
|
46
|
+
try {
|
|
47
|
+
setSegs(JSON.parse(run(args(props.ctx)) || "[]"))
|
|
48
|
+
} catch {
|
|
49
|
+
setSegs([])
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
let pending: Timer | undefined
|
|
53
|
+
const soon = () => {
|
|
54
|
+
clearTimeout(pending)
|
|
55
|
+
pending = setTimeout(update, DEBOUNCE_MS)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
update()
|
|
59
|
+
const stop = props.ctx.data.listen(soon)
|
|
60
|
+
const timer = setInterval(update, SAFETY_MS)
|
|
61
|
+
onCleanup(() => {
|
|
62
|
+
stop()
|
|
63
|
+
clearTimeout(pending)
|
|
64
|
+
clearInterval(timer)
|
|
65
|
+
})
|
|
66
|
+
|
|
67
|
+
return (
|
|
68
|
+
<box paddingLeft={1} flexShrink={0} flexDirection="row">
|
|
69
|
+
<For each={segs()}>
|
|
70
|
+
{(s, i) => (
|
|
71
|
+
<box flexDirection="row">
|
|
72
|
+
<text fg={color(props.ctx, s.state)}>{s.text + (s.glyph || "")}</text>
|
|
73
|
+
<text fg={props.ctx.theme.text.muted}>
|
|
74
|
+
{i() < segs().length - 1
|
|
75
|
+
? (segs()[i() + 1].group === s.group ? " " : " · ")
|
|
76
|
+
: ""}
|
|
77
|
+
</text>
|
|
78
|
+
</box>
|
|
79
|
+
)}
|
|
80
|
+
</For>
|
|
81
|
+
</box>
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export default Plugin.define({
|
|
86
|
+
id: "tezgah.status",
|
|
87
|
+
setup(ctx) {
|
|
88
|
+
ctx.keymap.layer(() => ({
|
|
89
|
+
mode: "global",
|
|
90
|
+
commands: [{
|
|
91
|
+
id: "tezgah.legend",
|
|
92
|
+
title: "tezgah: status legend",
|
|
93
|
+
group: "tezgah",
|
|
94
|
+
palette: true,
|
|
95
|
+
run: () => ctx.ui.dialog.alert({ title: "tezgah status marks", message: run(["--legend"]) }),
|
|
96
|
+
}],
|
|
97
|
+
}))
|
|
98
|
+
return ctx.ui.slot({ append: "prompt.footer", render: () => <TezgahBar ctx={ctx} /> })
|
|
99
|
+
},
|
|
100
|
+
})
|
|
@@ -51,7 +51,8 @@ function pythonBin(): string {
|
|
|
51
51
|
return (pythonMemo = found || names[0])
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
// Exported for cli/tui.tsx, the opencode 2 shape of this plugin.
|
|
55
|
+
export function run(args: string[]): string {
|
|
55
56
|
try {
|
|
56
57
|
const proc = Bun.spawnSync({ cmd: [pythonBin(), STATUS, ...args], stdout: "pipe", stderr: "ignore" })
|
|
57
58
|
return new TextDecoder().decode(proc.stdout).trim()
|
package/output-styles/tezgah.md
CHANGED
|
@@ -36,7 +36,7 @@ one small test); a one-liner needs none. A complex ask ships the lazy version
|
|
|
36
36
|
and names the fuller one in the same reply instead of stalling. Reply: code
|
|
37
37
|
first; write what was cut only when you consciously cut something the user asked
|
|
38
38
|
for, in at most three lines. In force from the first turn; levels
|
|
39
|
-
lite|full|ultra are set with
|
|
39
|
+
lite|full|ultra are set with `~/.config/tezgah/bin/tezgah-pony` and ride the per-turn reminder when
|
|
40
40
|
not `full`; read the full `ponytail` skill from the router for the level table
|
|
41
41
|
and examples. Off: "stop ponytail".
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ assumption and ask one diagnostic question. Before sending, delete an opening
|
|
|
62
62
|
sentence that announces, a closing one that recaps or asks "anything else?", any
|
|
63
63
|
by-the-way sidebar and any hedge that carries no real uncertainty. In force from
|
|
64
64
|
the first answer; read the full `i-have-adhd` skill from the router for the
|
|
65
|
-
examples. Off:
|
|
65
|
+
examples. Off: `~/.config/tezgah/bin/tezgah-adhd off`, or the repo's `.no-adhd`.
|
|
66
66
|
|
|
67
67
|
**Deliver the whole ask; never the shortcut.** The request defines the
|
|
68
68
|
deliverable: every named item is in scope until the user says otherwise, and the
|
|
@@ -169,19 +169,19 @@ issue for one of its tools mid-session. Name a missing capability in one line,
|
|
|
169
169
|
use the documented fallback (grep/find, or the second opinion skipped), and carry
|
|
170
170
|
on with the task in hand. Tezgah maintenance is in scope when the user asks for
|
|
171
171
|
it, or when the repo IS the tezgah checkout. Before working a topic an
|
|
172
|
-
installed skill covers, run
|
|
172
|
+
installed skill covers, run `~/.config/tezgah/bin/tezgah-skill <words>` and read only the range it
|
|
173
173
|
returns.
|
|
174
174
|
|
|
175
175
|
**Workspace: `.tezgah/` only.** Every per-project tezgah artifact - plans,
|
|
176
|
-
research lines, analysis, lessons - lives under `<repo>/.tezgah/`,
|
|
177
|
-
project
|
|
178
|
-
|
|
179
|
-
project root and never `git add -f`
|
|
176
|
+
research lines, analysis, lessons - lives under `<repo>/.tezgah/`, ignored by
|
|
177
|
+
the project, committed with `git -C .tezgah ...` - or, if the project tracks
|
|
178
|
+
it, plain `git add`/`git commit`. Never create `plans/`, `research/` or
|
|
179
|
+
`analysis/` at the project root and never `git add -f` under `.tezgah/`. Off:
|
|
180
180
|
`workspace-off`.
|
|
181
181
|
|
|
182
182
|
**Kill switches:** each one removes its own rule from this text, not just the
|
|
183
183
|
status mark. `~/.config/tezgah/`: `exec-mode.off`, `orchestrate-off`,
|
|
184
|
-
`consult-off`, `research-off`, `ponytail-auto.off`, `adhd-off`, `spec-off`,
|
|
184
|
+
`consult-off`, `research-off`, `ponytail-auto.off`, `adhd-off`, `spec-off`, `design-off`,
|
|
185
185
|
`reminder-off`, `verify-off` (the integrity rule: its prompt text, the shortcut
|
|
186
186
|
denials and the Stop gate), `task-off` (the task rule), `judge-off` (the
|
|
187
187
|
judgement seam: the triage, the docs fallback and the skill hint), `triage-off`,
|
|
@@ -189,6 +189,6 @@ judgement seam: the triage, the docs fallback and the skill hint), `triage-off`,
|
|
|
189
189
|
rule), `workspace-off` (the root plans/research/analysis refusal),
|
|
190
190
|
`pretooluse-off` (the whole gate);
|
|
191
191
|
per-repo `.no-ponytail`, `.no-adhd`, `.no-graph`, `.no-lessons`.
|
|
192
|
-
The ponytail intensity level is not a switch:
|
|
192
|
+
The ponytail intensity level is not a switch: `~/.config/tezgah/bin/tezgah-pony lite|full|ultra`.
|
|
193
193
|
|
|
194
|
-
**On-demand rules (armed when the task class matches; full text in the `tezgah-contract` skill).** Spec-first for an underspecified or quality-only ask. A second opinion before a call that is hard to reverse or that one model would answer with unearned confidence. OpenResearch routing for research. Product analysis is a five-axis evidence task - value, usability (the running app, not the source), feasibility (a cited `path:line`), competition, and keep/fix/cut/bet triage - with one named evidence class per finding. The code graph for "who calls X" and "what breaks if Z changes". Two or more independent items fan out to parallel subagents in one message, one git worktree per writing slice.
|
|
194
|
+
**On-demand rules (armed when the task class matches; full text in the `tezgah-contract` skill).** Spec-first for an underspecified or quality-only ask. A second opinion before a call that is hard to reverse or that one model would answer with unearned confidence. OpenResearch routing for research. Product analysis is a five-axis evidence task - value, usability (the running app, not the source), feasibility (a cited `path:line`), competition, and keep/fix/cut/bet triage - with one named evidence class per finding (`product-analysis`, `pm-frameworks`). The code graph for "who calls X" and "what breaks if Z changes". Two or more independent items fan out to parallel subagents in one message, one git worktree per writing slice. A UI turn reads the `design-contract` skill (`design-library`, `analyze-app`) and is judged against `.tezgah/design-contract.md`: `~/.config/tezgah/bin/tezgah-design derive` writes it from the repository's own tokens and its `check` measures a change against it.
|
package/package.json
CHANGED
package/packaging/install.ps1
CHANGED
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
|
|
28
28
|
$env:TEZGAH_VERSION = '0.1.0'; irm https://raw.githubusercontent.com/r1z4x/tezgah/main/packaging/install.ps1 | iex
|
|
29
29
|
|
|
30
|
+
The tezgah repository is private, so that fetch and the release below need a
|
|
31
|
+
token with read access, in `TEZGAH_GITHUB_TOKEN`, `GITHUB_TOKEN` or `GH_TOKEN`:
|
|
32
|
+
|
|
33
|
+
$env:GITHUB_TOKEN = 'ghp_...'
|
|
34
|
+
|
|
30
35
|
.EXAMPLE
|
|
31
36
|
.\install.ps1 -Version 0.1.0 -Prefix D:\tezgah
|
|
32
37
|
#>
|
|
@@ -59,16 +64,29 @@ function Remove-Current([string]$Path) {
|
|
|
59
64
|
}
|
|
60
65
|
|
|
61
66
|
if ($env:TEZGAH_REPO) { $Repo = $env:TEZGAH_REPO }
|
|
67
|
+
# A private repository serves no release file to an anonymous session, so the
|
|
68
|
+
# token decides which URL is read: the REST asset endpoint with it, the plain
|
|
69
|
+
# download URL without. `releases/download/...` answers 404 to both a token in
|
|
70
|
+
# the URL and a bearer header (measured 2026-10-17), so the id comes first.
|
|
71
|
+
$Token = $env:TEZGAH_GITHUB_TOKEN
|
|
72
|
+
if (-not $Token) { $Token = $env:GITHUB_TOKEN }
|
|
73
|
+
if (-not $Token) { $Token = $env:GH_TOKEN }
|
|
74
|
+
$Headers = @{}
|
|
75
|
+
$AssetHeaders = @{ Accept = 'application/octet-stream' }
|
|
76
|
+
if ($Token) {
|
|
77
|
+
$Headers.Authorization = "Bearer $Token"
|
|
78
|
+
$AssetHeaders.Authorization = "Bearer $Token"
|
|
79
|
+
}
|
|
62
80
|
if (-not $Version) { $Version = $env:TEZGAH_VERSION }
|
|
63
81
|
if (-not $Prefix) { $Prefix = $env:TEZGAH_PREFIX }
|
|
64
82
|
if (-not $Prefix) { $Prefix = Join-Path $env:LOCALAPPDATA 'tezgah' } # Windows' data dir
|
|
65
83
|
$Prefix = Resolve-Full $Prefix
|
|
66
84
|
if (-not $Version) {
|
|
67
85
|
try {
|
|
68
|
-
$rel = Invoke-RestMethod "https://api.github.com/repos/$Repo/releases/latest"
|
|
86
|
+
$rel = Invoke-RestMethod "https://api.github.com/repos/$Repo/releases/latest" -Headers $Headers
|
|
69
87
|
$Version = "$($rel.tag_name)".TrimStart('v')
|
|
70
88
|
} catch {
|
|
71
|
-
throw "tezgah: cannot read the newest release of $Repo (no release yet, or no network): $_"
|
|
89
|
+
throw "tezgah: cannot read the newest release of $Repo (no release yet, or no network; a private repository needs TEZGAH_GITHUB_TOKEN, GITHUB_TOKEN or GH_TOKEN): $_"
|
|
72
90
|
}
|
|
73
91
|
}
|
|
74
92
|
if (-not $Version -or $Version -match '[\\/]' -or $Version -in @('.', '..')) {
|
|
@@ -86,13 +104,28 @@ try {
|
|
|
86
104
|
if ($env:TEZGAH_DIST) {
|
|
87
105
|
$archive = Join-Path (Resolve-Full $env:TEZGAH_DIST) $name
|
|
88
106
|
if (-not (Test-Path -LiteralPath $archive)) { throw "tezgah: no $archive" }
|
|
107
|
+
} elseif ($Token) {
|
|
108
|
+
$release = Invoke-RestMethod "https://api.github.com/repos/$Repo/releases/tags/v$Version" -Headers $Headers
|
|
109
|
+
$asset = $release.assets | Where-Object { $_.name -eq $name }
|
|
110
|
+
$sidecarAsset = $release.assets | Where-Object { $_.name -eq "$name.sha256" }
|
|
111
|
+
if (-not $asset -or -not $sidecarAsset) {
|
|
112
|
+
throw "tezgah: release v$Version of $Repo carries no $name"
|
|
113
|
+
}
|
|
114
|
+
try { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 } catch { }
|
|
115
|
+
Invoke-WebRequest -UseBasicParsing -Headers $AssetHeaders `
|
|
116
|
+
"https://api.github.com/repos/$Repo/releases/assets/$($asset.id)" -OutFile $archive
|
|
89
117
|
} else {
|
|
90
118
|
$base = "https://github.com/$Repo/releases/download/v$Version"
|
|
91
119
|
try { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 } catch { }
|
|
92
120
|
Invoke-WebRequest -UseBasicParsing "$base/$name" -OutFile $archive
|
|
93
121
|
}
|
|
94
122
|
$sidecar = "$archive.sha256"
|
|
95
|
-
if (
|
|
123
|
+
if ($env:TEZGAH_DIST) {
|
|
124
|
+
# already beside the archive
|
|
125
|
+
} elseif ($Token) {
|
|
126
|
+
Invoke-WebRequest -UseBasicParsing -Headers $AssetHeaders `
|
|
127
|
+
"https://api.github.com/repos/$Repo/releases/assets/$($sidecarAsset.id)" -OutFile $sidecar
|
|
128
|
+
} else {
|
|
96
129
|
Invoke-WebRequest -UseBasicParsing "$base/$name.sha256" -OutFile $sidecar
|
|
97
130
|
}
|
|
98
131
|
|
package/packaging/install.sh
CHANGED
|
@@ -6,10 +6,14 @@
|
|
|
6
6
|
# Runs packaging/upgrade.sh (the one place a version is fetched, verified,
|
|
7
7
|
# unpacked and made current), then the installer from the tree it made current.
|
|
8
8
|
# Needs sh and curl; tar and sha256sum are upgrade.sh's. Env, unlike its flags:
|
|
9
|
-
# TEZGAH_REPO, TEZGAH_DIST, TEZGAH_PREFIX, as in upgrade.sh
|
|
9
|
+
# TEZGAH_REPO, TEZGAH_DIST, TEZGAH_PREFIX, as in upgrade.sh, and the token below
|
|
10
|
+
# (a private TEZGAH_REPO serves no file without one).
|
|
10
11
|
set -eu
|
|
11
12
|
|
|
12
13
|
REPO=${TEZGAH_REPO:-r1z4x/tezgah}
|
|
14
|
+
# raw.githubusercontent.com answers 404 to a session without a token when the
|
|
15
|
+
# repository is private, and serves the same file to one that carries the bearer.
|
|
16
|
+
token=${TEZGAH_GITHUB_TOKEN:-${GITHUB_TOKEN:-${GH_TOKEN:-}}}
|
|
13
17
|
VERSION_ARG=
|
|
14
18
|
PREFIX_ARG=
|
|
15
19
|
REPLY_ARG=
|
|
@@ -37,8 +41,14 @@ else
|
|
|
37
41
|
[ -z "$VERSION_ARG" ] || ref=v$VERSION_ARG
|
|
38
42
|
work=$(mktemp -d "${TMPDIR:-/tmp}/tezgah-install.XXXXXX") || exit 1
|
|
39
43
|
up=$work/upgrade.sh
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
url="https://raw.githubusercontent.com/$REPO/$ref/packaging/upgrade.sh"
|
|
45
|
+
if [ -n "$token" ]; then
|
|
46
|
+
printf 'Authorization: Bearer %s\n' "$token" | curl -fsSL -H @- "$url" -o "$up" \
|
|
47
|
+
|| { echo "tezgah: cannot fetch packaging/upgrade.sh at $ref - if $REPO is private, set TEZGAH_GITHUB_TOKEN, GITHUB_TOKEN or GH_TOKEN" >&2; exit 1; }
|
|
48
|
+
else
|
|
49
|
+
curl -fsSL "$url" -o "$up" \
|
|
50
|
+
|| { echo "tezgah: cannot fetch packaging/upgrade.sh at $ref - if $REPO is private, set TEZGAH_GITHUB_TOKEN, GITHUB_TOKEN or GH_TOKEN" >&2; exit 1; }
|
|
51
|
+
fi
|
|
42
52
|
fi
|
|
43
53
|
|
|
44
54
|
set -- --prefix "$PREFIX" # explicit flags: a prefix may hold a space
|
package/packaging/upgrade.sh
CHANGED
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
# Callers: packaging/install.sh (a first install) and `tezgah-setup --upgrade`.
|
|
13
13
|
# Neither re-implements the fetch, the checksum or the flip.
|
|
14
14
|
#
|
|
15
|
-
# Needs: sh, curl, tar, and sha256sum or shasum. No python. Uses `gh` when it
|
|
15
|
+
# Needs: sh, curl, tar, awk, and sha256sum or shasum. No python. Uses `gh` when it
|
|
16
16
|
# is on PATH to check the release's build provenance; without it, says so.
|
|
17
17
|
# Env: TEZGAH_PREFIX, XDG_DATA_HOME, TEZGAH_VERSION, TEZGAH_REPO, TEZGAH_DIST
|
|
18
18
|
# (a directory holding tezgah-<V>.tar.gz + .sha256 - what build.sh --out
|
|
19
19
|
# writes; it swaps the release URL for that directory, one code path, and
|
|
20
20
|
# is how upgrade.sh is exercised without a published release), TEZGAH_GH
|
|
21
|
-
# (the gh to run for the provenance check; default `gh` on PATH)
|
|
21
|
+
# (the gh to run for the provenance check; default `gh` on PATH),
|
|
22
|
+
# TEZGAH_GITHUB_TOKEN / GITHUB_TOKEN / GH_TOKEN (the first one set is sent
|
|
23
|
+
# as the bearer a private $TEZGAH_REPO needs; with none, the public URLs).
|
|
22
24
|
set -eu
|
|
23
25
|
|
|
24
26
|
REPO=${TEZGAH_REPO:-r1z4x/tezgah}
|
|
@@ -39,10 +41,40 @@ die() {
|
|
|
39
41
|
exit 1
|
|
40
42
|
}
|
|
41
43
|
|
|
44
|
+
# A private repository answers 404 to `releases/download/...` from a session without
|
|
45
|
+
# a token (measured 2026-10-17, with the token as URL userinfo and as a header
|
|
46
|
+
# alike), while the REST asset endpoint returns the blob for `Accept:
|
|
47
|
+
# application/octet-stream` plus `Authorization: Bearer`. So the token decides which
|
|
48
|
+
# URL is read, and a public repository - no token - keeps exactly the URL it had.
|
|
49
|
+
token=${TEZGAH_GITHUB_TOKEN:-${GITHUB_TOKEN:-${GH_TOKEN:-}}}
|
|
50
|
+
|
|
51
|
+
# Every read goes through here, so the bearer cannot be forgotten on one call. It
|
|
52
|
+
# reaches curl on stdin (`-H @-`, curl 7.55+): an argument is in every user's `ps`.
|
|
53
|
+
get() { # get <url> [curl args...]
|
|
54
|
+
if [ -n "$token" ]; then
|
|
55
|
+
printf 'Authorization: Bearer %s\n' "$token" | curl -fsSL -H @- "$@"
|
|
56
|
+
else
|
|
57
|
+
curl -fsSL "$@"
|
|
58
|
+
fi
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
# The id of asset `$2` in the JSON of one release (`$1`). An asset's id is written
|
|
62
|
+
# down in one place, its own `url` field, so the JSON is flattened, split at each
|
|
63
|
+
# `"url":` - one fragment per asset, from its url to the next one - and the id read
|
|
64
|
+
# from the fragment that names the file wanted. Empty, not an error, when the
|
|
65
|
+
# release carries no such asset; the caller says so.
|
|
66
|
+
asset_id() {
|
|
67
|
+
printf '%s\n' "$1" | tr -d '[:space:]' | awk -v want="\"name\":\"$2\"" '
|
|
68
|
+
{ n = split($0, o, "\"url\":")
|
|
69
|
+
for (i = 1; i <= n; i++)
|
|
70
|
+
if (index(o[i], want) && match(o[i], /"id":[0-9]+/))
|
|
71
|
+
{ print substr(o[i], RSTART + 5, RLENGTH - 5); exit } }'
|
|
72
|
+
}
|
|
73
|
+
|
|
42
74
|
# The newest release tag. The API answers `tag_name`; the raw redirect would
|
|
43
75
|
# too, but GitHub answers this without a rate-limit surprise on a repeat run.
|
|
44
76
|
latest_release() {
|
|
45
|
-
body=$(
|
|
77
|
+
body=$(get "https://api.github.com/repos/$REPO/releases/latest" 2>/dev/null) \
|
|
46
78
|
|| return 1
|
|
47
79
|
tag=$(printf '%s\n' "$body" \
|
|
48
80
|
| sed -n 's/.*"tag_name":[[:space:]]*"\([^"]*\)".*/\1/p' | head -n 1)
|
|
@@ -77,18 +109,40 @@ if [ -n "${TEZGAH_DIST:-}" ]; then
|
|
|
77
109
|
*) dist=$PWD/$TEZGAH_DIST ;;
|
|
78
110
|
esac
|
|
79
111
|
base="file://$dist"
|
|
112
|
+
assets=
|
|
113
|
+
elif [ -n "$token" ]; then
|
|
114
|
+
# The asset endpoint is addressed by id, and the release JSON is the only
|
|
115
|
+
# place that id is written down.
|
|
116
|
+
rel=$(get "https://api.github.com/repos/$REPO/releases/tags/v$VERSION") \
|
|
117
|
+
|| die "cannot read release v$VERSION of $REPO with the token in TEZGAH_GITHUB_TOKEN/GITHUB_TOKEN/GH_TOKEN"
|
|
118
|
+
id=$(asset_id "$rel" "tezgah-$VERSION.tar.gz")
|
|
119
|
+
id_sidecar=$(asset_id "$rel" "tezgah-$VERSION.tar.gz.sha256")
|
|
120
|
+
[ -n "$id" ] && [ -n "$id_sidecar" ] \
|
|
121
|
+
|| die "release v$VERSION of $REPO carries no tezgah-$VERSION.tar.gz"
|
|
122
|
+
base="https://api.github.com/repos/$REPO/releases/assets"
|
|
123
|
+
assets=$base
|
|
80
124
|
else
|
|
81
125
|
base="https://github.com/$REPO/releases/download/v$VERSION"
|
|
126
|
+
assets=
|
|
82
127
|
fi
|
|
83
128
|
|
|
84
129
|
work=$(mktemp -d "${TMPDIR:-/tmp}/tezgah-upgrade.XXXXXX") || die "cannot create a temp dir"
|
|
85
130
|
trap 'rm -rf "$work"' EXIT INT TERM
|
|
86
131
|
|
|
87
132
|
name=tezgah-$VERSION.tar.gz
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
133
|
+
if [ -n "$assets" ]; then
|
|
134
|
+
# Both files come from the same release, and neither blob is served without
|
|
135
|
+
# this Accept: the endpoint answers JSON metadata otherwise.
|
|
136
|
+
get -H "Accept: application/octet-stream" "$assets/$id" -o "$work/$name" \
|
|
137
|
+
|| die "cannot fetch $name from $assets/$id"
|
|
138
|
+
get -H "Accept: application/octet-stream" "$assets/$id_sidecar" -o "$work/$name.sha256" \
|
|
139
|
+
|| die "cannot fetch $name.sha256 from $assets/$id_sidecar"
|
|
140
|
+
else
|
|
141
|
+
get "$base/$name" -o "$work/$name" \
|
|
142
|
+
|| die "cannot fetch $name from $base - if $REPO is private, set TEZGAH_GITHUB_TOKEN, GITHUB_TOKEN or GH_TOKEN"
|
|
143
|
+
get "$base/$name.sha256" -o "$work/$name.sha256" \
|
|
144
|
+
|| die "cannot fetch $name.sha256 from $base - if $REPO is private, set TEZGAH_GITHUB_TOKEN, GITHUB_TOKEN or GH_TOKEN"
|
|
145
|
+
fi
|
|
92
146
|
|
|
93
147
|
want=$(sed -n '1s/[[:space:]].*//p' "$work/$name.sha256")
|
|
94
148
|
got=$(sha256_of "$work/$name")
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ai-research
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
machinery: training or fine-tuning a model, serving or quantizing one,
|
|
7
|
-
evaluating a benchmark, reading model internals, building a retrieval or agent
|
|
8
|
-
pipeline, tracking runs, or writing the result up. Read the one entry the work
|
|
9
|
-
needs, never the tree. Do NOT use for code discovery ("where is X", "who calls
|
|
10
|
-
Y") - that is the code graph.
|
|
4
|
+
Use when a research line needs AI/ML machinery: training, fine-tuning,
|
|
5
|
+
serving, evals; ince ayar, dil modeli. Not for RL environments - use `rl-env`.
|
|
11
6
|
---
|
|
12
7
|
|
|
13
8
|
# ai-research
|
|
14
9
|
|
|
10
|
+
## When to use
|
|
11
|
+
|
|
12
|
+
The vendored AI-research-SKILLs library - 98 upstream skills in 23 categories,
|
|
13
|
+
MIT - that now ships with tezgah. Use when a research line needs AI or ML
|
|
14
|
+
machinery: training or fine-tuning a model, serving or quantizing one,
|
|
15
|
+
evaluating a benchmark, reading model internals, building a retrieval or agent
|
|
16
|
+
pipeline, tracking runs, or writing the result up. Read the one entry the work
|
|
17
|
+
needs, never the tree. Do NOT use for code discovery ("where is X", "who calls
|
|
18
|
+
Y") - that is the code graph.
|
|
19
|
+
|
|
15
20
|
Ninety-eight skills from Orchestra Research's `AI-research-SKILLs`, vendored into
|
|
16
21
|
this repository at revision `773a529` (2026-06-15, MIT) and kept in the upstream
|
|
17
22
|
layout, so a path here is the path there. Re-vendor, or verify the tree, with
|
|
@@ -27,8 +32,10 @@ before.
|
|
|
27
32
|
|
|
28
33
|
1. **`index/<stage>.md`** - six files, one per stage of a research line. Read the
|
|
29
34
|
one that matches the work in hand; it lists every entry with its purpose.
|
|
30
|
-
2. **the entry's `
|
|
31
|
-
`11-evaluation/lm-evaluation-harness/
|
|
35
|
+
2. **the entry's `ENTRY.md`** - the file the index line names, e.g.
|
|
36
|
+
`11-evaluation/lm-evaluation-harness/ENTRY.md`. That is the upstream body:
|
|
37
|
+
upstream's `SKILL.md`, renamed so a host that lists every `SKILL.md` below its
|
|
38
|
+
skills directory does not list it. A body that says `SKILL.md` means this file.
|
|
32
39
|
3. **its `references/`** - the detail the body points at, when the body is not
|
|
33
40
|
enough.
|
|
34
41
|
|
|
@@ -57,7 +64,7 @@ Each index line can carry a flag, and they are not decoration:
|
|
|
57
64
|
live links in the same entry still work.
|
|
58
65
|
|
|
59
66
|
An entry with no body vendored would be a line without a file - there is none:
|
|
60
|
-
every one of the 98 ships its `
|
|
67
|
+
every one of the 98 ships its `ENTRY.md`.
|
|
61
68
|
|
|
62
69
|
## Where tezgah's own rules still win
|
|
63
70
|
|
|
@@ -75,14 +82,14 @@ account, a paid service or the user's data still needs the user's yes first.
|
|
|
75
82
|
this contract's protocol-before-run rule.
|
|
76
83
|
- `20-ml-paper-writing/ml-paper-writing/references/citation-workflow.md` - how to
|
|
77
84
|
verify a reference instead of writing one from memory.
|
|
78
|
-
- `20-ml-paper-writing/academic-plotting/
|
|
85
|
+
- `20-ml-paper-writing/academic-plotting/ENTRY.md` - chart-type rules, a
|
|
79
86
|
colourblind-safe palette and venue column widths; every line ends in a figure.
|
|
80
|
-
- `22-agent-native-research-artifact/rigor-reviewer/
|
|
87
|
+
- `22-agent-native-research-artifact/rigor-reviewer/ENTRY.md` - the 1-5 scoring
|
|
81
88
|
anchors and severity inventory behind this contract's six-dimension review.
|
|
82
|
-
- `22-agent-native-research-artifact/compiler/
|
|
89
|
+
- `22-agent-native-research-artifact/compiler/ENTRY.md` - evidence fidelity: exact
|
|
83
90
|
numbers, a derived subset never named `Table N`, every evidence file carrying
|
|
84
91
|
its source.
|
|
85
|
-
- `11-evaluation/lm-evaluation-harness/
|
|
92
|
+
- `11-evaluation/lm-evaluation-harness/ENTRY.md` - the runnable benchmark recipe a
|
|
86
93
|
research line usually quotes.
|
|
87
94
|
|
|
88
95
|
## Provenance
|
|
@@ -10,12 +10,14 @@ contributing author of that entry. Checkout for a re-vendor:
|
|
|
10
10
|
|
|
11
11
|
Every skill's `SKILL.md` and every markdown file beside it, in the upstream
|
|
12
12
|
layout, because a vendored path is its provenance. 98 skills across 23
|
|
13
|
-
categories, 365 files, 4202519 bytes.
|
|
13
|
+
categories, 365 files, 4202519 bytes. One rename: each entry's `SKILL.md` sits at
|
|
14
|
+
the upstream path as `ENTRY.md`, bytes unchanged, so a host that lists every
|
|
15
|
+
`SKILL.md` below its skills directory (codex, Cursor) does not list it.
|
|
14
16
|
|
|
15
17
|
## What is not, and why
|
|
16
18
|
|
|
17
19
|
Files: `03-fine-tuning/unsloth/references/llms-full.md`, `03-fine-tuning/unsloth/references/llms-txt.md`, `08-distributed-training/deepspeed/references/tutorials.md` - machine-scraped reference dumps, which the entry's own
|
|
18
|
-
`
|
|
20
|
+
`ENTRY.md` already distils.
|
|
19
21
|
|
|
20
22
|
Directories: `20-ml-paper-writing/ml-paper-writing/templates`, `20-ml-paper-writing/systems-paper-writing/templates` - LaTeX class/bst/bib trees and example PDFs,
|
|
21
23
|
re-downloadable from each venue.
|
|
@@ -27,9 +29,9 @@ is dropped by the importer's `*.md` filter, and `demos/`, `docs/`,
|
|
|
27
29
|
## The only modification
|
|
28
30
|
|
|
29
31
|
A markdown file that carries no YAML frontmatter gets one attribution
|
|
30
|
-
comment on its first line. `
|
|
31
|
-
frontmatter included. `skills/ai-research/SKILL.md` is
|
|
32
|
-
not part of the manifest.
|
|
32
|
+
comment on its first line. `ENTRY.md` files are byte-for-byte upstream
|
|
33
|
+
`SKILL.md`, frontmatter included. `skills/ai-research/SKILL.md` is
|
|
34
|
+
tezgah's own and is not part of the manifest.
|
|
33
35
|
|
|
34
36
|
## Re-vendoring
|
|
35
37
|
|
|
@@ -10,9 +10,9 @@ links N reference files upstream does not ship.
|
|
|
10
10
|
|
|
11
11
|
| entry | file | what it covers | flags |
|
|
12
12
|
|---|---|---|---|
|
|
13
|
-
| `0-autoresearch-skill` | `0-autoresearch-skill/
|
|
14
|
-
| `brainstorming-research-ideas` | `21-research-ideation/brainstorming-research-ideas/
|
|
15
|
-
| `creative-thinking-for-research` | `21-research-ideation/creative-thinking-for-research/
|
|
16
|
-
| `compiler` | `22-agent-native-research-artifact/compiler/
|
|
17
|
-
| `research-manager` | `22-agent-native-research-artifact/research-manager/
|
|
18
|
-
| `rigor-reviewer` | `22-agent-native-research-artifact/rigor-reviewer/
|
|
13
|
+
| `0-autoresearch-skill` | `0-autoresearch-skill/ENTRY.md` | Orchestrates end-to-end autonomous AI research projects using a two-loop architecture. | |
|
|
14
|
+
| `brainstorming-research-ideas` | `21-research-ideation/brainstorming-research-ideas/ENTRY.md` | Guides researchers through structured ideation frameworks to discover high-impact research directions. | |
|
|
15
|
+
| `creative-thinking-for-research` | `21-research-ideation/creative-thinking-for-research/ENTRY.md` | Applies cognitive science frameworks for creative thinking to CS and AI research ideation. | |
|
|
16
|
+
| `compiler` | `22-agent-native-research-artifact/compiler/ENTRY.md` | Compiles any research input — PDF papers, GitHub repositories, experiment logs, code directories, or raw notes — into a complete Agent-Native Research Artifact (ARA) with ... | |
|
|
17
|
+
| `research-manager` | `22-agent-native-research-artifact/research-manager/ENTRY.md` | Records research provenance as a post-task epilogue, scanning conversation history at the end of a coding or research session to extract decisions, experiments, dead ends, claims ... | |
|
|
18
|
+
| `rigor-reviewer` | `22-agent-native-research-artifact/rigor-reviewer/ENTRY.md` | Performs ARA Seal Level 2 semantic epistemic review on Agent-Native Research Artifacts, scoring six dimensions (evidence relevance, falsifiability, scope calibration, argument ... | |
|
|
@@ -10,12 +10,12 @@ links N reference files upstream does not ship.
|
|
|
10
10
|
|
|
11
11
|
| entry | file | what it covers | flags |
|
|
12
12
|
|---|---|---|---|
|
|
13
|
-
| `huggingface-tokenizers` | `02-tokenization/huggingface-tokenizers/
|
|
14
|
-
| `sentencepiece` | `02-tokenization/sentencepiece/
|
|
15
|
-
| `nemo-curator` | `05-data-processing/nemo-curator/
|
|
16
|
-
| `ray-data` | `05-data-processing/ray-data/
|
|
17
|
-
| `chroma` | `15-rag/chroma/
|
|
18
|
-
| `faiss` | `15-rag/faiss/
|
|
19
|
-
| `pinecone` | `15-rag/pinecone/
|
|
20
|
-
| `qdrant` | `15-rag/qdrant/
|
|
21
|
-
| `sentence-transformers` | `15-rag/sentence-transformers/
|
|
13
|
+
| `huggingface-tokenizers` | `02-tokenization/huggingface-tokenizers/ENTRY.md` | Fast tokenizers optimized for research and production. | |
|
|
14
|
+
| `sentencepiece` | `02-tokenization/sentencepiece/ENTRY.md` | Language-independent tokenizer treating text as raw Unicode. | |
|
|
15
|
+
| `nemo-curator` | `05-data-processing/nemo-curator/ENTRY.md` | GPU-accelerated data curation for LLM training. | |
|
|
16
|
+
| `ray-data` | `05-data-processing/ray-data/ENTRY.md` | Scalable data processing for ML workloads. | |
|
|
17
|
+
| `chroma` | `15-rag/chroma/ENTRY.md` | Open-source embedding database for AI applications. | |
|
|
18
|
+
| `faiss` | `15-rag/faiss/ENTRY.md` | Facebook's library for efficient similarity search and clustering of dense vectors. | |
|
|
19
|
+
| `pinecone` | `15-rag/pinecone/ENTRY.md` | Managed vector database for production AI applications. | |
|
|
20
|
+
| `qdrant` | `15-rag/qdrant/ENTRY.md` | High-performance vector similarity search engine for RAG and semantic search. | |
|
|
21
|
+
| `sentence-transformers` | `15-rag/sentence-transformers/ENTRY.md` | Framework for state-of-the-art sentence, text, and image embeddings. | |
|
|
@@ -10,39 +10,39 @@ links N reference files upstream does not ship.
|
|
|
10
10
|
|
|
11
11
|
| entry | file | what it covers | flags |
|
|
12
12
|
|---|---|---|---|
|
|
13
|
-
| `litgpt` | `01-model-architecture/litgpt/
|
|
14
|
-
| `mamba` | `01-model-architecture/mamba/
|
|
15
|
-
| `nanogpt` | `01-model-architecture/nanogpt/
|
|
16
|
-
| `rwkv` | `01-model-architecture/rwkv/
|
|
17
|
-
| `torchtitan` | `01-model-architecture/torchtitan/
|
|
18
|
-
| `axolotl` | `03-fine-tuning/axolotl/
|
|
19
|
-
| `llama-factory` | `03-fine-tuning/llama-factory/
|
|
20
|
-
| `peft` | `03-fine-tuning/peft/
|
|
21
|
-
| `unsloth` | `03-fine-tuning/unsloth/
|
|
22
|
-
| `grpo-rl-training` | `06-post-training/grpo-rl-training/
|
|
23
|
-
| `miles` | `06-post-training/miles/
|
|
24
|
-
| `openrlhf` | `06-post-training/openrlhf/
|
|
25
|
-
| `simpo` | `06-post-training/simpo/
|
|
26
|
-
| `slime` | `06-post-training/slime/
|
|
27
|
-
| `torchforge` | `06-post-training/torchforge/
|
|
28
|
-
| `trl-fine-tuning` | `06-post-training/trl-fine-tuning/
|
|
29
|
-
| `verl` | `06-post-training/verl/
|
|
30
|
-
| `accelerate` | `08-distributed-training/accelerate/
|
|
31
|
-
| `deepspeed` | `08-distributed-training/deepspeed/
|
|
32
|
-
| `megatron-core` | `08-distributed-training/megatron-core/
|
|
33
|
-
| `pytorch-fsdp2` | `08-distributed-training/pytorch-fsdp2/
|
|
34
|
-
| `pytorch-lightning` | `08-distributed-training/pytorch-lightning/
|
|
35
|
-
| `ray-train` | `08-distributed-training/ray-train/
|
|
36
|
-
| `awq` | `10-optimization/awq/
|
|
37
|
-
| `bitsandbytes` | `10-optimization/bitsandbytes/
|
|
38
|
-
| `flash-attention` | `10-optimization/flash-attention/
|
|
39
|
-
| `gguf` | `10-optimization/gguf/
|
|
40
|
-
| `gptq` | `10-optimization/gptq/
|
|
41
|
-
| `hqq` | `10-optimization/hqq/
|
|
42
|
-
| `ml-training-recipes` | `10-optimization/ml-training-recipes/
|
|
43
|
-
| `knowledge-distillation` | `19-emerging-techniques/knowledge-distillation/
|
|
44
|
-
| `long-context` | `19-emerging-techniques/long-context/
|
|
45
|
-
| `model-merging` | `19-emerging-techniques/model-merging/
|
|
46
|
-
| `model-pruning` | `19-emerging-techniques/model-pruning/
|
|
47
|
-
| `moe-training` | `19-emerging-techniques/moe-training/
|
|
48
|
-
| `speculative-decoding` | `19-emerging-techniques/speculative-decoding/
|
|
13
|
+
| `litgpt` | `01-model-architecture/litgpt/ENTRY.md` | Implements and trains LLMs using Lightning AI's LitGPT with 20+ pretrained architectures (Llama, Gemma, Phi, Qwen, Mistral). | |
|
|
14
|
+
| `mamba` | `01-model-architecture/mamba/ENTRY.md` | State-space model with O(n) complexity vs Transformers' O(n²). | dead-links: 2 |
|
|
15
|
+
| `nanogpt` | `01-model-architecture/nanogpt/ENTRY.md` | Educational GPT implementation in ~300 lines. | |
|
|
16
|
+
| `rwkv` | `01-model-architecture/rwkv/ENTRY.md` | RNN+Transformer hybrid with O(n) inference. | stale-api |
|
|
17
|
+
| `torchtitan` | `01-model-architecture/torchtitan/ENTRY.md` | Provides PyTorch-native distributed LLM pretraining using torchtitan with 4D parallelism (FSDP2, TP, PP, CP). | |
|
|
18
|
+
| `axolotl` | `03-fine-tuning/axolotl/ENTRY.md` | Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support | generated |
|
|
19
|
+
| `llama-factory` | `03-fine-tuning/llama-factory/ENTRY.md` | Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support | generated |
|
|
20
|
+
| `peft` | `03-fine-tuning/peft/ENTRY.md` | Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. | |
|
|
21
|
+
| `unsloth` | `03-fine-tuning/unsloth/ENTRY.md` | Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization | generated |
|
|
22
|
+
| `grpo-rl-training` | `06-post-training/grpo-rl-training/ENTRY.md` | Expert guidance for GRPO/RL fine-tuning with TRL for reasoning and task-specific model training | |
|
|
23
|
+
| `miles` | `06-post-training/miles/ENTRY.md` | Provides guidance for enterprise-grade RL training using miles, a production-ready fork of slime. | |
|
|
24
|
+
| `openrlhf` | `06-post-training/openrlhf/ENTRY.md` | High-performance RLHF framework with Ray+vLLM acceleration. | |
|
|
25
|
+
| `simpo` | `06-post-training/simpo/ENTRY.md` | Simple Preference Optimization for LLM alignment. | |
|
|
26
|
+
| `slime` | `06-post-training/slime/ENTRY.md` | Provides guidance for LLM post-training with RL using slime, a Megatron+SGLang framework. | |
|
|
27
|
+
| `torchforge` | `06-post-training/torchforge/ENTRY.md` | Provides guidance for PyTorch-native agentic RL using torchforge, Meta's library separating infra from algorithms. | |
|
|
28
|
+
| `trl-fine-tuning` | `06-post-training/trl-fine-tuning/ENTRY.md` | Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. | |
|
|
29
|
+
| `verl` | `06-post-training/verl/ENTRY.md` | Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). | dead-links: 1 |
|
|
30
|
+
| `accelerate` | `08-distributed-training/accelerate/ENTRY.md` | Simplest distributed training API. | |
|
|
31
|
+
| `deepspeed` | `08-distributed-training/deepspeed/ENTRY.md` | Expert guidance for distributed training with DeepSpeed - ZeRO optimization stages, pipeline parallelism, FP16/BF16/FP8, 1-bit Adam, sparse attention | generated |
|
|
32
|
+
| `megatron-core` | `08-distributed-training/megatron-core/ENTRY.md` | Trains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies. | |
|
|
33
|
+
| `pytorch-fsdp2` | `08-distributed-training/pytorch-fsdp2/ENTRY.md` | Adds PyTorch FSDP2 (fully_shard) to training scripts with correct init, sharding, mixed precision/offload config, and distributed checkpointing. | |
|
|
34
|
+
| `pytorch-lightning` | `08-distributed-training/pytorch-lightning/ENTRY.md` | High-level PyTorch framework with Trainer class, automatic distributed training (DDP/FSDP/DeepSpeed), callbacks system, and minimal boilerplate. | |
|
|
35
|
+
| `ray-train` | `08-distributed-training/ray-train/ENTRY.md` | Distributed training orchestration across clusters. | dead-links: 1 |
|
|
36
|
+
| `awq` | `10-optimization/awq/ENTRY.md` | Activation-aware weight quantization for 4-bit LLM compression with 3x speedup and minimal accuracy loss. | stale-api |
|
|
37
|
+
| `bitsandbytes` | `10-optimization/bitsandbytes/ENTRY.md` | Quantizes LLMs to 8-bit or 4-bit for 50-75% memory reduction with minimal accuracy loss. | |
|
|
38
|
+
| `flash-attention` | `10-optimization/flash-attention/ENTRY.md` | Optimizes transformer attention with Flash Attention for 2-4x speedup and 10-20x memory reduction. | dead-links: 2 |
|
|
39
|
+
| `gguf` | `10-optimization/gguf/ENTRY.md` | GGUF format and llama.cpp quantization for efficient CPU/GPU inference. | |
|
|
40
|
+
| `gptq` | `10-optimization/gptq/ENTRY.md` | Post-training 4-bit quantization for LLMs with minimal accuracy loss. | |
|
|
41
|
+
| `hqq` | `10-optimization/hqq/ENTRY.md` | Half-Quadratic Quantization for LLMs without calibration data. | |
|
|
42
|
+
| `ml-training-recipes` | `10-optimization/ml-training-recipes/ENTRY.md` | Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. | |
|
|
43
|
+
| `knowledge-distillation` | `19-emerging-techniques/knowledge-distillation/ENTRY.md` | Compress large language models using knowledge distillation from teacher to student models. | |
|
|
44
|
+
| `long-context` | `19-emerging-techniques/long-context/ENTRY.md` | Extend context windows of transformer models using RoPE, YaRN, ALiBi, and position interpolation techniques. | |
|
|
45
|
+
| `model-merging` | `19-emerging-techniques/model-merging/ENTRY.md` | Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. | |
|
|
46
|
+
| `model-pruning` | `19-emerging-techniques/model-pruning/ENTRY.md` | Reduce LLM size and accelerate inference using pruning techniques like Wanda and SparseGPT. | |
|
|
47
|
+
| `moe-training` | `19-emerging-techniques/moe-training/ENTRY.md` | Train Mixture of Experts (MoE) models using DeepSpeed or HuggingFace. | |
|
|
48
|
+
| `speculative-decoding` | `19-emerging-techniques/speculative-decoding/ENTRY.md` | Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques. | dead-links: 1 |
|