Repository navigation
docs: slim root agent instructions and clarify testing scope - #139236
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Ready to land at 265ed88. The root is 1,964 words smaller (8,902 → 6,938; 22%) and now explicitly scopes testing effort. Generic command gotchas and coding micro-style were removed; duplicated policy/workflows were consolidated; audit-specific invariants are retained in the existing audit reference behind a mandatory root read pointer. Production and test LOC deltas are zero. Validation passed: Exact-head CI is green: https://github.com/openclaw/openclaw/actions/runs/33980894215. No runtime/live proof is needed for instruction/documentation-only changes. The latest ClawSweeper comment is an acknowledgement, with no actionable findings or Rank-up moves. |
|
Merged via squash.
|
* commit '3e4becea5e2ce38ede69e8ecf5302805ecbfc09c': refactor: simplify outbound message execution context (openclaw#139107) fix(models): keep ordinary chat selections session-scoped (openclaw#139232) docs: slim root agent instructions and clarify testing scope (openclaw#139236) test(agents): give the sibling-drain completion wait a tolerance on slow runners (openclaw#139176) refactor(workboard): use canonical queries for card-tree writes (openclaw#139106) fix(canvas): recognize versioned macOS nodes (openclaw#138958) fix: load GitHub connections without a default agent (openclaw#139222) fix(memory): explain unsafe legacy host-event path recovery (openclaw#139195) refactor(talk): centralize typed voice session queries (openclaw#139103) fix(cli): preserve command dispatch and structured errors (openclaw#139067) refactor(agents): consolidate reply failure summaries (openclaw#139175) fix(auth): keep an unset default model unchanged during login (openclaw#139218) perf(media): reuse validated attachment read handles (openclaw#139168) refactor(channels): simplify account configuration updates (openclaw#139096) refactor(android): remove unused updater export root (openclaw#139198) fix(gateway): stop admitting post-ready producers during close (openclaw#139092) fix(gateway): expose agent hook completion outcomes (openclaw#139155) fix(config): return the saved configuration after plugin install commits (openclaw#139203) fix(android): reduce repeated retries to unreachable gateways (openclaw#138732)
…w#139236) * docs: clarify proportional testing and trim repeated agent rules * docs: remove root instruction clutter and scope audit invariants
What Problem This Solves
The root agent instructions mixed repository policy with repeated workflows, generic command gotchas, coding micro-style, and detailed audit implementation rules. Every task paid for that context, while the file still lacked an explicit stopping rule for successful validation.
Why This Change Was Made
Add the maintainer-requested guidance to avoid implementation-mirroring tests for reversible, low-impact changes and only broaden/repeat successful validation for new changes, failures, or unresolved concerns.
Reduce the root from 8,902 to 6,938 words (22%). Consolidate repair, compatibility, persistence, test, and PR guidance; remove generic tool syntax and prescriptive micro-style; route workflow mechanics to their owning skills. Replace detailed execution-identity rules with a mandatory full read of the existing audit reference. Add the constraints missing from that reference under Maintainer invariants, including approval-binding opt-in/absence, descriptor-safe admission, receipt liveness, and selector provenance.
User Impact
Less universal instruction context and clearer task-specific routing. Runtime behavior is unchanged. Required checks, meaningful regression/boundary coverage, source-trust rules, operator-instance protection, schema/config approvals, and exact-head landing gates remain in force.
Evidence
git diff --checkpassed.oxfmt --check AGENTS.md docs/gateway/audit.mdand targeted docs MDX validation passed using the canonical checkout's installed tooling; the task worktree has no node_modules.CLAUDE.mdremains a symlink toAGENTS.md.