Skip to content

feat(skill): cover v1.8 identity claims, content policies and runtime workloads - #2378

Merged
lgecse merged 1 commit into
agntcy:mainfrom
vivekkrishna:feat/skill-v1.8
Oct 19, 2026
Merged

lgecse merged 1 commit into
agntcy:mainfrom
vivekkrishna:feat/skill-v1.8

Conversation

@vivekkrishna

Copy link
Copy Markdown
Contributor

Problem

The agntcy-dir skill doesn't cover most of what v1.8 added. It has one dirctl identity claim line and says the key must be "published (DNS TXT, JWKS, DID)", with no steps for producing the value. It has nothing on content policies, the reconciler prune/sync/publish jobs, or dirctl runtime list. Some of the text is wrong:

  • authoring.md still describes https:// name ownership verification, which was removed with naming.v1.
  • The example record in authoring.md fails OASF 1.0.0 validation: unknown skill name, docker-image locator type, url instead of urls, unknown domain technology. The static enricher example uses the same bad skill and domain.

Change

  • New references/identity.md:
    • choosing a subject (DNS, HTTPS, did:web, did:key, SPIFFE, ANS) and where its key is published
    • generating a key and building the DNS TXT akv1 value, JWKS entry or did.json, in bash and PowerShell
    • declaring the annotation before the push, then identity claim and identity status
    • a troubleshooting table keyed on the verifier's error strings
    • key rotation, and the claim search filters
  • New references/policy.md:
    • operation vs. evaluation policies
    • daemon policy dry-run, then shadow, then enforce (search first, then fetch), and rollback
    • PolicyAuditService
    • the prune (signature_statuses / trusted), sync and publish jobs
    • SPIFFE and ANS settings for identity verification
    • v1.8 upgrade notes
  • authoring.md:
    • names are now described as unverified labels, with a pointer to agntcy.dir/owner
    • example record and static enricher fixed so they validate
    • the LLM enricher's dir-mcp requirement
  • publishing.md: push --sign, a claim step in the pipeline, and a note that the owner annotation has to be set before the push.
  • verification.md: --owner-verified / --identity-verified / --owner, and a note to show the subject next to the status.
  • discovery.md: running workloads with dirctl runtime list and its filters, reading locators (not addresses/ports).
  • setup.md:
    • the context sigstore.* keys
    • policy and the new reconciler jobs in the config init summary
    • WinGet, behind a winget search probe, since the package isn't in winget-pkgs yet
  • SKILL.md:
    • dispatch rows for the new references
    • Subject/Claim and Content policy in the vocabulary
    • locator type names corrected
    • prune and enforce listed as confirm-first operations
    • version 1.1.0
  • server/skill/SKILL.md: the bootstrap fetches and checks all nine references.

The --candidate help in reconciler/dryrun/flags.go still says "a validators list whose entries have op evaluate". The file is read as a policy.evaluations list, so the skill follows the docs, not the flag help.

Tests

  • Every command and flag the skill mentions was checked against --help of a dirctl built from this branch.
  • The DNS TXT value and JWKS produced by the skill's openssl snippets resolve to the signing key through resolvers/dns and resolvers/wellknown.
  • Local daemon, end to end:
    • The authoring.md example validates and pushes, with agntcy.dir/owner set to a P-256 did:key.
    • identity claim --role owner goes from null to verified, and the record is returned by search --owner-verified and --owner 'did:key:*'.
    • A claim signed with a different key fails with signature does not verify, which matches the troubleshooting table.
    • daemon policy dry-run with a CEL candidate evaluates 3 records, would exclude 2, and stores nothing.
  • go vet ./skill/... in server, and codespell on the changed files.

@vivekkrishna
vivekkrishna requested a review from a team as a code owner October 18, 2026 00:43
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Oct 18, 2026
… workloads

Add identity.md (choose a subject, publish the key, claim, check status,
fix failed claims) and policy.md (content policies, dry-run to enforce,
reconciler prune/sync/publish jobs, v1.8 node upgrade notes).

Remove the naming.v1 text from authoring, fix the example record and
static enricher taxonomy so they pass OASF 1.0.0 validation, and add
push --sign, claim search filters, runtime list, per-context Sigstore
settings, WinGet and the dir-mcp requirement of the LLM enricher.

Route the new references from SKILL.md and fetch them from the bootstrap.

Signed-off-by: Vivek Krishna Choppa <[email protected]>
@codecov

codecov Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lgecse
lgecse added this pull request to the merge queue Oct 19, 2026
Merged via the queue into agntcy:main with commit eb2a9ca Oct 19, 2026
34 checks passed
@vivekkrishna
vivekkrishna deleted the feat/skill-v1.8 branch October 19, 2026 22:02
@vivekkrishna

vivekkrishna commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Should we publish this skill owner verified in public ai catalog? Would serve as reference for others who want to publish @ramizpolic @lgecse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants