Design
Dex Trove — Implementation Checklist
Living checklist; update as work lands. Design: DESIGN.md.
Legend: [x] done · [~] in progress / partial · [ ] todo
Phase 0 — Research & design
- Survey Ananke registry contract (manifest schema, python importer, ≤4-part wheel depth,
ananke://refs) - Survey awesome-copilot layout (skills, agents, instructions, hooks, workflows, plugins) and licensing
- Survey first-party skills (
Skills/), flag AWS icon redistribution - Verify candidate source licences via GitHub API (2026-10-19)
- Design doc (
DESIGN.md) and this checklist
Phase 1 — Package core
-
pyproject.toml(hatchling,dexscript, trove force-include into wheel) -
— folded into dataclasses inmodels.pysources.py/adapters.py/learn.py(no pydantic dependency) -
licenses.py— SPDX normalise, text fingerprints, deny markers, expression evaluation -
frontmatter.py— tolerant YAML frontmatter parsing -
sources.py+sources.yaml— load, git shallow fetch @ ref, local override, commit pin - Adapters:
agent-skills,awesome-copilot,md-agents - Guards: size, symlink, junk, secrets, exec tagging, duplicates, name slug/collision
- Normaliser: verbatim copy +
ananke.yaml+dex.json+LICENSE.upstream+ item SemVer bump - Catalog,
EXCLUDED.json,trove.lock.json,THIRD_PARTY_NOTICES.md - CLI:
sources learn validate list search show install license ananke notices docs
Phase 2 — Learn the initial trove
- Learn first-party
neo-pragnya(icons excluded) - Learn
awesome-copilot - Learn
anthropic(expect docx/pdf/pptx/xlsx denied) - Learn
superpowers - Review
EXCLUDED.jsonfor false positives
Results so far (2026-10-19)
- Learned 970 items: awesome-copilot 937 (435 skills, 222 agents, 192 instructions, 72 plugins, 8 hooks, 8 workflows), superpowers 15, anthropic 14, neo-pragnya 4. 37 excluded: 32 canvas-only plugins (out of scope), anthropic docx/pdf/pptx/xlsx (proprietary text), anthropic doc-coauthoring (no licence at all).
- Found during learn and fixed: nested licences (OFL fonts in anthropic/canvas-design → recorded as
components; strict filenames sopdftk-server-license.mddocs aren’t mistaken for terms); Apache declared only in frontmatter (7 items) → canonical Apache text shipped asLICENSE.upstream; first-party URLs point into Dex-Trove. - Wheel 15 MB / sdist 11.6 MB; every
ananke.yamlat wheel depth 4. All 970 manifests pass Ananke’sArtifactManifest. ananke registry learn python:dex-trove(clean venv, installed wheel): 961 registered, 9 refused by Ananke’s secret scanner — all placeholders in security-teaching content ("PINECONE_API_KEY",sk_live_…). Dex now mirrors those rules →secret_flags+ tagananke-secret-flag;dex ananke syncskips them unless--include-flagged. Full sync: 961 registered, exit 0; re-sync is idempotent (skipped); bundles resolve to members.
Phase 3 — Ananke integration
-
dex ananke syncviaananke registry learn - Verify with local Ananke venv: register a sample of items,
ananke registry searchfinds them - Verify
ananke registry learn python:dex-troveagainst an installed wheel - Ananke follow-up: placeholder-aware secret rule or per-artifact allow-list (9 false positives today)
- Propose Ananke
[dex]extra +[troves]policy setting (separate PR in Ananke-Plexus)
Phase 4 — Docs site
-
dex docs export→ Astro content + JSON - Astro site: home, catalog search, per-item page, sources & inspirations, excluded, design
-
astro buildpasses locally - GitHub Pages workflow
Phase 5 — Quality & release
- pytest suite (licences, adapters, normaliser, CLI, Ananke manifest validity)
- ruff clean
- CI workflow (validate, tests, docs build)
- Release workflow (uv build → PyPI trusted publishing on tag)
- Scheduled learn workflow (opens PR)
- README with quickstart
- Pushed to GitHub
main; Pages enabled (build from Actions);pypi/testpypienvironments created - Live site: https://neo-pragnya.github.io/Dex-Trove/ (all six workflows green on 434c062: ci, security, codeql, scorecard, workflow-lint, docs)
- First CI round surfaced and fixed: gitleaks hits on placeholder examples quoted in docs (elided; pushed commit
allow-listed like Ananke), and
dex ananke syncnot findinganankein an unactivated venv (now looks beside the interpreter) - First release
v0.1.0(TestPyPI → PyPI), tag + GitHub Release: blocked on publish credentials (see below) - Owner action: add PyPI/TestPyPI trusted publishers (project
dex-trove, repoNeo-Pragnya/Dex-Trove, workflowsrelease-pypi.yml/release-testpypi.yml, environmentspypi/testpypi) for future tags
Results — docs & quality (2026-10-19)
astro check: 0 errors / 0 warnings;astro build: 975 pages (970 items + home, catalog, sources, excluded, design).- Verified rendering with headless Chrome at 1280 px and a true 390 px (iframe), in dark mode: no horizontal page scroll.
- Relative upstream image paths broke Astro’s asset pipeline (
skills/napkin): export now pins them to upstream URLs. - 31 tests pass; ruff check + format clean;
dex validate→ 970 items valid (with Ananke 0.3.4, same as PyPI). - README commands verified end to end: claude / copilot / dir installs, plugin → members, hooks gated by
--allow-exec.
Phase 6 — Ananke-parity release engineering & documentation (2026-10-20)
- Mirror Ananke config:
uv.lock+uv sync --all-extras, Makefile (same targets incl.publish-*),.env.example,.pre-commit-config.yaml,.trivyignore,.gitleaks.toml, CHANGELOG (Keep a Changelog), CONTRIBUTING, SECURITY, CODE_OF_CONDUCT - mypy strict (clean); coverage 85 % (CI floor 80 %); 39 tests
- Workflows mirroring Ananke: ci (3.11–3.14 matrix + wheel smoke test with Ananke + docs build), release-pypi and release-testpypi (build once → Trivy → attest → OIDC publish, token fallback, idempotent if already published), security (Trivy package gate + non-blocking trove scan, Semgrep, pip-audit, gitleaks), codeql, scorecard, workflow-lint, dependency-review, docs (Pages), learn (weekly PR); all actions SHA-pinned
- actionlint clean; zizmor clean (fixed cache-poisoning in release builds and workflow-level
security-events) - pip-audit: no known vulnerabilities
- Documentation set (Ananke-style): overview, 6 concepts, 7 guides, 8 references (CLI verified against
--help, Python API examples executed, manifests quoted from the real trove) - Website: docs section (sidebar, on-page TOC, prev/next, edit links,
.mdlinks → routes), rich item pages (at a glance, upstream metadata, hook events, bundled items, part-of, related, files with sizes + pinned links, install matrix), featured first-party skills, theme toggle, copy buttons, 404; 999 pages; 0 broken internal links / anchors - Re-learned all sources at latest upstream (awesome-copilot
613efc8, unchanged → 937 items)
Phase 7 — Privacy, new identity, motion, sibling sites (2026-10-20)
-
.dexignore(in the source’s own folder) + user-level~/.config/dex-trove/ignore([source:]pattern): ignored items are skipped silently (not copied, not in EXCLUDED.json or the lock); tests added - Personal first-party skills hidden via
Skills/.dexignore(names kept out of this repo) and removed from the trove; git history rebuilt so no commit contains them - Identity: “Dex Trove — a trove of dexterities for your agents” (Dexterity Trove) across site, README, package
- Pastel light theme by default (crimson-orange, lemon, chartreuse, turquoise, lilac, sky, pink on warm off-white), dark as an opt-in toggle; text colours verified ≥ 5.5:1 contrast
- Graphify-inspired interactions via motion-kit: morphing kind glyphs (each kind = rest → hover shape), a
cursor-reactive shape field in the hero, scramble headings, blur reveals, count-ups, tilt/spotlight cards,
marching-ants CTAs, sources marquee; reduced-motion and
?motion=staticrespected; lazy glyph init for the 968-card catalog - New first-party skills registered (Claude Code symlinks,
.skillpackages, learned into the trove):astro-docs-site(scaffolder + templates + link checker) andinteractive-web-motion(motion-kit) - Ananke Plexus: Astro site scaffolded with the skill (nav imported from mkdocs.yml), Dex Trove guide, Pages
via docs-site.yml; MkDocs kept only for the offline docs bundled in the wheel; committed on branch
feat/astro-docs-site(not pushed) - VICHARA: motion-kit layer (hero field around the orbit, morphing orbit centre, lens/doc-card glyphs + tilt,
reveals, count-up) keeping its green identity; lint/tests/build green; committed on branch
feat/interactive-visuals(not pushed) - Dex site: 999 pages, 27 701 internal links, 0 broken, 0 missing anchors (
check_site.py)
Phase 8 — Living diagrams, real Mermaid, gentler text effects (2026-10-20)
- Mermaid fixed at the root. The sanitiser stripped
language-*, so the client had to guess diagrams from their text. Nowremark-mermaidmarks real fences at build time, and Shiki highlighting is restored behind a strict style allow-list (rehype-class-namesnormalises Shiki’sclass). The renderer is lazy, themed from CSS tokens, re-renders on theme toggle, can expand and shows the source on failure. Verified on all Mermaid pages of the Dex, Ananke and VICHARA sites. - Scramble retired across the Dex, Ananke and VICHARA sites. Particle text, rotating words and letter hover waves (colour, weight and typeface) replace it.
- New first-party skill
living-diagrams(plexus.js, diagram-fx, term_flow.py, cdp_check.mjs): registered, packaged and learned into the trove. - Ananke: animated flows extracted from its infographics (intent to proof, governed execution, code graph, the verifiable pipeline), plus three walkthroughs built from real CLI output, a “See It in Action” guide, a PyPI link and a version chip.
- Released 0.1.1 to PyPI.
Phase 9 — Capability acceptance and release gate (2026-10-20)
-
acceptance/: Gherkin scenarios drive the real CLI in sandboxes (fresh project or maintainer checkout, isolated HOME). The harness is shared with Ananke Plexus (byte-identical copy). - Capability catalog with blockers, a Week-12-style gate (PROMOTE / CONDITIONAL / BLOCK) with evidence, and CLI surface coverage (12/12 commands).
- Learn fixtures cover every admission path: MIT, Apache (frontmatter), proprietary, none, bundled GPL, AWS key,
6 MB file, duplicate, scripts and
.dexignore. Secrets and big files are generated at runtime. - Browser journeys (real headless Chrome via CDP): search/filters, item page, Mermaid render + hover,
highlighting, theme, 404, 390 px. Run in
docs.ymlbefore deploy. - The wheel-mode run found and fixed
trove_root()preferring the wheel over the working checkout. - Known issues fixed in 0.1.2: duplicate detection within a single learn run;
installrefusals exit 1. - New first-party skill
capability-acceptance(harness + scaffolder + probe + journeys) learned into the trove.
Phase 10 — Package scanners and quarantine (2026-10-22)
- Scanned the published 0.1.4 wheel and sdist with free tools: gitleaks, pip-audit, Grype, Trivy, GuardDog, Bandit.
No vulnerable dependencies. Secret-shaped strings were found in 9 trove items and in
tests/conftest.py. - Secret-shaped items are now excluded (
secret-shaped); test credentials are assembled at runtime. -
licensedeclaresMIT AND Apache-2.0 AND OFL-1.1;tests/test_packaging.pykeeps it in step with the trove. - Fixed: items sharing a name across kinds (34 ids) lost their version history on every learn.
-
scripts/scan_dist.py+make scan; the release workflow’sdist-scanjob blocks publish on secrets or vulnerable dependencies and uploads the report..gitleaks.tomllists the two reviewed false positives. - New first-party skill
package-security-scan(scan script, CI job, gitleaks template, quarantine guide) learned into the trove (0.1.6). - Heuristic hits remain on third-party scripts in the trove (base64 icons, detached spawn, env-var keys). They’re inherent to a skill library. Option: split the content into its own distribution.
Phase 11 — Three-repo plan: discovery facets and Claude installs (2026-11-01)
Backlog: Ideation/Ananke-DexTrove-DevAcharya/Dev_Guru_Three_Repo_Implementation/Planning/unified-backlog.json.
- Claude Code install check:
- live: a skill installed by
dex installappeared in the running session; - all 468 skills load as is;
- 158 agents’ Copilot
toolscouldn’t launch, so they’re now adapted at install; - overwrite guard plus manifest.
- live: a skill installed by
- ASM-D01 taxonomy 1.0.0 with validators (unknown dimension, duplicate id, alias collision, deprecated migration, SDLC/ADLC distinct).
- ASM-D02 facets.json sidecar with provenance:
- curated, native, rules and derived values;
- deterministic and idempotent;
- upstream bytes untouched;
- checked by
dex validate.
- ASM-D03 faceted CLI search: OR within, AND across,
--not,--strict, cursor, disjunctive counts, no silent relaxation, golden tests. - ASM-D04 (first cut) catalog facet rail + item “Where it fits”; browser journey for CLI parity, keyboard and URL state, 390 px.
- ASM-D05 education: which-artifact-when (ten pairs, decision tree, real examples) and finding-capabilities.
- ASM-D07 (start) reuse through sidecars: 25 existing skills curated without forking.
- ASM-D04 taxonomy landing pages (
/discover/by-task/…), “why excluded” popovers. - ASM-D06 typed relations: curated requires/complements/alternative-to with evidence; derived part-of,
forked-from, replaced-by; inferred similar. Dangling refs and requires cycles fail validate; no type claims
compatibility. Shown grouped on item pages and in
dex related.
Phase 12 — Capability memory releases (2026-11-02)
- DEX-MEMORY-RELEASES / CAP-versioned-registry-01..04:
- append-only, immutable release ledger, checked in CI with
validate --since HEAD~1; - version uniqueness;
- yank and deprecate with a replacement;
- fork lineage;
- project locks;
- pinned installs fetched from upstream Git and verified against the digest;
- v1/v2 coexistence tested.
- append-only, immutable release ledger, checked in CI with
- Reviewed candidate gate: failed or thin evaluation, missing or rejected review, re-evaluation after review, and internal-to-public publishing are all refused.
- Site: live counts on the kind, source and licence panels; artifact kinds in depth (journey, harness sequence, progressive disclosure, per-kind lifecycles, Ananke flow, safety).
- Fixed: maintainer commands that change the ledger or publish candidates need a checkout found from the current directory, not the dev-install fallback.
- CAP-catalog-discovery-01: derived
needsfacet (required runtimes) next toplatform(supported clients). - CAP-catalog-discovery-03: install checks verified by Dex, kept apart from self-reported metadata; no telemetry.
- CAP-catalog-discovery-04 / ASM-D09: curation and feedback through GitHub issue forms (identity, moderation, permanent record); Insights page for version and fork activity.
- CAP-skill-harvesting-04:
dex overlapbenchmark and two curated alternative-to pairs. - ASM-D08:
dex ananke handoff, resolve-only exact pins. - DEX-EDUCATION-MEMORY: capability-memory concept page.
- ASM-D07: reuse matrix per source, and a capability matrix for all 31 capabilities (existing ids, licence, gap, enhancement, Ananke reference). Fit is judged from descriptions: golden-task evaluation is not done.
- Golden-task evaluation of the capability matrix candidates.
- CAP-skill-harvesting: owner decision on ingesting Impeccable, BMAD and Spec Kit; URLs for GST and Acuta.
- Wrapper skills for
wrappercapabilities, once their Ananke operations exist. - ASM-D10: optional semantic-lite ranking (BM25 + taxonomy expansion); labelled eval; recall@10 0.04 → 0.67.
- First-party releases have no upstream commit, so older ones can’t be fetched. Move first-party skills into git.
- Candidate kinds beyond skills (agents, instructions).
- Curate more items; benchmark rule precision on a labelled sample.
Phase 13 — Local MCP servers (2026-11-11, 0.3.13)
-
dex mcp list|serve|call|config: a stdio MCP runtime on the standard library (initialize, ping, tools/list, tools/call; argument schemas checked; tool errors returned asisError). - Shared rules:
--allow-actionsplus the approval digest of the previewed plan for anything that acts; audit log; environment-only credentials; redaction;--rootconfinement; plain http only on loopback; same-host redirects; SARIF evidence index-evidence/forananke triage findings. - Servers: jenkins, kibana, github, sas, onboarding, browser, analytics (26 tracker tasks).
-
first-party/in the awesome-copilot layout, sourceneo-pragnya-mcp: a skill, agent and<server>-mcp-kitplugin per server (21 items). Partly answers “move first-party skills into git”. - Acceptance blocker
mcp-serversfrom the built wheel (stdio handshake, refused actions, SAS, onboarding, plugin install). - Verified against the real thing: browser lab (Playwright 1.48.2, installed Chrome); SAS draft on pandas 2 and 3.
- Record runs against a real Jenkins, Kibana or OpenSearch Dashboards, a sandbox GitHub repository, a Confluence space export, an organisation’s Copilot metrics and SAS output.
-
dex installof a*-mcp-kitplugin should also register its server (today:dex mcp config). - FUT-04: an opt-in, pinned Serena entry (telemetry off) through
dex mcp config.
Follow-ups / backlog
- Move the remaining
../Skillsfirst-party skills into git (first-party/exists since 0.3.13 for the MCP kits) so CI can re-learn them - Light-mode visual pass on the docs site (verified by screenshot)
- Enable
huggingface/skills,microsoft/skills,K-Dense-AI/claude-scientific-skills - Tune
md-agentsforwshobson/agents,VoltAgent/awesome-claude-code-subagents -
rulesadapter for awesome-cursorrules - Decision on CC-BY-SA (trailofbits/skills)
- Discovery mode: scan link lists (awesome-claude-code, awesome-mcp-servers) for new candidate repos + licences