Skip to content

docs: add konfai-cli skill and fix AGENTS.md workspace/trust drifts - #22

Merged
vboussot merged 2 commits into
mainfrom
skill/konfai-cli
Jul 5, 2026
Merged

docs: add konfai-cli skill and fix AGENTS.md workspace/trust drifts#22
vboussot merged 2 commits into
mainfrom
skill/konfai-cli

Conversation

@vboussot

@vboussot vboussot commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

Adds a KonfAI command-line usage skill and corrects two factual drifts in AGENTS.md. Docs-only — no runtime code changes.

.claude/skills/konfai-cli/

A usage guide for driving KonfAI from the terminal, covering both public command-line surfaces:

  • konfai — author a YAML config, then TRAIN / RESUME / PREDICTION / EVALUATION.
  • konfai-apps — run a packaged model (infer / eval / uncertainty / pipeline / fine-tune / bundle / download) and serve it with konfai-apps-server.

SKILL.md (playbook) plus references:

  • cli-reference.md — every konfai / konfai-cluster subcommand and flag
  • config-authoring.md — the three files, root keys, classpath resolution, the reading-a-config-rewrites-it invariant
  • examples-and-recipes.md — the verified Segmentation and Synthesis train → predict → evaluate recipes
  • workspace-and-runtime.md — outputs keyed by train_name, env vars, DDP, SLURM, config modes
  • apps-layer.mdkonfai-apps resolution (Local / HuggingFace / Remote), the trust model, and the published apps/* bundles

Every command, flag, default, env var, and the workspace layout were checked against konfai/main.py, konfai/utils/config.py, konfai/utils/runtime.py, the konfai-apps package, and the example READMEs.

AGENTS.md fixes

  • The runtime writes no Setups/ directory (grep -rn Setups konfai/ returns nothing); the resolved-config snapshot lives in Statistics/<train_name>/. Dataset/ is the input data directory, not a run output.
  • Resolving an app copies and imports its .py files (arbitrary code) unconditionally, but the requirements.txt pip-install is opt-in (install_requirements=False by default) — not automatic.

vboussot added 2 commits July 5, 2026 14:12
Add a KonfAI command-line usage skill covering both public CLI surfaces:
the `konfai` engine (TRAIN/RESUME/PREDICTION/EVALUATION) and the `konfai-apps`
packaged-app runtime. Ships a playbook plus references for the CLI, config
authoring, verified Segmentation/Synthesis recipes, the workspace/runtime
model, and the apps layer (resolution + trust model).
The runtime writes no `Setups/` directory (the resolved-config snapshot lives
in `Statistics/`), and `Dataset/` is the input data dir, not a run output.
App resolution copies+imports .py (arbitrary code) unconditionally, but the
requirements.txt pip-install is opt-in (install_requirements, off by default).
@vboussot
vboussot force-pushed the skill/konfai-cli branch from 6b9ebc0 to 32b37ab Compare July 5, 2026 12:12
@vboussot
vboussot merged commit 19374ba into main Jul 5, 2026
2 checks passed
@vboussot
vboussot deleted the skill/konfai-cli branch July 5, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant