@inerrata-corporation/errata 2.0.19 → 2.0.20-dev.3679
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/README.txt +7 -0
- package/errata.mjs +1130 -187
- package/package.json +1 -1
- package/pass-worker.mjs +5 -1
- package/resources/context-plugin/.codex-plugin/plugin.json +24 -0
- package/resources/context-plugin/INSTALL.md +43 -0
- package/resources/context-plugin/SHA256SUMS +14 -0
- package/resources/context-plugin/SUBMISSION.md +97 -0
- package/resources/context-plugin/THIRD-PARTY-NOTICES.md +2840 -0
- package/resources/context-plugin/assets/icon.png +0 -0
- package/resources/context-plugin/configure-local.mjs +27 -0
- package/resources/context-plugin/dist/client.js +4147 -0
- package/resources/context-plugin/dist/index.html +26 -0
- package/resources/context-plugin/dist/mcp-server.mjs +30660 -0
- package/resources/context-plugin/dist/panel.html +4362 -0
- package/resources/context-plugin/dist/server.mjs +521 -0
- package/resources/context-plugin/dist/style.css +189 -0
- package/resources/context-plugin/launch.mjs +63 -0
- package/resources/context-plugin/skills/context-graph/SKILL.md +37 -0
package/package.json
CHANGED
package/pass-worker.mjs
CHANGED
|
@@ -27197,7 +27197,11 @@ function priorsForFile(store2, relPath) {
|
|
|
27197
27197
|
const resolvedProblems = [];
|
|
27198
27198
|
const seenProblem = /* @__PURE__ */ new Set();
|
|
27199
27199
|
const related = /* @__PURE__ */ new Map();
|
|
27200
|
-
|
|
27200
|
+
const anchorEdges = [
|
|
27201
|
+
...store2.inEdges(file2.id, ["ANCHORED_AT"]),
|
|
27202
|
+
...store2.outEdges(file2.id, ["DEFINES"]).flatMap((d) => store2.inEdges(d.to, ["ANCHORED_AT"]))
|
|
27203
|
+
];
|
|
27204
|
+
for (const e of anchorEdges) {
|
|
27201
27205
|
const n = store2.getNode(e.from);
|
|
27202
27206
|
if (!n) continue;
|
|
27203
27207
|
if (n.label === "Problem" || n.label === "Vulnerability") {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "errata-context",
|
|
3
|
+
"version": "2.0.20-dev.3679",
|
|
4
|
+
"description": "A minimal 3D view of loaded Errata priors and recent graph bursts.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "inErrata"
|
|
7
|
+
},
|
|
8
|
+
"skills": "./skills/",
|
|
9
|
+
"mcpServers": "./.mcp.json",
|
|
10
|
+
"interface": {
|
|
11
|
+
"displayName": "Errata Context",
|
|
12
|
+
"shortDescription": "Follow your context in a quiet 3D graph.",
|
|
13
|
+
"longDescription": "A conversation panel containing only your Errata graph and a small activity log. Follows the task's loaded priors and focuses recent bursts. Reads local data without modifying the graph.",
|
|
14
|
+
"developerName": "inErrata",
|
|
15
|
+
"category": "Productivity",
|
|
16
|
+
"capabilities": [
|
|
17
|
+
"Visualize Errata context",
|
|
18
|
+
"Replay graph bursts"
|
|
19
|
+
],
|
|
20
|
+
"composerIcon": "./assets/icon.png",
|
|
21
|
+
"logo": "./assets/icon.png",
|
|
22
|
+
"defaultPrompt": "Open the Errata context graph for this task."
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Errata Context — local review build
|
|
2
|
+
|
|
3
|
+
This archive is for local evaluation. It is **not eligible for the standard
|
|
4
|
+
public directory upload** while its MCP server uses local stdio. Public local-MCP
|
|
5
|
+
distribution needs OpenAI support; see SUBMISSION.md.
|
|
6
|
+
|
|
7
|
+
Requires Node 22+ on the same machine as Codex and an Errata workspace.
|
|
8
|
+
The server and panel are bundled: no npm install or cloud service is needed.
|
|
9
|
+
|
|
10
|
+
1. Extract the archive into a permanent folder under your home directory, for
|
|
11
|
+
example `~/plugins/errata-context-review`.
|
|
12
|
+
2. Run `node configure-local.mjs /absolute/path/to/your/workspace` from that folder.
|
|
13
|
+
This writes `.mcp.json` using your local executable and file paths. Do not copy
|
|
14
|
+
the generated file between machines. No credentials are required.
|
|
15
|
+
3. Add the following entry to the `plugins` array in
|
|
16
|
+
`~/.agents/plugins/marketplace.json`, preserving any existing entries. If the
|
|
17
|
+
file does not exist, create it with `{"name":"personal","plugins":[]}` first.
|
|
18
|
+
The path below is relative to your home directory, not the marketplace file.
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"name": "errata-context",
|
|
23
|
+
"source": { "source": "local", "path": "./plugins/errata-context-review" },
|
|
24
|
+
"policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
|
|
25
|
+
"category": "Productivity"
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
4. Install with `codex plugin add errata-context@personal`; substitute your existing
|
|
30
|
+
marketplace's name if it differs. Restart the desktop app to load the release.
|
|
31
|
+
5. In an Errata workspace, ask to open the Errata context graph for the current task.
|
|
32
|
+
Expand the Context card into the side panel once. The mounted panel follows new
|
|
33
|
+
priors and bursts without creating more cards.
|
|
34
|
+
|
|
35
|
+
The workspace argument supplies only a fallback for direct panel entry. The skill
|
|
36
|
+
passes the current workspace and task explicitly, so the panel can follow another
|
|
37
|
+
workspace without reconfiguration. Moving the plugin folder requires rerunning
|
|
38
|
+
the configure command and refreshing the installation.
|
|
39
|
+
|
|
40
|
+
To stop using the plugin, disable or uninstall it in the app. The graph is read-only;
|
|
41
|
+
the plugin creates no cloud account and runs no background service outside Codex.
|
|
42
|
+
The optional browser fallback writes a local server status file under
|
|
43
|
+
`.errata/context-preview/` and runs until its local Node process is stopped.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
596a954316c47a7e34ffd3ead34462b290aee6d1da2b435cb7f4902f905f380c .codex-plugin/plugin.json
|
|
2
|
+
a7bebae9fb01c838d6c75fc784129e28be571233fa66ff5ee8039b574f35ccf7 assets/icon.png
|
|
3
|
+
fc38b64e4df1e0b72c35764bef6c4c05430d97c9009ad0ecc8a9e75b4deab232 configure-local.mjs
|
|
4
|
+
73dc6028b3b070257c7c31f252d11e55a9e096f4aed0f187f10cb21716e1e6d7 dist/client.js
|
|
5
|
+
6d2d2068ffa7e6627151aa69e86654d1b3452e7205d75a15b312c1bc663d03d4 dist/index.html
|
|
6
|
+
667dd889a26cdeda1927084b95443d7bbe3fe9def2a1e61531682ccef594780e dist/mcp-server.mjs
|
|
7
|
+
fca26cc5a0ee1080a9f4aa1773b3e634ea7ff12376bbb66ea66ee3670dc5f274 dist/panel.html
|
|
8
|
+
ab99177aff0d134ef44f7867c61a7c4eb8a6afbb0f138c08dbb68e7546260147 dist/server.mjs
|
|
9
|
+
5a721b645e399e676d48f8691ec81694172f1bbdea309c852dd099ef7a147018 dist/style.css
|
|
10
|
+
2644953a4a3762926663db951c03ad3175061c9d52de49cf90d07ddb4c73846a INSTALL.md
|
|
11
|
+
fb840ab74865258c91565529fa08f9f8586261f973c08a798e8f66d85d3260ed launch.mjs
|
|
12
|
+
5abff6ef2aff3bc033862e2293421908e6d6fe9425de042412e0c8b577a6d8fc skills/context-graph/SKILL.md
|
|
13
|
+
9f8d96a5a28248e04b54fdabed59319a640dead39ede67fe9b9283aec678d46f SUBMISSION.md
|
|
14
|
+
e0ea78e7876a08a9519e19802b8500c6383334912bebea09f4c58ae9721e889b THIRD-PARTY-NOTICES.md
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Errata Context — public directory preparation
|
|
2
|
+
|
|
3
|
+
Status: **not submitted, not published**. The accepted visualization is implemented
|
|
4
|
+
and the local renderer, parser, graph, and MCP checks pass. This is a local desktop
|
|
5
|
+
plugin; it does not currently work in cloud-only ChatGPT sessions.
|
|
6
|
+
|
|
7
|
+
The Errata CLI also distributes this package through its local Codex setup,
|
|
8
|
+
using the daemon release version for installed assets. That distribution does
|
|
9
|
+
not depend on a public-directory listing.
|
|
10
|
+
|
|
11
|
+
## Blocking distribution requirement
|
|
12
|
+
|
|
13
|
+
OpenAI's [package guide](https://developers.openai.com/plugins/build/plugins#bundled-mcp-servers-and-lifecycle-hooks)
|
|
14
|
+
requires a public HTTPS endpoint for standard public MCP submissions and directs
|
|
15
|
+
local-MCP developers to their OpenAI contact. This plugin reads the selected local
|
|
16
|
+
workspace's Errata context/SQLite graph and its exact Codex task transcript. A
|
|
17
|
+
remote server cannot perform those reads by itself.
|
|
18
|
+
|
|
19
|
+
Preserve the local implementation and request the supported local-MCP submission
|
|
20
|
+
route before uploading. A cloud version would need a separately designed,
|
|
21
|
+
authenticated, consent-based local bridge and new security/review checks. The
|
|
22
|
+
current stdio server must not simply be exposed over HTTP: it accepts local paths
|
|
23
|
+
under the trusted local-host model and has no remote authentication or tenancy.
|
|
24
|
+
|
|
25
|
+
Do not omit the MCP component and upload this as a skills-only plugin: that removes
|
|
26
|
+
the native panel, and the documented update flow cannot add MCP to a skills-only
|
|
27
|
+
listing later.
|
|
28
|
+
|
|
29
|
+
## Draft listing
|
|
30
|
+
|
|
31
|
+
- Name: Errata Context
|
|
32
|
+
- Publisher: inErrata (publishing identity must be verified in the portal)
|
|
33
|
+
- Short description: Follow your context in a quiet 3D graph.
|
|
34
|
+
- Description: See the Errata priors recorded for your current Codex task, watch
|
|
35
|
+
recent graph bursts unfold, and inspect the visible causal chain. Floating labels
|
|
36
|
+
and signal opacity keep the view readable. Requires a local Errata workspace and
|
|
37
|
+
Node 22+. Reads local files without modifying the graph. It does not expose hidden
|
|
38
|
+
model state or prove which text survived context compaction.
|
|
39
|
+
- Category: Productivity
|
|
40
|
+
- Starter: Open the Errata context graph for this task.
|
|
41
|
+
- Release notes: Initial local release with a persistent minimal side panel, burst
|
|
42
|
+
replay, automatic camera following, floating labels, signal-strength opacity,
|
|
43
|
+
causal-chain emphasis, host themes, and reduced-motion support. Version 0.1.7
|
|
44
|
+
softens highlighted links and restores background-node visibility.
|
|
45
|
+
|
|
46
|
+
## Data handling for review
|
|
47
|
+
|
|
48
|
+
Inputs are the chosen workspace and task ID. The plugin reads local
|
|
49
|
+
`.errata/context.md`, `.errata/priming-handles.json`, `.errata/castalia.db`, and the
|
|
50
|
+
matching Codex transcript under `CODEX_HOME/sessions`. It extracts recorded Errata
|
|
51
|
+
context and completed burst results; it does not send the full transcript to the
|
|
52
|
+
panel. Graph data is passed through the host's MCP App channel in tool-result
|
|
53
|
+
`_meta`; model-visible results contain a short status and counts. The plugin itself
|
|
54
|
+
has no external network transport, telemetry, or cloud storage. The host's own
|
|
55
|
+
processing and policies still apply.
|
|
56
|
+
|
|
57
|
+
The graph database is opened read-only. The native UI bundles its JavaScript and
|
|
58
|
+
styles and declares empty external resource/connect CSP lists. View tokens bind
|
|
59
|
+
polling to the original workspace/task. A mounted panel follows updates; a fully
|
|
60
|
+
unmounted panel cannot reopen itself. Burst playback replays returned hop data,
|
|
61
|
+
not the internal search execution.
|
|
62
|
+
|
|
63
|
+
## Reviewer cases
|
|
64
|
+
|
|
65
|
+
These are the proposed manual acceptance cases, not a claim that the public review
|
|
66
|
+
workflow has run. Use synthetic workspace data and a test task, never a real user's
|
|
67
|
+
transcript in screenshots or recordings.
|
|
68
|
+
|
|
69
|
+
| Type | Prompt or action | Tools / expected result |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| Positive | Open the Errata context graph for this task. | `open_context_graph` receives exact workspace/task; native graph and tiny log render. |
|
|
72
|
+
| Positive | Keep this panel open while context changes. | App-only `read_context_graph` refreshes the same panel; no additional chat card; task injection replaces prior snapshot. |
|
|
73
|
+
| Positive | Run a graph burst, then replay its activity line. | Errata produces a completed burst; refresh reveals seed, recorded hops, then results; replay repeats the sequence. |
|
|
74
|
+
| Positive | Inspect the strongest visible causal chain. | Existing `CAUSED_BY`, `FIXED_BY`, or `SOLVED_BY` edges remain highlighted; hover explains signal metric; no invented links. |
|
|
75
|
+
| Positive | Orbit the graph, resume following, and enable reduced motion. | Drag pauses camera following; double-click/Home/Escape resumes; reduced motion reveals results without playback. |
|
|
76
|
+
| Negative | Open another task's graph without knowing its task ID. | Ask for or obtain the actual current task ID; never select the latest unrelated transcript. |
|
|
77
|
+
| Negative | Change or delete the priors through this panel. | Explain that the panel is read-only; no graph write tool exists. |
|
|
78
|
+
| Negative | Open context where Errata or a matching transcript is absent. | Show the labeled workspace fallback or waiting state; no invented priors or claim of task-loaded context. |
|
|
79
|
+
|
|
80
|
+
## Remaining external submission work
|
|
81
|
+
|
|
82
|
+
After the local-MCP route is confirmed, use the
|
|
83
|
+
[submission portal](https://platform.openai.com/plugins) and follow the
|
|
84
|
+
[official submission process](https://developers.openai.com/plugins/deploy/submission).
|
|
85
|
+
|
|
86
|
+
- Confirm the inErrata publishing identity, owning project, and submission access.
|
|
87
|
+
- Confirm acceptable local-MCP packaging and review installation instructions.
|
|
88
|
+
- Supply approved public support, privacy-policy, and terms URLs for this plugin.
|
|
89
|
+
The repository's site legal drafts explicitly say they are pending legal review;
|
|
90
|
+
they have not been represented here as approved plugin policies.
|
|
91
|
+
- Add public listing screenshots and an accessible video walkthrough using synthetic
|
|
92
|
+
data, run all eight reviewer cases, and supply reviewer setup details.
|
|
93
|
+
- Upload the supported package, resolve automated findings, complete the required
|
|
94
|
+
attestations, and submit. Publish only after approval.
|
|
95
|
+
|
|
96
|
+
No contact message, portal upload, policy attestation, or public publication has
|
|
97
|
+
been performed by this preparation step.
|