원클릭으로
state-overlay-consistency-checker
Detect and prevent state-visibility violations across execution contexts within a single transaction.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Detect and prevent state-visibility violations across execution contexts within a single transaction.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
A QA gate that validates potentially destructive or irreversible actions before execution.
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Prepares isolated sub-workspaces for parallel agent execution. Copies context and generates specific mission instructions for "Worker" agents.
Structured logging and analysis of execution failures to prevent recurrence.
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
Generates a 'Red Team' critique of recent code or plans to identify weak assumptions and edge cases.
| name | State Overlay Consistency Checker |
| description | Detect and prevent state-visibility violations across execution contexts within a single transaction. |
PROPOSED → VERIFIED (after EELS reproduction)
Detect and prevent state-visibility violations across execution contexts within a single transaction.
This skill ensures that state mutations (code deployment, storage writes, warm slots, balances) performed in one execution frame (e.g., CREATE, CREATE2) are visible and inherited by all subsequent execution contexts (CALL, DELEGATECALL, STATICCALL) during the same transaction.
This skill exists to stop silent gas under-charging and consensus-breaking execution paths.
A transaction performs:
But:
This failure is invisible to standard unit tests unless gas and state continuity are explicitly validated.
verify state continuityIf code is written at address A at time T, then:
GetCode(A) MUST return non-empty for all execution frames at time > T within the same transaction.
Violation ⇒ FAIL
Every child execution frame must:
Unexpected divergence ⇒ FAIL
For any CALL:
This check is heuristic but high-confidence.
Detect patterns:
If a read does not observe a prior write within the same transaction, fail immediately.
{
"status": "PASS",
"frames_checked": 7,
"mutations_verified": 14
}
{
"status": "FAIL",
"failure_type": "state_overlay_inconsistency",
"address": "0x05d4acfafec9c8ac000000000000000000000000",
"symptoms": [
"CALL charged base gas only",
"child execution gas == 0",
"deployed code invisible"
],
"root_cause_hint": "Subcall created fresh overlay without inheriting parent state"
}
| Skill | Role |
|---|---|
| SKILL-007 | Requires invariants |
| SKILL-017 | Detects stuck execution |
| SKILL-018 | Hard pre-execution gate |
| SKILL-019 | Red-team scenario gen |
| SKILL-020 | Postmortem logging |
State changes are meaningless unless they are observable.
Derived from:
CS-001 — State Overlay Visibility Failure during CREATE2 → CALL execution.
This skill exists to prevent gas-math patches that mask state-propagation bugs.