@theronap/agnoclast-mcp 0.9.313 → 0.9.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/agnoclast-filer.md +3 -0
- package/lib/server.mjs +3 -2
- package/package.json +1 -1
|
@@ -25,6 +25,9 @@ If the tools are deferred, load them in one ToolSearch call first (`select:` the
|
|
|
25
25
|
proposal and its `intakeItemIds`. Decide the conversation once, then one `intake_materialize` with
|
|
26
26
|
`intakeItemIds` for it — one record each. Always send `obligations` (`[]` if none); each `evidence` is copied
|
|
27
27
|
word for word from the text, 16+ characters.
|
|
28
|
+
An obligation is an ask of THIS person that will still matter tomorrow. Logistics for a moment (a pickup time,
|
|
29
|
+
"on my way", "I'll drive at 9:45"), small talk, and what other people in a group chat ask EACH OTHER are not:
|
|
30
|
+
answer `[]` for those. In a group thread, propose only what is asked of the person by name or directly.
|
|
28
31
|
- GitHub units: call with `mode: "preview"` first, answer every folder question in `folderDecisions`, then
|
|
29
32
|
apply. Several GitHub units filed onto the same pages may share ONE batch call (`intakeItemIds`) with ONE
|
|
30
33
|
`folderDecisions` list covering all of their questions — each unit applies the answers for its own folders.
|
package/lib/server.mjs
CHANGED
|
@@ -2997,7 +2997,7 @@ function renderNudge(payload) {
|
|
|
2997
2997
|
'place_split_records',
|
|
2998
2998
|
{
|
|
2999
2999
|
title: 'Place a split\'s records, sorted by a full read',
|
|
3000
|
-
description: 'Place the records of a split you APPLIED, in ONE transaction: child = attach to the child and detach from the source; both = attach to the child too; parent = leave. PROCEDURE, every split: (a) FULL READ — list the whole worklist with split_records. Read EVERY candidate in full with read_record part "all" and max_chars at least its length. Each recording over ~20k chars gets its OWN sub-agent that reads every word: no keyword search, no skimming (a trial agent once keyword-searched two 150k transcripts). BOTH IS THE DEFAULT: a record goes on one page only when its own content clearly rules it out of the other (mostly-about is not enough); one with nothing readable (a header-only email) can never rule itself out → both. (b) SHADOW — also run the FROZEN rules that split_records prints on its first page, without looking at the full read (Haiku segments each recording; Opus decides with rules 1–5, incl. the 0.7 confidence floor), and send them as `shadow` for the same records. Only the full read is applied. (c) INBOUND LINKS — grep "[[<source title>]]" in substring mode; judge each link from its snippet; edit_page the ones you may edit to point at the child when they meant the moved text; list the rest for their owners. (d) GOVERNANCE NEVER MOVES — a record governed by the source stays on it even when you say child (it goes on both). Every readable candidate needs a decision (parent leaves it). Idempotent: a second call returns the first result. Replies with the shadow diff (harmful = the rules put a record on fewer pages or the opposite one; clutter = the rules said both) and the rules\' streak (they graduate after 10 clean splits in a row).',
|
|
3000
|
+
description: 'Place the records of a split you APPLIED, in ONE transaction: child = attach to the child and detach from the source; both = attach to the child too; parent = leave. PROCEDURE, every split: (a) FULL READ — list the whole worklist with split_records. Read EVERY candidate in full with read_record part "all" and max_chars at least its length. Each recording over ~20k chars gets its OWN sub-agent that reads every word: no keyword search, no skimming (a trial agent once keyword-searched two 150k transcripts). BOTH IS THE DEFAULT: a record goes on one page only when its own content clearly rules it out of the other (mostly-about is not enough); one with nothing readable (a header-only email, or a fragment — a stub, bare commit message, pending-summary fragment or one-line chat/status naming no subject of either page) can never rule itself out → both. (b) SHADOW — also run the FROZEN rules that split_records prints on its first page, without looking at the full read (Haiku segments each recording; Opus decides with rules 1–5, incl. the 0.7 confidence floor), and send them as `shadow` for the same records. Only the full read is applied. (c) INBOUND LINKS — grep "[[<source title>]]" in substring mode; judge each link from its snippet; edit_page the ones you may edit to point at the child when they meant the moved text; list the rest for their owners. (d) GOVERNANCE NEVER MOVES — a record governed by the source stays on it even when you say child (it goes on both). Every readable candidate needs a decision (parent leaves it). Idempotent: a second call returns the first result. Replies with the shadow diff (harmful = the rules put a record on fewer pages or the opposite one; clutter = the rules said both) and the rules\' streak (they graduate after 10 clean splits in a row).',
|
|
3001
3001
|
inputSchema: {
|
|
3002
3002
|
plan: z.string().describe('the `plan` token of the applied split'),
|
|
3003
3003
|
decisions: z.array(z.object({
|
|
@@ -4047,7 +4047,7 @@ function renderNudge(payload) {
|
|
|
4047
4047
|
description: 'Close, cancel or defer an obligation. `discharged` = it happened. `cancelled` = it stopped mattering. These are DIFFERENT FACTS and both require a `resolution` saying how it ended — an obligation closed with no reason is a row nobody can reconstruct later, and "stopped mattering" is the one that gets lost first. `snoozed` needs `snoozed_until`; a snooze with no deadline is a permanent silent drop wearing a deferral\'s clothes, and it is refused. An expired snooze returns to my_obligations on its own.',
|
|
4048
4048
|
inputSchema: {
|
|
4049
4049
|
obligation_id: z.string().describe('from my_obligations'),
|
|
4050
|
-
state: z.enum(['discharged', 'cancelled', 'snoozed']).describe('discharged = it happened; cancelled = it stopped mattering; snoozed = ask me later'),
|
|
4050
|
+
state: z.enum(['discharged', 'cancelled', 'snoozed', 'confirmed']).describe('discharged = it happened; cancelled = it stopped mattering (also dismisses a PROPOSAL); snoozed = ask me later; confirmed = the person accepts a PROPOSAL as theirs'),
|
|
4051
4051
|
resolution: z.string().optional().describe('REQUIRED for discharged/cancelled — how it ended'),
|
|
4052
4052
|
snoozed_until: z.string().optional().describe('REQUIRED for snoozed — ISO 8601'),
|
|
4053
4053
|
},
|
|
@@ -4063,6 +4063,7 @@ function renderNudge(payload) {
|
|
|
4063
4063
|
} catch (e) { return toolError(`Could not reach obligations: ${e.message}`) }
|
|
4064
4064
|
const out = await res.json().catch(() => null)
|
|
4065
4065
|
if (!res.ok) return toolError(`Could not resolve: ${out?.error ?? res.status}`)
|
|
4066
|
+
if (state === 'confirmed') return { content: [{ type: 'text', text: 'Confirmed: it is now something you owe, listed with the rest.' }] }
|
|
4066
4067
|
return { content: [{ type: 'text', text: state === 'snoozed' ? `Snoozed until ${snoozed_until}. It comes back on its own.` : `Marked ${state}: ${resolution}` }] }
|
|
4067
4068
|
},
|
|
4068
4069
|
)
|
package/package.json
CHANGED