WIP review needed: skills tranche 1 (store, attachment, shelf, use_skill) - #1327
Draft
santoshkumarradha wants to merge 16 commits into
Draft
santoshkumarradha wants to merge 16 commits into
santoshkumarradha wants to merge 16 commits into
Conversation
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (deepseek/deepseek-v4-flash)
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (deepseek/deepseek-v4-flash)
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com>
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (moonshotai/kimi-k3)
…e branch Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (z-ai/glm-5.3-flash)
…ed tool) Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com>
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (moonshotai/kimi-k3)
NodeBrief.Skills was plumbed but nothing in live flow populated it. The brief pass now composes each leaf's attachment from the shelf the caller hands the build frozen: skills the goal names outright first, then deterministic cue/scope retrieval behind them (function words never count as cues, a single shared word is coincidence, three candidates at most). The same order is written onto the node, journaled on the node brief and rendered into the worker's instruction beside the working method; a leaf with nothing attached renders byte for byte what it rendered before. RenderSkillsBlock and SkillEntry move from orchestrate to plan, beside ComposeSkills: the executor cannot import orchestrate (it imports the subharness, which imports the executor), and a render the worker brief cannot call is a render that never runs. Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (z-ai/glm-5.3-flash)
Both brief-journaling builds (the main plan and the remainder replan) now read the active shelf once and hand it to plan.Build frozen, and each dispatched leaf carries its plan node's attachment onto the task that runs it. A store with no shelf composes nothing and changes no prompt. Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (z-ai/glm-5.3-flash)
Co-Authored-By: CodeAF <267109073+agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (z-ai/glm-5.3-flash)
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com>
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com> Assisted-by: CodeAF (moonshotai/kimi-k3)
santoshkumarradha
force-pushed
the
skills/tranche-1
branch
from
September 21, 2026 03:13
8c2be8f to
c4f5e3c
Compare
Co-Authored-By: CodeAF <267109073+agentfield-bot@users.noreply.github.com>
… diff Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com>
Co-Authored-By: codeaf <agentfield-bot@users.noreply.github.com>
Co-Authored-By: CodeAF <267109073+agentfield-bot@users.noreply.github.com>
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.
Summary
Design
Test state
go build ./...- clean.go test ./internal/plan/... ./internal/orchestrate/... ./internal/session/... ./internal/store/... ./internal/resident/... -count=1 -timeout 30m- all ok: plan 1.208s, orchestrate 0.598s, session 272.439s, store 14.302s, resident 17.970s.go test ./internal/exec/ -count=1 -timeout 20m- ok, 259.328s (added beyond the list above because internal/exec/linear.go, the render site, changed).Notes
make changelog-new PR=<n> KIND=changed SLUG=skills-tranche-1.—
Drafted with CodeAF · reviewed and owned by the author- Carried non-skill hunks, named for reviewers:
internal/session/task_run.go(resumeTree canonicalizes the checkpoint dir; a legacy/varvs/private/varmismatch made a macOS test permanently red) andquestionlifecycle_test.go/task_rename_compat_test.go(two time-bombed assertions that went red Sep 17 when the day-leading stamp law landed). Both were proven pre-existing by running against a pristine archive of the base.