Skip to content

feat(skill): fix and update dir skills - #2004

Merged
tkircsi merged 1 commit into
mainfrom
feat/update-dir-skills
Aug 11, 2026
Merged

tkircsi merged 1 commit into
mainfrom
feat/update-dir-skills

Conversation

@tkircsi

@tkircsi tkircsi commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes incorrect guidance in the agntcy-dir agent skill and fills gaps that
caused agents to fail or report success wrongly. All behaviour below was
verified against dirctl v1.6.3, not read off the structs.

authoring.md — import enrichment was documented wrong. The no-LLM path
told users to set enricher.skip_enricher: true with skills/domains
directly under enricher:. skip_enricher does not exist in the codebase, and
the real schema is enricher.llm / enricher.static / enricher.extractor.
Because the import config parser is not strict, the bogus keys were silently
discarded and import fell back to the LLM enricher — so following the
documentation verbatim fails with AZURE_OPENAI_API_KEY is required, the exact
opposite of the promised no-credentials path. Replaced with the three real
blocks, added the previously undocumented extractor (LLM-free, needs
dirctl init), and added a full import.config.yaml reference with the
flags-override-file precedence and the dry_run: true gotcha.

setup.md — daemon configuration. dirctl daemon config init was missing
entirely. Documented it, plus three silent failure modes: the config is not
auto-discovered (daemon start ignores <data-dir>/daemon.config.yaml unless
--config is passed), --config replaces the defaults rather than merging,
and --data-dir/--config are parent flags so status/stop need the same
--data-dir as start. Added a throwaway-test-setup workflow for agents
validating configs without touching the user's directory.

setup.md — contexts and auth. Documented all 15 context keys (only 4 were
listed) and that the parser rejects unknown keys, that there is no
context add/create subcommand, and doctor.bootstrap_peers. For auth:
bare auth login when a context supplies the issuer, the --force requirement
after changing oidc_scopes (login is a no-op with a cached token, so scope
changes silently do not apply), and how to read the auth status token line.

SKILL.md — authentication is not authorization. A valid token says
nothing about what the caller may do. Gateways enforce per-method access
control, so PermissionDenied on push/sign/routing publish is an
entitlement problem that re-logging-in cannot fix. Added as a CLI convention
plus a dispatch row for auth intents.

@tkircsi
tkircsi requested a review from a team as a code owner August 11, 2026 13:23
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Aug 11, 2026
@tkircsi tkircsi added kind/feature Categorizes issue or PR as related to a new feature. area/dir labels Aug 11, 2026

@akijakya akijakya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tkircsi
tkircsi merged commit ba7553d into main Aug 11, 2026
33 checks passed
@tkircsi
tkircsi deleted the feat/update-dir-skills branch August 11, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dir kind/feature Categorizes issue or PR as related to a new feature. size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants