Fix actor-private scholarly metadata workflow authority - #396
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Fixes JVNAUTOSCI-2649's canonical scholarly-metadata workflow so an authenticated actor can create or reuse an exact user-private paper representation without spurious per-effect delegation ceremony, while retaining stronger authority boundaries for shared and privileged effects.
Root cause
The ontology publication boundary rejected every agent-labelled mutation without an exact delegation before evaluating the authenticated actor's direct authority. Direct adaptive calls could mint that token, but normal durable workflow execution could not. Existing positive tests manually injected a delegation-shaped value and therefore did not exercise the supported production path.
The failed turn also exposed neighbouring end-to-end defects in paper identity/retry, canonical text-value read-back, nested effect identity, custom-handler scope containment, and reporting that confused a workflow-instance read with domain-target verification.
Changes
Validation
Bounded residuals
This does not claim system-wide centralisation of every scholarly mutation. Existing custom handlers on this workflow are scope-contained but do not yet share the central MCP receipt path. A separate legacy MCP/stdio materialisation route remains outside this claim. Receipt identity is not generalised to changed-argument repeated occurrences of the same tool in one state.
Post-merge deployment must verify seed-v26 activation/read-back and an actor-private durable workflow run plus duplicate-free retry before Jira is closed.