Repository navigation
fix(cli): default demo and first-run init recipes name --model and --base-url - #1288
Merged
Merged
Conversation
…base-url The default demo footer, first-run init doc blocks, and the algorithms cheatsheet init line now name the flags plan requires, so a copied first run can plan instead of exiting on placeholders. Closes #1287
Collaborator
Author
|
Review (Birfy) Tip SHA: 86ad8f9
|
Birfy
enabled auto-merge (squash)
November 26, 2026 04:26
This was referenced Nov 26, 2026
Closed
Birfy
added a commit
that referenced
this pull request
Nov 26, 2026
…1290) Closes #1289 Base: f0b1c34 Tip SHA: 9662328 ## What changed On tip `f0b1c34`, #1288 already named `--model <model> [--base-url <url>]` on the first-run `init ./my-skill` blocks and the default `demo` footer. Two Path A skill-library recipes that go straight into `plan --probe` were left behind: - In `docs/quickstart-skill.md` and `docs/algorithm-decision-tree.md`, the `init … --kind skill_library --algorithm archive_selection` fences now add those flags. - The quickstart comment no longer says "pin reflect/agent, then"; filling `cases.jsonl` is enough to plan. - `tests/test_first_run_caps.py` pins `--model` / `--base-url` on those fences, still before `plan --probe`. - `changelog.d/1289-skill-library-init-model-flags.md`. No change to the placeholder-refusal behaviour of `init` / `plan`. No model name is guessed. ## Verification Tip SHA: 9662328 Ran: - `pytest -q -o addopts='' tests/test_first_run_caps.py` → 22 passed - `python -m tools.changelog_fragments check` → 50 changelog fragment(s) OK Not run: - Full offline suite locally — the CI test matrix is the line - `mkdocs build --strict` — no nav change; CI `build` covers the docs path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1287
Base: 3a388a1
Tip SHA: 86ad8f9
What changed
On tip
3a388a1, a first successfulagentdescent demostill taught aninitcommand thatplanrefuses. #1276 already named--model <model> [--base-url <url>]on leftoveralgorithms runrecipes and thedemo --algorithmfooter; the default path did not.agentdescent/cli.py, the default /--kind text/--kind skill_librarydemofooterown_steps(including the MCPdemonextlist) now add those flags on theinitline.init ./my-skillblocks in README,docs/start.md, and the first plugin-quickstart fence, and on the generateddocs/algorithms.mdcheatsheetinitline.tests/test_first_run_caps.pypins--model/--base-urlon those surfaces, includingdemo --kind text, and still asserts a bareinitwithout the flags writes placeholders andplanrefuses them.changelog.d/1287-demo-init-model-flags.md.No change to the placeholder-refusal behaviour of
init/plan. No model name is guessed.Verification
Tip SHA: 86ad8f9
Ran:
pytest -q -o addopts='' tests/test_first_run_caps.py tests/test_demo.py tests/test_init_key_aware_reflect.py→ 79 passedpython -m tools.gen_algorithms_docs --check→ docs/algorithms.md is up to datepython -m tools.changelog_fragments check→ 49 changelog fragment(s) OKpython -m tools.gen_api_docs --check→ docs/api.md is up to dateNot run:
mkdocs build --strict— no nav change; CIbuildcovers the docs path