Escalation format

From SteelMorgan/1c-agent-based-dev-framework · View interactive version

Escalation format is an AI agent skill from the GitHub repository SteelMorgan/1c-agent-based-dev-framework. MUST use BEFORE sending an escalation message to the user. Defines the structure (What→Why→Options→Assessment→Recommendation), grouping rules, and prohibitions.

How to use this skill

Skill file

User Escalation Format

This skill defines the format of an escalation message. The “when to escalate” filter is separate: it is in framework/workflows/orchestrator/SKILL.md § 4 “The “delegate, don't ask” principle”. Before applying the format, you MUST pass this filter and make sure the escalation is legitimate (admin operation / L1-L2 contract change / business choice / 3+ BLOCK / scope expansion). Technical choices and escalation diagnostics do NOT require this — they are handled by delegating to a subagent. Applying the format below to a technical question = an error.

Hard

1. What: one sentence describing the issue itself.

2. Why this is a problem: a brief explanation of the reasons — what exactly does not work / is violated / is contradicted. Include specific file:line references or REQ-ID so the user can verify.

3. Solution options: list realistic options (at least 2), numbered (A, B, C...).

4. Assessment of each option: for each one — pros / cons / impact on affected artifacts (spec, design, tests, code), including implementation effort and risks.

5. Recommendation: if there is one — state your choice and justify it. If the choice is not obvious — explicitly say “the choice is up to the user”.

Soft

Example (good)

### Problem 1 — REQ-X contradicts REQ-Y

What: REQ-X requires behavior A, REQ-Y requires not-A.

Why this is a problem: when testing (spec.md:142), UT-X-01 expects behavior A, while UT-Y-02 expects not-A. Developer-Code cannot satisfy both tests at the same time. This is a violation of source-of-truth-policy level L2.

Options:

- A. Remove REQ-Y. Pros: the spec becomes consistent, minimal rework. Cons: the business case for “not-A” is lost.

- B. Rewrite REQ-X to SHOULD. Pros: both requirements can coexist. Cons: contract A becomes optional — Developer-Code can bypass it.

- C. Split the context: A applies in case K1, not-A in K2. Pros: both business cases are preserved. Cons: spec change + new ADR + design changes (3-5 places) + 2 new unit tests.

Recommendation: C is the only option that preserves both business meanings. The implementation cost is acceptable.

Example (bad)

“We have a contradiction in the spec. Fix it or leave it?”

— Without explaining the reasons, without options, without an assessment. Forbidden.


depends_on:


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.