@atrib/revise 0.2.38 → 0.2.40

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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +27 -2
  3. package/package.json +4 -4
package/LICENSE CHANGED
@@ -201,7 +201,7 @@
201
201
  See the License for the specific language governing permissions and
202
202
  limitations under the License.
203
203
 
204
- Copyright 2025-2026 Atrib contributors
204
+ Copyright 2025-2026 atrib contributors
205
205
 
206
206
  Licensed under the Apache License, Version 2.0 (the "License");
207
207
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # @atrib/revise
2
2
 
3
- MCP server exposing the `atrib-revise` tool for Atrib's verifiable action layer. Supersedes a prior signed position with a stated reason, so the contradiction lands as a first-class graph node rather than a silent edit.
3
+ MCP server exposing the `atrib-revise` tool for atrib's verifiable action layer. Supersedes a prior signed position with a stated reason, so the contradiction lands as a first-class graph node rather than a silent edit.
4
4
 
5
5
  Records are immutable per spec [§1.6](https://github.com/creatornader/atrib/blob/main/atrib-spec.md#16-immutability): once signed, the bytes are fixed forever. When the agent now holds a position incompatible with a prior claim, the only honest move is to sign a revision that points at the prior record, names the prior position, names the new one, and gives the reason. The prior record stays in the graph; the revision adds a REVISES edge that supersedes it. A reader walking the graph sees both, and any policy or recall pipeline that respects revision can prefer the latest.
6
6
 
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @atrib/revise
11
+ ```
12
+
13
+ Verify a local build with `pnpm --filter @atrib/revise test`.
14
+
7
15
  ## Tool
8
16
 
9
17
  ```
@@ -25,6 +33,8 @@ mcp__atrib-revise__atrib-revise({
25
33
  }
26
34
  ```
27
35
 
36
+ The `revises` target is the `record_hash` of the prior position being superseded, for example one returned by a previous `atrib-emit` call or an `@atrib/recall` result.
37
+
28
38
  ## Writes
29
39
 
30
40
  Signs a `revision` record per spec [§1.2.4](https://github.com/creatornader/atrib/blob/main/atrib-spec.md#124-event_type-values) (event_type `0x06`, promoted via [D059](https://github.com/creatornader/atrib/blob/main/DECISIONS.md#d059-promote-revision-to-atrib-normative-event_type-byte-0x06)) and persists it through the same pipeline `@atrib/emit` uses: same key resolution, same chain composition, same JSONL mirror at `ATRIB_MIRROR_FILE`. A verifier cannot distinguish revision records signed via this tool from revision records signed via `@atrib/emit`'s polymorphic surface; the wire format is identical.
@@ -45,6 +55,17 @@ The graph layer derives a REVISES edge from the new record to the `revises` targ
45
55
 
46
56
  Add to your MCP host config (e.g. `~/.claude.json` `mcpServers`):
47
57
 
58
+ ```json
59
+ {
60
+ "atrib-revise": {
61
+ "command": "npx",
62
+ "args": ["-y", "@atrib/revise"]
63
+ }
64
+ }
65
+ ```
66
+
67
+ For a monorepo checkout or local development, point at the built binary directly:
68
+
48
69
  ```json
49
70
  {
50
71
  "atrib-revise": {
@@ -72,8 +93,12 @@ Or run as a one-off subprocess via `pnpm --filter @atrib/revise start`.
72
93
 
73
94
  ## Status
74
95
 
75
- Initial scaffold (v0.2.0). Cognitive primitive #3 per [D079](https://github.com/creatornader/atrib/blob/main/DECISIONS.md#d079-the-six-core-cognitive-primitives--atribs-agent-facing-surface). Builds clean against `@atrib/mcp` and `@atrib/emit`'s public exports introduced in `@atrib/emit@0.8.0`. The companion specialized writer `@atrib/annotate` covers the importance-and-meaning primitive (annotation event_type).
96
+ Published and maintained. Cognitive primitive #3 per [D079](https://github.com/creatornader/atrib/blob/main/DECISIONS.md#d079-the-six-core-cognitive-primitives--atribs-agent-facing-surface). Builds clean against `@atrib/mcp` and `@atrib/emit`'s public exports introduced in `@atrib/emit@0.8.0`. The companion specialized writer `@atrib/annotate` covers the importance-and-meaning primitive (annotation event_type).
76
97
 
77
98
  ## License
78
99
 
79
100
  Apache-2.0.
101
+
102
+ ## Part of atrib
103
+
104
+ atrib is an open protocol for verifiable agent actions. Every action becomes a signed, chain-linked record that anyone can verify against a public Merkle log, with no operator to trust. This package is one entrypoint. See the [full package family](https://github.com/creatornader/atrib#packages) and the [protocol spec](https://github.com/creatornader/atrib/blob/main/atrib-spec.md).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atrib/revise",
3
- "version": "0.2.38",
4
- "description": "MCP server for Atrib's verifiable action layer. Lets agents supersede a prior signed position with a stated reason.",
3
+ "version": "0.2.40",
4
+ "description": "MCP server for atrib's verifiable action layer. Lets agents supersede a prior signed position with a stated reason.",
5
5
  "author": "atrib <hello@atrib.dev>",
6
6
  "keywords": [
7
7
  "atrib",
@@ -25,8 +25,8 @@
25
25
  "dependencies": {
26
26
  "@modelcontextprotocol/sdk": "^1.29.0",
27
27
  "zod": "^3.25.76",
28
- "@atrib/emit": "0.17.0",
29
- "@atrib/mcp": "0.19.0"
28
+ "@atrib/emit": "0.17.2",
29
+ "@atrib/mcp": "0.20.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^25.9.3",