Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep this PR open, but it is not merge-ready: current main has not implemented the requested progressive skill disclosure, while this branch is conflicting, still wired to moved agent/skills paths, lacks real OpenClaw runtime proof, and adds an undocumented global config surface. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature/config PR rather than a bug report with a failing current-main reproduction path. Is this the best way to solve the issue? Unclear as submitted: progressive disclosure may be a reasonable pilot, but the branch must be ported to current main and the global config/tool surface needs maintainer-approved docs plus real runtime proof. Security review: Security review cleared: No concrete security or supply-chain issue was found in the inspected diff; the new skill file reader is bounded to resolved skill directories and the PR does not change dependencies, workflows, locks, or secrets handling. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 66880a5d736c. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
Summary
Adds progressive skill disclosure as an opt-in overlay on the existing skill loading path, plus prompt-assembly and tool-call telemetry to support safer pilot evaluation.
Two commits:
f643ff03—feat: add progressive skill disclosure07f4a6bd—chore: add progressive skill telemetryBehavior
A new global config key
skills.promptModeselects the skill-prompt shape and which optional tools are registered. Modes:legacy(default)compactread-only fallbackviewskill_viewsearchskill_view,skill_searchSkill eligibility is unchanged: the same prompt-visible
resolvedSkillsregistry is used; only the shape of the prompt and the optional tool surface change.Important framing
legacy. Merging this PR does not change runtime behavior for any existing config.skills.promptModeis global-only in this phase. Per-agent override is intentionally out of scope for phase 1; pilot governance is operational unless/until a per-agent override is implemented.skillsSnapshotinto tool creation. This PR threadsskillsSnapshotthrough OpenClaw tool construction only on the paths that already produce it (attempt path, embedded compact runner). Other paths fall back to legacy mode.skills_prompt,skill_view,skill_search) to make pilot evaluation safer. Telemetry does not log raw query text —skill_searchrecords only query length and term count.What changed
src/agents/tools/skill-view-tool.ts,src/agents/tools/skill-search-tool.tsand tests.src/agents/skills/.skills.promptModeadded to TS config types and strict zod schema (src/config/zod-schema.ts);config:schema:genregeneratedsrc/config/schema.base.generated.ts.skillsSnapshotthreaded throughcreateOpenClawCodingTools->createOpenClawTools(src/agents/openclaw-tools.ts,src/agents/pi-tools.ts) and through the embedded compact runner (src/agents/pi-embedded-runner/compact.ts) so progressive prompts only advertise tools the same path actually registers.skill_view/skill_searchinvocation.Verification
Run from the source checkout used to produce this branch:
pnpm install --frozen-lockfileskill-search-tool.test.ts,skill-view-tool.test.ts,compact-format.test.ts— 5 files / 62 tests passedpnpm tsgo:core✓pnpm tsgo:core:test✓pnpm config:schema:check✓ (after regenerate)pnpm build✓git diff --check✓No live install. No gateway restart. PR/push only.
Operation
OP-014 — Skills Progressive Disclosure. Originated by Sergent-Skills with implementation lanes coordinated by that role; source-maintainer review and PR submission performed by Sapeur per Corps officer boundary.