@theronap/agnoclast-mcp 0.9.188 → 0.9.189
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/lib/red_link_triage.mjs +8 -0
- package/package.json +1 -1
package/lib/red_link_triage.mjs
CHANGED
|
@@ -30,6 +30,14 @@ export function renderTriage(t, name) {
|
|
|
30
30
|
const when = t.updatedAt ? ` on ${String(t.updatedAt).slice(0, 10)}` : ' (retirement date not recorded)'
|
|
31
31
|
return `\n\n[[${name}]] EXISTS but is marked ${t.validity ?? 'superseded'} — it was authored and then deliberately retired${when}, so read_page (which serves only current pages) will not show it. It is NOT missing.${refs} Do NOT author over it: that would silently overwrite a decision someone made on purpose. Read it with \`page_history "${name}"\` then \`read_page "${name}"\` with a version. If it genuinely should be live again, revive it deliberately with \`set_page_validity\`.`
|
|
32
32
|
}
|
|
33
|
+
if (t.restricted) {
|
|
34
|
+
// 2026-09-29. A page by this name EXISTS and has not been shared with this reader. Before this arm it
|
|
35
|
+
// fell through to 'node' — "a wanted page, author it now" — and a new teammate's agent read two of
|
|
36
|
+
// their manager's pages as stubs, reported the manager had done "no work at all", and recommended
|
|
37
|
+
// authoring them: duplicates of pages someone else runs. Additive flag, checked after `demoted` and
|
|
38
|
+
// before `category`, so an older server that omits it gets the old wording.
|
|
39
|
+
return `\n\n[[${name}]] EXISTS, but it has not been shared with you — it is authored, you just cannot read it. It is NOT missing, and it does not mean nobody has worked on it.${refs} Do NOT author it: that would create a duplicate of a page someone else is responsible for. If you need what is on it, ask the person responsible for that work to share it with you (\`grant_page_access\`).`
|
|
40
|
+
}
|
|
33
41
|
if (t.category === 'node') {
|
|
34
42
|
return `\n\n[[${name}]] is a wanted page — a ${t.isPerson ? 'person' : 'node'} exists but has no page yet.${refs} Either author it now with \`author\`, or ${aliasHint}.`
|
|
35
43
|
}
|
package/package.json
CHANGED