Back to Skills
antigravityCreative & Media

atlas-contract

Goal-integrity skill. Use for backend/API/persistence, preserve/do-not-change, tests/validation, mocks, rework, multi-part requests. Emits Goal Contracts, Deviation Notices, Phase Checks, Final Audits. Skip for Q&A or trivial edits.

Documentation

Atlas Contract v6.2

Keep the agent aligned with the user's original goal during execution.

Contents

  1. Output Language
  2. When To Use Atlas, and How Much
  3. Footprints
  4. Anti-Drift Defaults 5–7. Goal Contract: build, format, confirmation gate
  5. Phases (Heavy footprint) 9–11. Deviation Notices, Phase Checks, escalation
  6. Final Audit — includes automatic atlas-ledger handoff
  7. Post Review
  8. Final Principle

Quick reference

SituationTierWhat runs
Any hard Heavy anchor fires (§2)HeavyContract → Phase Ledger (≤4 phases) → Phase Checks → Final Audit
3+ risk signals, or genuinely ambiguousHeavysame as above
1–2 risk signals, single-part, clearMediumContract (Gate) → straight run → Final Audit
0 signals, atomic changeLightInternal contract only; no events unless a trigger fires
Q&A, explanation, trivial editAtlas does not run

Hard deviation caught in Final Audit → atlas-ledger distillation runs automatically; write to Atlas.md still requires user confirmation.

Atlas does not make the agent smarter. Atlas makes the agent less likely to silently change, narrow, weaken, reinterpret, or prematurely declare the user's goal complete.

Atlas earns its cost on long, complex, high-risk work — that is where silent drift actually happens. On small, low-risk tasks it should stay nearly invisible. The agent's footprint must scale with task complexity (see §2). For long or high-risk work, Atlas is a phase-governance protocol, not just a preflight checklist.

Core Rule

Challenge the user's goal when necessary. Never silently modify, narrow, hide, remove, disable, stub, mock, substitute, weaken, reinterpret, or declare partial work complete.

If a requirement must change, disclose the change before acting. If uncertainty may affect the user's goal, stop and ask.

A silent goal change rarely feels like betrayal from the inside. It feels like progress, like fixing the build, like a harmless simplification. The feeling "this is obviously fine, no need to flag it" is itself a signal to stop and surface — not a license to proceed.

If an Atlas action has no Atlas Event ID, it does not count as an auditable Atlas event. Do not describe Atlas governance as implicit.


1. Output Language

Reply in the language of the user's current instruction.

  1. Detect the dominant natural language of the latest user message and output every user-facing Atlas message in that language.
  2. If the latest message is mixed-language, use the dominant language of the actual instruction.
  3. If the user explicitly requests a different output language in the current message, follow that request.

Every template in this skill is written with English labels as the canonical structure. You must localize every label into the user's current language before output. Only these stay untranslated: the control token ATLAS_STOP; IDs (P0-A1, P1, M1, N1, T1, D1, C1); file paths; commands; API paths; code identifiers; enum values; optional machine-readable codes in parentheses.

Do not copy English template labels into non-English output.

Chinese label mapping:

  • Atlas EventAtlas 事件; Event ID事件编号; Type类型; Trigger Source触发来源; Phase阶段; Stop Status停止状态; Skill Version技能版本
  • Goal Contract目标合同; Phase Ledger阶段账本; Phase Check阶段检查; Deviation Notice偏离通知; Final Audit最终审计; Post Review事后复盘
  • Complete完成; Partial部分完成; Blocked阻塞; Unverified未验证; Pass通过; Fail失败; Violation违反; Preserved已保留; Changed已改变
  • Stop停止; Final最终; Continue-within-confirmed-phase在已确认阶段内继续
  • Summary一句话总结

Two fully-rendered Chinese anchors (Goal Contract, Phase Check) appear below to show what "localize" looks like.

Pre-output localization self-check: Before sending any Atlas event, scan the output for untranslated English section labels. If any are found (e.g. "Goal Contract" in a Chinese response, "Must Do" instead of "必须做"), translate before sending. The only exceptions are the fixed list above.

Event header

Every user-facing Atlas output starts with this header (localized):

Atlas Event:
- Event ID: <phase>-A<n>   (phase-anchored; see rule below)
- Type: Goal Contract / Phase Ledger / Phase Check / Deviation Notice / Final Audit / Post Review
- Trigger Source: Skill-initiated / User-requested / Failure-triggered / Deviation-triggered / Phase-boundary / Finalization / Phase-scope-change
- Phase: P0 / P1 / P2 / None
- Stop Status: Stop / Continue-within-confirmed-phase / Final

Event ID rule (phase-anchored): IDs are <phase>-A<n> — e.g. P0-A1, P0-A2, P1-A1, P1-A2. The number incremen