protect-context 1.0.0 → 1.1.0

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/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -29,6 +29,8 @@ The suite is **advisory-first**. It records evidence and makes unsafe or
29
29
  repetitive behavior visible; it is not a sandbox and does not prove that a
30
30
  change is correct. [`SPEC.md`](./SPEC.md) is the frozen v1.0 contract.
31
31
 
32
+ ![Architecture: the pi extension, MCP server, and Python CLI share a project-local .agent-guard store for rules, journal entries, and evidence; only pi injects briefs automatically](./docs/images/shared-store.svg)
33
+
32
34
  ## Contents
33
35
 
34
36
  - [Why this exists](#why-this-exists)
@@ -249,6 +251,8 @@ And the always-on one-line widget:
249
251
  PC Δ+88L/6f 0loop ev5 ctx8%
250
252
  ```
251
253
 
254
+ ![Illustrative pi widget: Δ+123L/4f means 123 changed lines across 4 files, 1loop means one command at the blocking threshold, ev2 counts two verification runs this session, and ctx41% shows context usage](./docs/images/status-widget.svg)
255
+
252
256
  ## Interface comparison
253
257
 
254
258
  | Capability | pi extension | MCP server | CLI |
@@ -452,6 +456,8 @@ fingerprint across both bash and `guard_verify`. At `loop_block_after` the
452
456
  attempt is refused, with the prior failure count and a change-strategy nudge —
453
457
  the single cheapest intervention in the suite.
454
458
 
459
+ ![Verification workflow: run a command, persist its evidence, and cite the result. With the default threshold, two failures of the same normalized command block its third attempt; only that command succeeding resets its streak](./docs/images/evidence-loop.svg)
460
+
455
461
  ### Scope audit
456
462
 
457
463
  Diffs are computed with `git` porcelain/numstat over tracked, staged, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protect-context",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Pi extension that adds agent guardrails: context brief, verification evidence, loop blocking, diff-scope warnings, and a durable journal.",
5
5
  "type": "module",
6
6
  "license": "MIT",