본문으로 건너뛰기
Skillpedia
이메일 및 메시지280k · #371

operator-approval-loop

하는 일

이 시스템은 AI 에이전트가 다른 사람에게 쓴 중요한 메시지를 보내기 전에 사람이 검토하고 승인하도록 보장합니다. 보낸 모든 것과 누가 승인했는지 기록을 남깁니다.

사용하는 경우

  • ✓AI 에이전트가 고객이나 파트너에게 보낼 답장을 쓸 때.
  • ✓누가 각 메시지를 승인했는지 정확한 기록이 필요할 때.
  • ✓잘못되었거나 중복된 메시지가 발송되는 것을 막고 싶을 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/operator-approval-loop/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/operator-approval-loop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“고객의 주문 상황에 관한 이 메시지를 검토하고 승인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

메시지가 작성되면 초안으로 저장되고 검토 대상으로 표시됩니다. 사람이 초안을 검토해 승인하거나 거절합니다. 승인되면 시스템은 누가 언제 승인했는지 기록해, 승인된 정확한 메시지가 발송되도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Operator Approval Loop

An agent that talks to external counterparties should never send on its own judgment and should keep the operator informed internally. This skill defines the contract: every outbound draft is filed as an obligation, an operator decides on the exact text, and a delivery ledger proves what went out.

When to Use

  • An agent drafts replies to customers, suppliers, investors, or partners in a shared channel, email, or chat, and a human must approve before send.
  • You need an audit trail that links each sent message to the exact draft text, the operator who approved it, and the decision time.
  • You have seen a stale approval release a rewritten draft, or two workers deliver the same approved message twice.
  • Drafts keep re-asking counterparties for facts the ledger already holds.

How It Works

Objects

Object Meaning
Obligation One thing we owe a counterparty. Status moves drafted, then approved or rejected, then sent. Carries direction, counterparty, channel, and an updated_at epoch.
Draft Sidecar row holding the exact draft text, a sha256 of that text, origin coordinates (platform, channel, thread, user), and priority (P0 to P3). One per obligation, replaced on re-file.
Decision An operator's approve or reject, recorded with the operator id, a nonce, and the draft epoch it was made against.
Approval snapshot Immutable text, hash, epoch and destination recorded by the already-authorized decision writer. Missing snapshots cannot grant dispatch.
Claim Durable reservation with a random token and state; at most one active claim per obligation.
Delivery Ledger row proving one send or notice for one (obligation, decision) pair.

The reference schema is in references/approval-ledger.sql.

Filing a draft

  1. Clean inputs. Strip control characters, collapse whitespace in single-line fields, and enforce length caps (draft, summary, context, counterparty). Empty or oversized fields are refused, not truncated silently.
  2. Run the baseline gate (below). It may refuse the filing.
  3. Hash the draft text with sha256. The hash prefix goes into the summary so the approval panel shows which text it is approving.
  4. Upsert. If an open drafted obligation already exists for the same (counterparty, channel), replace the draft sidecar and advance the obligation's updated_at. That advance is the epoch rotation: any decision keyed to the old epoch can no longer release the new text. Otherwise insert a new obligation with status drafted.
  5. Route the filing receipt only to a configured, verified internal ops destination. If the origin is that internal destination, acknowledge there. Never-silent means internal reporting, not an automatic external reply. Keep draft hashes, approval status, operator identity and workflow metadata out of counterparty-visible channels. Unknown or unclassified origins stay quiet; a direct message is not automatically internal.

If a verified internal destination is unavailable, retain the filing result in the internal tool result or operator surface. Never fall back to an external or unknown origin. A tool result exposed to outsiders is not an internal surface.

Filing a draft does not authorize an external response. Any policy-permitted clarifying question or neutral response is a separate outbound decision, subject to the existing mention, channel, draft-only, frozen and never constraints in counterparty-channel-discipline. It must not disclose internal approval metadata.

Baseline gate

Before any draft is filed, query the current baseline for the counterparty (a temporal ledger, contract store, or CRM):

  • Signed or delivered contract on record: refuse the filing with the evidence and a recommendation. Asking a counterparty about specs after signing is the exact failure this gate exists to stop.
  • Operator override: force_despite_signed_contract lets the filing through and stamps [BASELINE_OVERRIDE_SIGNED_CONTRACT] into the draft context.
  • Gate service unreachable: the filing proceeds and the context is stamped [BASELINE_CHECK_UNAVAILABLE]. The panel sees that the guard was off. Failures never silently disable the gate.
  • When facts are available, attach the freshest few to the context as a [BASELINE FACTS: ...] digest so the draft lands with current truth.

Deciding

…

자주 묻는 질문

승인 후 메시지 초안이 바뀌면 어떻게 되나요?

승인 후 초안이 바뀌면 다시 검토하고 승인받아야 합니다. 그래야 최종 발송된 메시지가 사람이 실제로 동의한 것이 됩니다.

같은 메시지가 두 번 보내지는 것을 어떻게 막나요?

시스템은 보낸 메시지와 승인된 메시지의 기록을 모두 보관합니다. 보내기 전에, 해당 승인에 근거해 똑같은 메시지가 이미 보내졌는지 확인합니다.

'baseline gate'는 무엇인가요?

초안을 만들기 전에 수신자에 대한 기존 정보(예: 서명된 계약서)를 살펴보는 초기 검사입니다. 이미 알고 있어야 할 정보를 에이전트가 다시 묻는 것을 막습니다.

상세 정보

작성자의 원본 설명

Operator approval contract with internal filing notices for agent-drafted outbound messages, hashed drafts, epoch-keyed decisions, durable delivery claims and receipts, and a pre-draft baseline gate. Use when an agent drafts messages to external counterparties and a human operator must approve, reject, or steer each send before it leaves.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#371
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬