一键导入
awareness-report
Assess the live v5.1 awareness loop from thoughts, delivered posts, stream coverage, tool traces, and incidents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assess the live v5.1 awareness loop from thoughts, delivered posts, stream coverage, tool traces, and incidents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze elixir-v5.log for errors, recurring failures, and operational signals, then recommend concrete actions
Cut an Elixir named release with the canonical release script, verification, and live announcement audit
Create a new system signal announcement for the clan in Elixir
Cross-check live Clash Royale API payloads stored in raw_api_payloads against docs/cr-api-docs/ and recommend concrete documentation patches — undocumented fields, new enum values, type or nullability drift, shape changes
Analyze the llm_calls table in elixir-v51.db to break down Elixir's LLM spend by workflow, model, and day; identify cost drivers; recommend signal-side or model-tier cuts
| name | awareness-report |
| description | Assess the live v5.1 awareness loop from thoughts, delivered posts, stream coverage, tool traces, and incidents |
Read /Users/otto/Projects/elixir-bot/elixir-v51.db and assess whether the
single live awareness loop is making good editorial decisions. This is a
read-only report. It answers “is Elixir making good calls?”; log-triage
answers “is the runtime alive?”
Production evidence lives in:
awareness_thoughts: one deliberation or gated silence per loop, including
plan, reason, model, and tool trace.awareness_posts: confirmed deliveries, destination lane, Discord message
id, and covered signal keys.stream_cursors: the durable awareness positions.runtime_incidents and runtime_job_status: failures and scheduler health.awareness_ticks was deleted at the v5.1 clean break. Never query it from the
operational database.
Default to the last 7 days. If the available history is under 24 hours, say so and stop rather than over-interpreting a bootstrap window. Timestamps are UTC.
SELECT MIN(at) AS first_loop, MAX(at) AS last_loop, COUNT(*) AS loops
FROM awareness_thoughts;
Run these against elixir-v51.db with read-only SQLite access.
SELECT COUNT(*) AS loops,
SUM(chose_silence) AS deliberate_silences,
SUM(post_count) AS posts_planned,
SUM(CASE WHEN skipped_reason LIKE '⚠️ tick failed:%' THEN 1 ELSE 0 END) AS failed_loops,
SUM(CASE WHEN model LIKE 'gate:%' THEN 1 ELSE 0 END) AS gated_loops
FROM awareness_thoughts
WHERE at >= datetime('now', '-7 days');
SELECT lane, COUNT(*) AS posts,
COUNT(DISTINCT discord_message_id) AS confirmed_messages,
SUM(json_array_length(covers_json)) AS covered_signals,
MAX(posted_at) AS last_post
FROM awareness_posts
WHERE posted_at >= datetime('now', '-7 days')
GROUP BY lane
ORDER BY posts DESC;
SELECT COALESCE(skipped_reason, '(none)') AS reason, COUNT(*) AS loops
FROM awareness_thoughts
WHERE at >= datetime('now', '-7 days') AND chose_silence = 1
GROUP BY reason
ORDER BY loops DESC
LIMIT 12;
SELECT json_extract(tool.value, '$.tool') AS tool,
COUNT(*) AS calls,
SUM(json_extract(tool.value, '$.allowed') = 0) AS denied,
SUM(json_extract(tool.value, '$.result') NOT LIKE 'ok%') AS non_ok
FROM awareness_thoughts AS thought,
json_each(COALESCE(thought.tool_trace_json, '[]')) AS tool
WHERE thought.at >= datetime('now', '-7 days')
GROUP BY tool
ORDER BY calls DESC;
Also inspect failed thoughts, posts without a linked loop number, open incidents,
and the awareness-loop row in runtime_job_status. Use exact thought loop
numbers, post ids, Discord message ids, and timestamps as evidence.
Prioritize:
Deliberate silence is healthy when the reason matches the situation. A missing post is not automatically a defect; distinguish editorial silence from a failed turn or failed delivery.
Keep a healthy report under 40 lines:
## Awareness Report — <window>
Summary: <one sentence>
Headline
- <loops, silence, planned and confirmed posts, covered signals>
Priority issues
1. <exact signature and evidence>
Patterns worth noting
- <lane, tool, coverage, or silence pattern>
Do not edit code or prompts. Report evidence and recommend a specific next inspection target. If healthy, say so in one sentence and stop.