Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/daem0nmcp-protocol/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Do not treat a substring or an older workflow name as a match.

## Required sequence

The first Daem0n call in a session briefs automatically; the compact brief is returned in `meta.covenant.auto_brief`. Call `session_brief` for the full brief.
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.

Recall relevant context when needed:

Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/openspec-daem0n-bridge/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ instead of copying an older invocation into this workflow.

## Session gate

The first Daem0n call in a session briefs automatically; the compact brief is returned in `meta.covenant.auto_brief`. Call `session_brief` for the full brief.
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.

Call `memory_store` (or any protected tool) directly. If it returns `COUNSEL_REQUIRED`, read `error.counsel` (guidance and reasons), then retry exactly `error.remedy`. `memory_preflight` remains available for planning a change in advance.

Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/summon_daem0n/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The four bounded JSON resources are:

## 5. Explain the write protocol

The first Daem0n call in a session briefs automatically; the compact brief is returned in `meta.covenant.auto_brief`. Call `session_brief` for the full brief.
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.

Call `memory_store` (or any protected tool) directly. If it returns `COUNSEL_REQUIRED`, read `error.counsel` (guidance and reasons), then retry exactly `error.remedy`. `memory_preflight` remains available for planning a change in advance.

Expand Down
4 changes: 2 additions & 2 deletions .opencode/commands/commune.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
description: Start the Daem0n v7 session for a registered workspace
---

The first Daem0n call establishes the scoped session and briefs automatically
in `meta.covenant.auto_brief`. For the full brief, call
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.
For the full brief, call
`daem0nmcp_session_brief(workspace_id="$ARGUMENTS")`.
The argument must be the configured opaque `workspace_id`, not a path.

Expand Down
4 changes: 2 additions & 2 deletions .opencode/commands/inscribe.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ daem0nmcp_memory_store(

If `COUNSEL_REQUIRED`, review `error.counsel` (guidance and reasons), then retry
exactly `error.remedy`, preserving the idempotency key. `memory_preflight`
remains available for planning a change in advance. The first Daem0n call
briefs automatically in `meta.covenant.auto_brief`; `session_brief` gives the full brief.
remains available for planning a change in advance.
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.

Report the returned `record_id`. After verification, use
`daem0nmcp_memory_record_outcome` with that ID and a separate stable
Expand Down
4 changes: 2 additions & 2 deletions .opencode/commands/recall.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: Retrieve bounded memories from a Daem0n v7 workspace

Call `daem0nmcp_memory_recall(workspace_id="<workspace_id>", query="$ARGUMENTS", limit=10)` immediately.

The first Daem0n call briefs automatically in `meta.covenant.auto_brief`;
call `session_brief` for the full brief. For other capabilities, use
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.
For other capabilities, use
`daem0n_tools_search(query)`, then `daem0n_tool_call(workspace_id, tool, arguments)`.

Present the retrieved memories in a clear format:
Expand Down
6 changes: 3 additions & 3 deletions .opencode/plugins/daem0n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ v7 tools: session_brief, memory_preflight, memory_recall, memory_store,
memory_record_outcome, system_health, daem0n_tools_search, and daem0n_tool_call.

### 1. BRIEF
The first Daem0n call in a session briefs automatically; the compact brief is returned in meta.covenant.auto_brief. Call session_brief for the full brief.
Guided mode automatically briefs an unbriefed session on memory_recall, memory_preflight, memory_store, or memory_record_outcome, returning meta.covenant.auto_brief. Diagnostic and discovery calls do not trigger briefing. Call session_brief for the full brief.

### 2. WRITE
Call memory_store (or any protected tool) directly. If it returns COUNSEL_REQUIRED, read error.counsel (guidance and reasons), then retry exactly error.remedy. memory_preflight remains available for planning a change in advance.
Expand Down Expand Up @@ -54,7 +54,7 @@ at /mcp. Migration mapping: docs/v6-to-v7-tools.json.
const COVENANT_RULES_SIMPLIFIED = `<daem0n-covenant mode="simplified">
## Memory Protocol

The first Daem0n call in a session briefs automatically; the compact brief is returned in meta.covenant.auto_brief. Call session_brief for the full brief.
Guided mode automatically briefs an unbriefed session on memory_recall, memory_preflight, memory_store, or memory_record_outcome, returning meta.covenant.auto_brief. Diagnostic and discovery calls do not trigger briefing. Call session_brief for the full brief.
Call memory_store (or any protected tool) directly. If it returns COUNSEL_REQUIRED, read error.counsel (guidance and reasons), then retry exactly error.remedy. memory_preflight remains available for planning a change in advance.
Use daem0n_tools_search(query), then daem0n_tool_call(workspace_id, tool, arguments).
RECALL: daem0nmcp_memory_recall(workspace_id="<workspace_id>", query="...", limit=10)
Expand Down Expand Up @@ -341,7 +341,7 @@ export const Daem0nPlugin: Plugin = async ({ directory }) => {

// -----------------------------------------------------------------------
// HOOK 4: Session lifecycle events (best-effort, never blocks)
// session.created -> session_start hook (auto-briefing)
// session.created -> session_start hook (briefing reminder)
// session.idle -> stop hook (fail-closed memory suggestions)
// -----------------------------------------------------------------------
event: async ({ event }) => {
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ legacy tool name.

### 1. Brief automatically

The first Daem0n call in a session briefs automatically; the compact brief is returned in `meta.covenant.auto_brief`. Call `session_brief` for the full brief.
Guided mode automatically briefs an unbriefed session on `memory_recall`, `memory_preflight`, `memory_store`, or `memory_record_outcome`, returning `meta.covenant.auto_brief`. Diagnostic and discovery calls do not trigger briefing. Call `session_brief` for the full brief.

The server-issued session and authenticated transport identity establish the
scope. Headers, IP addresses and client information are not identity inputs.
Expand Down
Loading
Loading