@theronap/agnoclast-mcp 0.9.258 → 0.9.259

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.
Files changed (2) hide show
  1. package/lib/server.mjs +9 -5
  2. package/package.json +1 -1
package/lib/server.mjs CHANGED
@@ -1225,12 +1225,13 @@ function renderNudge(payload) {
1225
1225
  description:
1226
1226
  'Claim a lease on private intake items (relevance or cleanup). Returns decrypted payloads for the lease holder only. Requires x-cortex-session-key (set automatically by this MCP server). Aged work never blocks a claim: the response reports cleanupDueCount and how far behind the oldest unit is, and servicing it is expected but always your call. Claiming is a commitment to process — hand back anything you will not finish with intake_release, or intake_defer if it is the owner\'s decision to make. ' +
1227
1227
  'YOU ARE THE JUDGE of every unit you claim (ADR-0062): nothing is published until you materialize, and materializing is when it becomes visible. Each unit carries a `proposal` — the brain its signals point to and, for that brain, the pages it would attach to, the page that would govern it, and the `tier` it would be born with — computed without writing anything. Decide the brain, the pages (confirm, drop or add), which page should govern (the page whose reasons for restricting its audience fit the content, not a person page), and obligations. Pages only tighten a tier; if a record should be LOOSER than `tierReason.baseline`, that is the owner\'s call — intake_defer with the question. ' +
1228
- 'view "compact" (trial, only where the server enables it — otherwise you get the full response): the judge rules, your brains, the lease and the cleanup count come ONCE per response in `rules`/`brains`, not on every unit; each unit carries its full content, only the proposed brain\'s pages as one line each, and up front what intake_materialize would refuse it for (`materialize.otherHomes`, `materialize.folderQuestions`). Read `rules` before judging.',
1228
+ 'DEFAULT VIEW IS "compact" where the server enables it (otherwise the server answers with the full response, whatever you ask): the judge rules, your brains, the lease and the cleanup count come ONCE per response in `rules`/`brains`, not on every unit; the proposal is flattened onto each unit — `brain`, the proposed brain\'s `pages` as one line each, `governing`, `tier` (and `baseline` when it differs) — or `candidates` when no brain is proposed; each unit carries its full content, and up front what intake_materialize would refuse it for (`materialize.otherHomes`, `materialize.folderQuestions`). Read `rules` before judging. Pass view "full" for the per-unit `proposal` object with every brain\'s placement.',
1229
1229
  inputSchema: {
1230
1230
  claimKind: z.enum(['relevance', 'cleanup']).optional().describe('default relevance'),
1231
1231
  view: z.enum(['full', 'compact']).optional().describe(
1232
- 'default "full". "compact" sends the rules once per response instead of on every unit, and only the proposed ' +
1233
- 'brain\'s placement. Honoured only where the server enables it; otherwise the response is the full one.',
1232
+ 'default "compact": the rules once per response instead of on every unit, and only the proposed ' +
1233
+ 'brain\'s placement. Honoured only where the server enables it; otherwise the response is the full one. ' +
1234
+ '"full" asks for the full per-unit `proposal` (every brain\'s placement, the judge text on each unit).',
1234
1235
  ),
1235
1236
  limit: z.number().optional().describe('max items (default 10). Ignored when intakeItemIds is given.'),
1236
1237
  source: z.string().optional().describe('claim only the oldest units of ONE source — e.g. "imessage", "meeting", "email", "github", "claude-code". Reaches texts without first claiming every older GitHub/session unit ahead of them. Ignored when intakeItemIds is given.'),
@@ -1278,8 +1279,11 @@ function renderNudge(payload) {
1278
1279
  // claim into a no-op.
1279
1280
  ...(intakeItemIds ? { intakeItemIds } : {}),
1280
1281
  ...(source ? { source } : {}),
1281
- // Sent only when asked for: a default claim's request body is exactly what it was.
1282
- ...(view === 'compact' ? { view } : {}),
1282
+ // Compact by DEFAULT (Theron, 2026-10-23, after a watched real-filing trial: 26 units, 25 filed
1283
+ // correctly, 0 refusals, ~3.9K vs ~10K chars per unit). Always sent, so an explicit "full" is
1284
+ // honoured. The server still gates compact on RELEASE_FLAGS.compact_claim — an account outside
1285
+ // that cohort gets the full response even though this asks for compact.
1286
+ view: view ?? 'compact',
1283
1287
  }),
1284
1288
  })
1285
1289
  if (!res.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theronap/agnoclast-mcp",
3
- "version": "0.9.258",
3
+ "version": "0.9.259",
4
4
  "description": "Connect your AI assistant to Cortex — your org's projects, activity, gaps, and directives, scoped to you.",
5
5
  "type": "module",
6
6
  "bin": {