docs: add existing-solutions preflight guardrail (#86608) · openclaw/openclaw@5862860
cablackmon
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,6 +8,7 @@ Skills own workflows; root owns hard policy and routing.
|
8 | 8 | - Repo: `https://github.com/openclaw/openclaw` |
9 | 9 | - Replies: repo-root refs only: `extensions/telegram/src/index.ts:80`. No absolute paths, no `~/`. |
10 | 10 | - Docs/user-visible work: `pnpm docs:list`, then read relevant docs only. |
| 11 | +- Existing-solutions preflight: before proposing or building a custom system, feature, workflow, tool, integration, or automation, do a lightweight check for open-source projects, maintained libraries, existing OpenClaw plugins, or free platforms that already solve it well enough. Prefer those when adequate. Build custom only when existing options are unsuitable, too expensive, unmaintained, unsafe, non-compliant, or the user explicitly asks for custom. Avoid paid-service recommendations unless the user explicitly approves spend. Keep this to a brief preflight gate, not a broad research assignment. |
11 | 12 | - Fix/triage answers need source, tests, current/shipped behavior, and dependency contract proof. |
12 | 13 | - Reviews/answers: high confidence required. Default to exhaustive relevant codebase search/read, including owners, callers, siblings, tests, docs, and upstream/dependency contracts before verdict. Diff-only review is insufficient. |
13 | 14 | - Review default: read the whole changed function/module plus callers, callees, sibling implementations, adjacent tests, scoped docs, and dependency/Codex contracts before saying `good`, `bad`, `best fix`, `proof sufficient`, or posting a comment. If challenged, keep reading first; do not defend the earlier verdict until the missing path is checked. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -45,6 +45,10 @@ cp docs/reference/AGENTS.default.md ~/.openclaw/workspace/AGENTS.md
|
45 | 45 | - Before changing config or schedulers (for example crontab, systemd units, nginx configs, or shell rc files), inspect existing state first and preserve/merge by default. |
46 | 46 | - Don't send partial/streaming replies to external messaging surfaces (only final replies). |
47 | 47 | |
| 48 | +## Existing solutions preflight |
| 49 | + |
| 50 | +Before proposing or building a custom system, feature, workflow, tool, integration, or automation, do a brief check for open-source projects, maintained libraries, existing OpenClaw plugins, or free platforms that already solve it well enough. Prefer those when adequate. Build custom only when existing options are unsuitable, too expensive, unmaintained, unsafe, non-compliant, or the user explicitly asks for custom. Avoid paid-service recommendations unless the user explicitly approves spend. Keep this lightweight: a preflight gate, not a broad research assignment. |
| 51 | + |
48 | 52 | ## Session start (required) |
49 | 53 | |
50 | 54 | - Read `SOUL.md`, `USER.md`, and today+yesterday in `memory/`. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -33,6 +33,10 @@ git commit -m "Add agent workspace"
|
33 | 33 | - Don't run destructive commands unless explicitly asked. |
34 | 34 | - Be concise in chat; write longer output to files in this workspace. |
35 | 35 | |
| 36 | +## Existing solutions preflight |
| 37 | + |
| 38 | +Before proposing or building a custom system, feature, workflow, tool, integration, or automation, do a brief check for open-source projects, maintained libraries, existing OpenClaw plugins, or free platforms that already solve it well enough. Prefer those when adequate. Build custom only when existing options are unsuitable, too expensive, unmaintained, unsafe, non-compliant, or the user explicitly asks for custom. Avoid paid-service recommendations unless the user explicitly approves spend. Keep this lightweight: a preflight gate, not a broad research assignment. |
| 39 | + |
36 | 40 | ## Daily memory (recommended) |
37 | 41 | |
38 | 42 | - Keep a short daily log at memory/YYYY-MM-DD.md (create memory/ if needed). |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -66,6 +66,10 @@ Capture what matters. Decisions, context, things to remember. Skip the secrets u
|
66 | 66 | - `trash` > `rm` (recoverable beats gone forever) |
67 | 67 | - When in doubt, ask. |
68 | 68 | |
| 69 | +## Existing Solutions Preflight |
| 70 | + |
| 71 | +Before proposing or building a custom system, feature, workflow, tool, integration, or automation, do a brief check for open-source projects, maintained libraries, existing OpenClaw plugins, or free platforms that already solve it well enough. Prefer those when adequate. Build custom only when existing options are unsuitable, too expensive, unmaintained, unsafe, non-compliant, or the user explicitly asks for custom. Avoid paid-service recommendations unless the user explicitly approves spend. Keep this lightweight: a preflight gate, not a broad research assignment. |
| 72 | + |
69 | 73 | ## External vs Internal |
70 | 74 | |
71 | 75 | **Safe to do freely:** |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -36,3 +36,5 @@ data:
|
36 | 36 | # OpenClaw Assistant |
37 | 37 | |
38 | 38 | You are a helpful AI assistant running in Kubernetes. |
| 39 | + |
| 40 | + Before proposing or building a custom system, feature, workflow, tool, integration, or automation, do a brief check for open-source projects, maintained libraries, existing OpenClaw plugins, or free platforms that already solve it well enough. Prefer those when adequate. Build custom only when existing options are unsuitable, too expensive, unmaintained, unsafe, non-compliant, or the user explicitly asks for custom. Avoid paid-service recommendations unless the user explicitly approves spend. Keep this lightweight: a preflight gate, not a broad research assignment. |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。