Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
中文简介正在准备中。当前显示原文说明。
Use when a learning, new skill, rule improvement, or bug fix from a consumer project should be contributed back to the shared agent-config package.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
learning-to-rule-or-skill skill identified something worth upstreamingupstream-proposal rule suggested a contribution and user agreedDo NOT use when:
Decide whether a learning, skill, rule, or fix from a consumer project is worth
contributing back to the shared agent-config package — and hand the ones that
are to the single outward step, which owns everything that leaves the machine.
THIS SKILL NEVER PUSHES, NEVER OPENS A PULL REQUEST, AND NEVER WRITES
A SECOND, HAND-CONDENSED COPY OF AN ARTIFACT.
EVERY BYTE THAT LEAVES — BRANCH NAME, COMMIT IDENTITY, COMMIT MESSAGE,
DIFF, TITLE, BODY — LEAVES THROUGH `self-repair:release`.
THE COMMIT IDENTITY IS NOREPLY BY CONSTRUCTION; THE REST IS SCANNED FOR
CREDENTIALS AND THE CONSUMER'S OWN NAMES ONLY. A NAME IN THE DIFF OUTSIDE
THOSE PASSES, AND SAYING SO IS THE POINT: AN UNSCANNED BYTE A READER
BELIEVES WAS SCANNED IS THE WORSE STATE.
A SECOND ROUTE WOULD BE A SECOND SET OF GUARANTEES.
self-repair:release carries the privacy floor over the record text, a
payload floor over every object it pushes, the may-not-modify deny list, the
route ladder (pull request, then issue, then a local record) and an approval
bound to the digest of the exact bytes. The per-turn Hard-Floor word is the
person's: they run --approve <digest> themselves. A checkbox in a skill
carries none of them, which is why this skill asks a worth it question and
nothing else.
It pushes one commit built on origin/main from the branch's net change, as
the account's noreply identity. The floor reads credentials and the consumer's
identifiers; a finding skips the push.
docs/contracts/retro-v1.md § Evidence thresholdsrc/ only; projections are regenerated, never hand-writtenTHE SAME ARTIFACT OVERRIDDEN IN INDEPENDENT INSTALLS IS THE CHEAPEST AVAILABLE
HINT THAT A SHIPPED DEFAULT IS WRONG. IT IS A HINT.
NEVER CHANGE A SHIPPED DEFAULT ON OVERRIDES FROM ONE ORGANISATION.
INDEPENDENT MEANS DIFFERENT TEAMS, NOT DIFFERENT DIRECTORIES.
agent-config doctor --check override-set reports which shipped artifacts a
tree overrides and in how many layers. Two same-culture installs overriding the
same artifact is n=2 from one toolchain culture, which is a discovery
channel and not a mandate — and the temptation to "just fix the default, we
already know" is exactly how a general package becomes one organisation's house
style.
What makes an aggregate admissible (package row of retro-v1.md):
Below that bar, the signal is one input to a future aggregate and nothing more. Record it and leave the default alone.
The signal carries no consumer content, by construction. Artifact kind, name and a layer count — the type has no field that can hold a path, a diff or anything from the tree, so privacy is the schema's shape rather than a scrubbing pass that could fail. Never widen it to make a proposal more persuasive; a proposal that needs the consumer's diff is a proposal that has not cleared the bar.
The shared agent-config package lives at:
git@github.com:event4u-app/agent-config.git
GitHub: https://github.com/event4u-app/agent-config
This step is NON-NEGOTIABLE. No exceptions.
Before ANY upstream work, ask the user:
> This [skill/rule/guideline] could improve the shared agent-config package.
> [Brief explanation of what would be contributed and why it's valuable]
>
> 1. Yes — hand it to the upstream step
> 2. No — keep it project-local only
Consent here authorizes the preparation. The send is a separate, per-turn word in step 6 and this gate never substitutes for it.
src/ is the only place an artifact is authored. ADR-201 copies every .md
verbatim into the projections, so there is no second version to write and no
condensation ratio to hit.
| Type | Source path |
|---|---|
| New skill | src/skills/{name}/SKILL.md |
| New rule | src/rules/{name}.md |
| New command | src/domains/{domain}/{name}/command.md |
| New guideline | docs/guidelines/{category}/{name}.md |
| Update to existing | Same path as original |
Create an override so the project benefits immediately:
agents/overrides/{type}/{name}.md
With frontmatter:
---
overrides: {type}/{name}
mode: replace # or extend
---
Optional for a low-urgency change.
If the content is project-specific but could be made universal:
Example: A project-specific "import-csv" skill becomes a generic "file-import" skill with a configurable format.
Generalizing is an editorial act and it is not the privacy floor. What the floor refuses in step 4 stays local; it is never rewritten into shape.
If the contribution originates from a proposal under agents/proposals/
(produced by learning-to-rule-or-skill via the pipeline in
self-improvement-pipeline),
run the Stage-4 gate first:
./agent-config proposal:check agents/proposals/{slug}.md
Hard refusal rule: if ./agent-config proposal:check exits non-zero, STOP.
Surface the findings to the user, ask them to fix the proposal (add evidence,
remove TODO markers, complete required sections), then rerun.
Also STOP unless stage: gated. For scope: package that needs a review
record and an owner authorization on one digest.
When no proposal doc exists (small fix, typo, pure bug-fix), skip this step and record the rationale in the finding.
./agent-config self-repair:release <fingerprint> --dry-run
The dry run prints the destination (repository, account, route, remote, base) and every byte that may leave except the commit date, then their digest. It creates nothing. Read it with the user.
A refusal from the privacy floor is final: the finding stays local. There is no scrubbing pass, because a rewritten identifier is still a leaked one.
Run the package's full CI pipeline and confirm it is green.
package-ci-checks owns the entry point
and names it; a consumer has no such runner, so the command is not repeated.
Outside a checkout the package CI runs after the issue or pull request exists.
./agent-config self-repair:release <fingerprint> --approve <digest>
The user runs it; the agent prints it and never runs --approve itself. The
digest proves the bytes unchanged since the dry run, not consent — the agent
can read it too. Sending is a Hard-Floor action (non-destructive-by-default);
no autonomy setting, standing instruction or earlier consent substitutes for it.
A byte changed since the dry run voids the approval. The ladder picks the vehicle: a pull request only when the release runs from a checkout of this package, an issue otherwise, a local record when nothing may leave.
Once the contribution is merged and the package is updated in the project:
rm agents/overrides/{type}/{name}.md
./agent-config update
update moves the agent_config_version pin in .agent-settings.yml; the
project's own package manager then fetches that version. The shared artifact
replaces the local override.
src/ that the contribution targets./agent-config proposal:check blocks — fix the proposal first (step 3)src/ and let the package's sync step regenerategit add . — name the paths还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
中文简介正在准备中。当前显示原文说明。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
中文简介正在准备中。当前显示原文说明。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
中文简介正在准备中。当前显示原文说明。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
中文简介正在准备中。当前显示原文说明。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
中文简介正在准备中。当前显示原文说明。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
中文简介正在准备中。当前显示原文说明。