Repository navigation
feat(skills): shared authoring standards make learned skills routable - #115103
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 12:26 PM ET / 16:26 UTC. ClawSweeper reviewWhat this changesThis PR centralizes learned-skill authoring guidance across four creation paths and changes deterministic correction capture to generate more task-specific skill names, descriptions, and procedural bodies. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 5 items remain Keep this PR open for human review. The shared standards module is a coherent way to prevent prompt drift, but the supplied evidence is still test and CI output only; it does not directly demonstrate a real correction capture being routed successfully in a later session. The Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s self-learning paths turn conversation corrections and reviewed histories into pending Skill Workshop proposals. Those proposals become skills whose names and descriptions are used by the skill index to route later matching tasks. flowchart LR
A[User corrections and histories] --> B[Durable instruction detection]
B --> C[Proposal name and description generation]
C --> D[Skill Workshop pending proposal]
D --> E[Applied learned skill]
E --> F[Skill index routing]
F --> G[Later matching task]
Decision needed
Why: This is a user-visible policy change to persistent learned-skill proposal identity and routing, not merely a mechanical prompt deduplication; the protected maintainer label requires an explicit decision after proof is available. Before merge
Agent review detailsSecurityNone. PR surfaceSource +480, Tests +1007, Docs +6. Total +1493 across 12 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one shared authoring-standard source, then add redacted real-workspace evidence that a correction creates the intended pending proposal, avoids an unwanted duplicate against existing proposal state, and is selected for a later matching task. Do we have a high-confidence way to reproduce the issue? Unclear for a high-confidence live reproduction. The branch and focused tests establish the intended extraction and generated-output path, but no inspectable real-workspace capture followed by later-session routing has been provided. Is this the best way to solve the issue? Unclear. A shared standards module is the maintainable way to align the four authoring paths, but the deterministic identity change needs real routing and existing-proposal evidence before it can be confirmed as the best policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d5dee714c4ff. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
63936d9 to
086b2a1
Compare
086b2a1 to
288b7cb
Compare
|
Maintainer landing disposition for exact head
The fresh Codex autoreview produced two genuinely new findings, both fixed before this head: literal trailing-dot command arguments are preserved, and syntactically explicit directives are no longer dropped solely because their verb is outside the finite action vocabulary. The previously rejected imperative/prose and possession/past-perfect heuristic class remains an accepted tradeoff and was not expanded further. |
|
Merged via squash.
|
…etwork-none * origin/main: feat(skills): shared authoring standards make learned skills routable (#115103) fix(matrix): suppress previews for modifying hooks fix: prevent node gateway hangs and runaway local inference (#115248) refactor(ui): adopt @lit/task across remaining page surfaces (#115274) fix(slack): cap chat.update edit text at the 4000-char limit, not the 8000 send limit (#115027) [AI-assisted] docs: recommend Node 26 in quickstart, landing, and platform install docs (#115064) refactor(workboard): tidy Control UI card execution helpers (#115195) perf(agents): amortize history-limit eviction with hysteresis (#115273) (#115281)
…-20260728 * origin/main: fix(tui): order delayed prompts before completed replies (#115219) feat(macos): enable Computer Control by default and diagnose stale Accessibility grants (#115280) fix(qa): restore full-stack scenarios and truthful suite exits (#115290) feat(memory): backfill past sessions from Control UI (#115266) docs: link macOS onboarding pages to app download (#111361) feat(skills): shared authoring standards make learned skills routable (#115103) fix(matrix): suppress previews for modifying hooks fix: prevent node gateway hangs and runaway local inference (#115248) refactor(ui): adopt @lit/task across remaining page surfaces (#115274)
* origin/main: (62 commits) feat(macos): enable Computer Control by default and diagnose stale Accessibility grants (openclaw#115280) fix(qa): restore full-stack scenarios and truthful suite exits (openclaw#115290) feat(memory): backfill past sessions from Control UI (openclaw#115266) docs: link macOS onboarding pages to app download (openclaw#111361) feat(skills): shared authoring standards make learned skills routable (openclaw#115103) fix(matrix): suppress previews for modifying hooks fix: prevent node gateway hangs and runaway local inference (openclaw#115248) refactor(ui): adopt @lit/task across remaining page surfaces (openclaw#115274) fix(slack): cap chat.update edit text at the 4000-char limit, not the 8000 send limit (openclaw#115027) [AI-assisted] docs: recommend Node 26 in quickstart, landing, and platform install docs (openclaw#115064) refactor(workboard): tidy Control UI card execution helpers (openclaw#115195) perf(agents): amortize history-limit eviction with hysteresis (openclaw#115273) (openclaw#115281) fix: schema-version refusal blames a downgrade that never happened and cannot identify the stale install (openclaw#115232) fix: restore Fish completion after global CLI options (openclaw#115222) refactor(agents): collapse the client-tool catalog branch (openclaw#115212) fix(macos): signed rebuild no longer stalls on app shutdown (openclaw#103957) fix(agents): prevent repeated Code Mode output across waits (openclaw#115213) refactor(ui): split Profile (identity) from Usage (statistics) (openclaw#115245) fix(channels): report a channel that cannot receive as unhealthy instead of connected (openclaw#115229) fix(cli): reject malformed infer model refs (openclaw#115225) ...
…openclaw#115103) * feat(skills): share authoring standards * fix(skills): derive routable autocapture proposals * docs(skills): document proposal authoring standards * refactor(skills): simplify autocapture derivation * fix(skills): preserve explicit reflection rules * docs(skills): state the accepted heuristic-detection tradeoff * fix(skills): preserve explicit directive syntax * style(skills): keep signal parser within ratchets
What Problem This Solves
Autonomous skill proposals are unroutable. A deterministic correction capture produced
learned-workflows, the generic description "Reusable workflow notes for repeatable tasks.", and a raw-transcript body. A fresh session did not load that skill for a matching task because the skill index routes on names and descriptions, and neither contained a usable trigger.Why This Change Was Made
This adds one shared authoring-standards prompt module consumed by
/learn, experience review, history scan, and theskill_workshoptool description. It requires trigger-first one-sentence descriptions, class-level names, compact procedural bodies with pitfalls and verification, token-efficient language, grounded flags/paths/APIs, and durable fixes rather than failure transcripts.Deterministic correction capture now derives a class-level name and trigger-first description from the captured rule itself, without a model call or hardcoded topic buckets. It renders normalized imperative bullets instead of transcript-shaped prose while leaving grouping and revision caps unchanged.
AI-assisted: I reviewed the implementation and understand the changed behavior. A fresh autoreview found no remaining accepted or actionable findings.
User Impact
Skills learned from corrections carry enough routing signal to be discovered in later matching sessions. For the correction "From now on when I ask for date reformatting: ISO 8601 output, ISO week number in parentheses, sorted chronologically.":
learned-workflows— "Reusable workflow notes for repeatable tasks."date-reformatting— "Date Reformatting: Use ISO 8601 output; Include ISO week number in parentheses; Sort chronologically."Evidence
src/skills/research/signals.test.ts.src/skills/workshop/skill-authoring-standards.test.tsand the tool tests.node scripts/run-vitest.mjs src/skills/workshop src/auto-reply/reply(Testbox run). All changed-surface workshop and/learntests passed. The broad existing auto-reply directory finished with 573 files / 10,935 tests passing and 14 unrelated files / 19 tests failing; isolated reruns shown in the same run passed the relevant timeout/order-sensitive cases. This branch does not modify those failing files.node scripts/check-changed.mjs -- <changed files>reached all branch-owned checks green (Testbox run); the only remaining gate was untouched Plugin SDK API baseline drift, and no generated Plugin SDK manifests were changed.git diff --check, and both max-lines ratchets passed.