Skip to content

docs(agents): the triage-filing block names the NAMESPACE, not just the type (step 1 of 3) - #5766

Merged
meshweaver-cloud[bot] merged 1 commit into
mainfrom
docs/triage-filing-namespace-in-agents-block
Sep 26, 2026
Merged

meshweaver-cloud[bot] merged 1 commit into
mainfrom
docs/triage-filing-namespace-in-agents-block

Conversation

@rbuergi

@rbuergi rbuergi commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Why agents got Create permission required when filing into triage

The fleet-wide file-it-and-move-on block in every AGENTS.md told agents to file "a Feedback/Feedback node on the control instance" and never said where. Agents took the namespace from the type. They created at Feedback/<id>, Feedback/_Submissions/<id> or Feedback/Inbox/<id>. All three answer Access denied: Create permission required by design, and the agents dropped the finding.

Measured by grepping this machine's agent transcripts for the refusal. Twelve sessions between 2026-09-20 and 2026-09-25 hit it, and every refused path was one of those three namespaces. None was {user}/Feedback/…. The newest case (2026-09-25) came after #5172 had put the namespace on Doc/Architecture/IncidentalFindings. That session tried Feedback, then Feedback/Inbox, and gave up, so the finding was never filed. The doc page is not in an agent's context. This block is.

The route works. On memex.systemorph.com today (core 45e7f94e), rbuergi/Feedback/notification-config-per-application-20260926 was created by rbuergi. It was handed over at 18:15:17Z, landed as Hosting/PlatformBuilds/_Inbox/bc328f15… (event: feedback) and became Hosting/Triage/feedback/memex-systemorph-com-rbuergi-feedback-notification-config-per-application-20260926 at 18:17Z.

What changed

  • AGENTS.md, block file-it-and-move-on now tells agents:
    • create with namespace: "{user}/Feedback" on the systemorph MCP server (not memex);
    • the three refused namespaces are refused by design and are no reason to drop a finding;
    • omit status, since sending "New" round-trips as absent;
    • no @ in the message;
    • read the node back afterwards, because that read is the wake the hand-over waits on.
  • .github/shared-rules.json: step 1 of 3. A text change to a block with no slots cannot land green in one step. The gate runs only in core and reads the spokes' default branches, so the hub's PR is red until the spokes change, and a spoke that changes first reddens every core PR. This change therefore narrows required-in to the hub and adds a why line saying the change is in flight. Next come the six spoke PRs, then a core PR that widens required-in again.
  • SharedRuleBlocks.md: "Changing the text of one" used to prescribe an order that cannot go green. It now documents the three steps.
  • IncidentalFindings.md: adds Feedback/Inbox/{id} to the list of refused namespaces, and notes why the page alone did not fix this.

Verification

  • check-shared-rules.py --self-test: 18/18 correct.
  • Live sweep with this register (--local Systemorph/MeshWeaver=AGENTS.md): all 6 blocks identical everywhere they are carried. file-it-and-move-on is now compared in 1 repo.
  • Red control: the same sweep against main's register reports all six spokes DRIFTED and exits 1. That is why the narrowing is needed.
  • MeshWeaver.Documentation.Test: builds with 0 warnings and 0 errors under -c Release -warnaserror; 649/649 passed.

Docs, rules and the register only. No source changes. No catalog keys.

Pairs-with: none — no public surface touched
Mirror-sync: none — no catalog key added or changed

Refs #5670 (the feedback-path cluster), #5172.

🤖 Generated with Claude Code

…he type — step 1 of 3

The fleet-wide `file-it-and-move-on` block told agents to file "a
`Feedback/Feedback` node on the control instance" and never said where. Agents
read the namespace off the type: they created at `Feedback/<id>`,
`Feedback/_Submissions/<id>` and `Feedback/Inbox/<id>`, got the by-design
`Access denied: Create permission required`, and dropped the finding.
Measured in agent transcripts 2026-09-20..25 (twelve sessions), the last one
AFTER #5172 put the namespace on Doc/Architecture/IncidentalFindings — that
page is not in an agent's context; this block is.

The block now says: create with `namespace: "{user}/Feedback"` on the
`systemorph` MCP server, the three refused namespaces are refused by design and
are no reason to drop a finding, omit `status`, no `@` in the message, and read
the node back — the read is the wake the hand-over waits on.

A text change to a slot-less block cannot land green in one step (the gate runs
only in core and reads the spokes' default branches), so this lands like an
addition: required-in narrowed to the hub here, the six spokes copy the text,
then required-in widens back. SharedRuleBlocks.md now documents that order; it
previously stated one that could not go green.

Verified: check-shared-rules.py self-test 18/18; live sweep green with this
register; red control with main's register names all six spokes DRIFTED;
MeshWeaver.Documentation.Test 649/649, 0 warnings under -c Release -warnaserror.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 26, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

Final findings are minor documentation nits with no blocking issues.

Review effort: Lite
Findings: None

What changed in this PR

Updates triage-filing guidance with the correct user namespace and documents the staged shared-rule rollout.

Changes:

  • Clarifies feedback filing and verification steps in AGENTS.md.
  • Temporarily narrows shared-rule validation to core.
  • Documents the three-step rollout.
  • Expands refused namespace documentation.
File Summary
src/​MeshWeaver.Documentation/​Data/​Architecture/​SharedRuleBlocks.md Documents staged shared-rule changes.
src/​MeshWeaver.Documentation/​Data/​Architecture/​IncidentalFindings.md Clarifies refused feedback namespaces.
AGENTS.md Adds precise triage filing instructions.
.github/​shared-rules.json Narrows validation during rollout.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

  1 files  ±0    1 suites  ±0   2m 27s ⏱️ +9s
348 tests ±0  348 ✅ ±0  0 💤 ±0  0 ❌ ±0 
352 runs  ±0  352 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

460 tests  ±0   460 ✅ ±0   59s ⏱️ +2s
  3 suites ±0     0 💤 ±0 
  3 files   ±0     0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

1 690 tests  ±0   1 690 ✅ ±0   4m 7s ⏱️ -8s
    2 suites ±0       0 💤 ±0 
    2 files   ±0       0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 4)

    3 files  ±0      3 suites  ±0   6m 21s ⏱️ +9s
2 142 tests ±0  2 142 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 143 runs  ±0  2 143 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

752 tests  ±0   560 ✅ ±0   7m 8s ⏱️ -1s
  3 suites ±0   192 💤 ±0 
  3 files   ±0     0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 5)

    5 files  ±0      5 suites  ±0   13m 20s ⏱️ -31s
4 241 tests ±0  4 239 ✅ ±0  2 💤 ±0  0 ❌ ±0 
4 245 runs  ±0  4 243 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   17 files  ±0     17 suites  ±0   34m 25s ⏱️ -19s
9 633 tests ±0  9 439 ✅ ±0  194 💤 ±0  0 ❌ ±0 
9 642 runs  ±0  9 448 ✅ ±0  194 💤 ±0  0 ❌ ±0 

Results for commit eadcdf7. ± Comparison against base commit b43e228.

@meshweaver-cloud
meshweaver-cloud Bot added this pull request to the merge queue Sep 26, 2026
Merged via the queue into main with commit 5297f89 Sep 26, 2026
44 checks passed
@rbuergi
rbuergi deleted the docs/triage-filing-namespace-in-agents-block branch October 10, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants