Repository navigation
feat(repo): guidance:format=xml and guidance:as-skill arms #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
napetrov
wants to merge
20
commits into
intel:main
Choose a base branch
from
napetrov:ce-formats
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
78457e2
feat(repo): guidance:format=xml and guidance:as-skill arms
napetrov e734e16
fix(repo): valid skill frontmatter and clean failures for guidance:as…
napetrov cf6ced2
fix(repo): guidance:format fences, symlink checks and LF-safe writes
napetrov 1db497b
List the new guidance arms in repo run help and the docs status
antonwolfy 6bd48b4
fix(repo): guidance fence openers, links through linked directories, …
napetrov 9b98c6a
test(repo): as-skill packages beside a skill the base ships, no colli…
napetrov e8dce33
Merge branch 'main' of https://github.com/intel/dokimi into pr333-lan…
napetrov d94e063
fix(format): a fence opened by a list item ends with the item
napetrov d1d0672
fix(format): list markers and tabs in fence openers and closers
napetrov 45f2f4f
fix(format): a fence on a list continuation line stays in its item
napetrov f9e8a34
Merge remote-tracking branch 'intel/main' into pr333-land1031
napetrov a333c8b
fix(format): annotate the render state so mypy keeps the item tuple type
napetrov 2c9b57c
fix(repo): as-skill collisions refused in preflight; tab after a list…
napetrov 9b5e4f2
fix(repo): a lazy paragraph continuation keeps the list item open for…
napetrov 78fb39b
test(repo): pin the lazy-line exclusions in fence tracking
antonwolfy 622017c
fix(repo): track empty list items and rules in guidance fences
napetrov d89a240
test(repo): pin the repo run call site of the generated-skill check
napetrov 1531c45
fix(repo): a lazy line continues a block quote's paragraph inside a l…
napetrov cbf5633
fix(repo): review fixes for the guidance format and as-skill arms
napetrov 42e4e5d
fix(repo): CRLF front matter stays above the root; an HTML comment en…
napetrov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
dokimi/changelog.d/20261031_120000_napetrov_guidance-format-arms.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| ### Added | ||
|
|
||
| - **`repo run` arms `guidance:format=xml` and `guidance:as-skill`** — the guidance files of the base, rendered as XML tags (each Markdown heading becomes a `<section>` element, checked to restore to the original file exactly), or moved into one skill directory (`.claude/skills/<repo>-guidance/SKILL.md`, the repo id made into an Agent Skills name). Both compare the same guidance content in another shape under the same model; `guidance:format=md` is refused as a duplicate of `guidance:raw`, and POML is not offered yet. |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must-fix: preflight accepts
guidance:as-skill+skill-catalog:skillswithexpected_skill="toy-guidance", but the runner passes onlymeta["skills"](e.g.['lint']) toskill_usage. A trace containingSkill('toy-guidance')therefore producesskill_invoked=Falseandskill_selected_correct=False, even though the expected skill was loaded. Keep generated-guidance usage separate, but either reject this expected-skill configuration or explicitly handle it in selection accounting. Extend the new acceptance test through result generation.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open decision: an expected_skill naming the generated guidance skill, on a catalog arm, is accepted (d89a240) but scored from the catalog usage only (runner.py:281), so it reads not invoked. Keep it accepted and count it in selection, or reject it in preflight? I recommend reject.