pluribus-context 0.3.30 → 0.3.31
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.
|
@@ -13,14 +13,15 @@ It is intentionally markdown-only so it can be copied into a local skills direct
|
|
|
13
13
|
Ask an agent or harness using the skill to emit a receipt for one workflow and verify these constraints:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
grep -E 'mcp\.tool_index\.loaded|context\.skill\.registry\.index\.loaded|subagent\.mcp_policy\.applied|subagent\.toolsearch\.propagation\.evaluated|subagent\.delegation\.requested' receipt.jsonl
|
|
17
|
-
grep -E 'raw_(schema|query|args|result|output)_copied":false|raw.*CopiedToReceipt":false' receipt.jsonl
|
|
16
|
+
grep -E 'mcp\.tool_index\.loaded|context\.skill\.registry\.index\.loaded|subagent\.mcp_policy\.applied|subagent\.toolsearch\.propagation\.evaluated|context\.prune\.completed|subagent\.delegation\.requested' receipt.jsonl
|
|
17
|
+
grep -E 'raw_(schema|query|args|result|output|transcript|text)_copied":false|raw.*CopiedToReceipt":false' receipt.jsonl
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then manually check that the receipt contains counts, hashes, ids, buckets, and `audit_gap`, but does **not** contain private prompts, raw schemas, tool args/results, skill bodies, memory bodies, customer names, secrets, or transcript text.
|
|
21
21
|
|
|
22
|
-
For executable fixture examples, see [`../../context-input-evidence/`](../../context-input-evidence/), including the ToolSearch propagation
|
|
22
|
+
For executable fixture examples, see [`../../context-input-evidence/`](../../context-input-evidence/), including the ToolSearch propagation and pruning smokes:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
node ../../context-input-evidence/convert-subagent-toolsearch-propagation-log.mjs
|
|
26
|
+
node ../../context-input-evidence/convert-pruning-log.mjs
|
|
26
27
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Context Receipts
|
|
2
2
|
|
|
3
|
-
Use this skill when an agent workflow claims to save context by selecting, deferring, hydrating, summarizing, compacting, delegating, or isolating context.
|
|
3
|
+
Use this skill when an agent workflow claims to save context by selecting, deferring, hydrating, summarizing, compacting, pruning, delegating, or isolating context.
|
|
4
4
|
|
|
5
5
|
The job is not to log the private content. The job is to emit a small receipt that lets a reviewer answer:
|
|
6
6
|
|
|
@@ -95,6 +95,25 @@ Minimal JSONL event names:
|
|
|
95
95
|
{"event":"subagent.toolsearch.matrix.completed","tested_axis":"tools_frontmatter_shape","audit_gap":"proves ToolSearch exposure, not semantic tool relevance or runtime call success"}
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
## Pruning / compaction smoke
|
|
99
|
+
|
|
100
|
+
For context-cleaning, pruning, compaction, or doctor/guard tools, answer:
|
|
101
|
+
|
|
102
|
+
- what prescription/trigger started the run;
|
|
103
|
+
- which strategies changed context and which candidates were protected;
|
|
104
|
+
- before/after token and byte buckets;
|
|
105
|
+
- whether summaries, behavioral digests, team messages, and backups were preserved;
|
|
106
|
+
- whether private transcript text, raw tool output, file paths, secrets, and customer text were excluded from the receipt;
|
|
107
|
+
- the remaining audit gap, such as not proving semantic quality of the pruned text.
|
|
108
|
+
|
|
109
|
+
Minimal JSONL event names:
|
|
110
|
+
|
|
111
|
+
```jsonl
|
|
112
|
+
{"event":"context.prune.started","prescription":"balanced","trigger":"manual_dry_run","before_token_bucket":"150k_200k","raw_transcript_copied":false}
|
|
113
|
+
{"event":"context.prune.strategy.evaluated","strategy":"tool-output-trim","candidate_bucket":"10_25","changed_bucket":"5_10","protected_bucket":"1_5","raw_tool_output_copied":false}
|
|
114
|
+
{"event":"context.prune.completed","after_token_bucket":"75k_100k","backup_verified":true,"protected_summary_count":2,"raw_text_copied":false,"audit_gap":"proves pruning/protection counts, not semantic disposability"}
|
|
115
|
+
```
|
|
116
|
+
|
|
98
117
|
## Subagent / manager boundary smoke
|
|
99
118
|
|
|
100
119
|
For subagents, manager agents, or child workers, answer:
|
|
@@ -120,6 +139,6 @@ A receipt is useful if a maintainer can debug one of these failures without seei
|
|
|
120
139
|
- the full definition loaded too early;
|
|
121
140
|
- too many definitions stayed in context;
|
|
122
141
|
- a child/subagent saved no budget because raw output returned to the parent;
|
|
123
|
-
- compaction happened but no one can prove what was
|
|
142
|
+
- compaction/pruning happened but no one can prove what was changed, protected, backed up, summarized, or dropped.
|
|
124
143
|
|
|
125
144
|
A receipt is not enough if it only says “Tool Search enabled” or “used subagent”. It must prove the boundary behavior.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pluribus-context",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.31",
|
|
4
4
|
"description": "AI context and rules sync CLI for Claude.md, Claude Code, Cursor, and Copilot instructions, with privacy-safe context receipts that prove what memory, tools, skills, compactions, and security findings crossed agent boundaries without logging raw content.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/caioribeiroclw-pixel/pluribus#readme",
|
package/src/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.3.
|
|
1
|
+
export const VERSION = '0.3.31'
|