Repository navigation
feat(s040): complete slice 040 (skills registry and progressive disclosure) - #48
Merged
Merged
Conversation
…d the slice opens Signed-off-by: Ayla Croft <aylacroft@proton.me>
…chers, the three tools, the prompt index, the /skills page, three bundled skills SKILL.md parsed to the agentskills.io specification with Trinity's keys under trinity:; three roots in precedence order with a per-file manifest check; a GenServer over ETS that scans at boot, writes the index rows on the first read, keeps statuses and versions across rescans, and watches the roots (inotify, polling without inotifywait); skills_list, skill_view and skill_file (a symlink-resolving jail) as reads; the index in the context tier under 033's 338-token reserve; conditional activation by registered tools and toolsets; /skills with badges, view, enable, disable, reindex and the load errors; mix trinity.skills.reindex; VERSIONS rows for yaml_elixir and file_system. Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
…ng backend on the gate's runners); TRINITY_SKILLS_POLL=1 forces the poll Run 35623752961: gate and fips have no inotifywait, the registry polls once a second, and the poll compares mtimes at one-second resolution, so an edit inside the file's first second was no change. Under the forced poll on this machine the edit arrives in about 1.2 s. Signed-off-by: Ayla Croft <aylacroft@proton.me>
…osure) PROOF.md with every criterion's evidence (the AC7 GIF under proof/, the AC8 dry run), NOTES findings and follow-ups, the coverage row (79.86 at dc9dc6b), and the ROADMAP row to done. Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
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.
Slice 040: skills as directories with a
SKILL.mdin the agentskills.io format (Trinity's keys undertrinity:), found under three roots in precedence order (project, user, bundled), parsed with a per-file digest manifest, indexed in theskillstable by a registry over ETS that watches the roots, and shown to the model by progressive disclosure: the index in the context tier under 033's 338-token reserve, the body onskill_view, a file onskill_filebehind a symlink-resolving jail. Conditional activation by registered tools and toolsets;/skillswith badges, view, enable, disable, reindex and the load errors;mix trinity.skills.reindex; three bundled skills (git-workflow,elixir-project-conventions,web-research).Evidence:
slices/040-skills-registry/PROOF.md(AC1 to AC8; the AC7 GIF underproof/),NOTES.md(seven findings, three follow-ups). The design point that mattered: the index rows are written on the registry's first read, not at boot (the test sandbox owns the one connection at boot).Gate on the final tree: run 35626556631, all four legs green.
Manual queue for G4: AC3 (the hot-reload test's output on both backends is in PROOF; or a live edit), AC7 (
proof/ac7-git-workflow.gif), AC8 (drop a downloaded skill into<data dir>/skills; the agent's dry run withanthropics/skills'skill-creatoris in PROOF).Signed-off-by: Ayla Croft aylacroft@proton.me