@remembrance-ai/mcp-server 0.2.3 → 0.2.5

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.md CHANGED
@@ -754,6 +754,57 @@ private submissions.
754
754
 
755
755
  ## Tools
756
756
 
757
+ ### Optional administrator review tools
758
+
759
+ `get_review_comparison` and `repair_review_draft` are optional admin-only tools,
760
+ not additions to recommended/default organization or private-learning approval
761
+ profiles. Both require the owning organization's `admin:review` key. The repair
762
+ tool's explicit consent class is `admin_review_repair`; private-learning consent
763
+ or a routine feedback approval is not permission to send a replacement body.
764
+
765
+ - `get_review_comparison`: GET `/api/v1/admin/review-queue/comparison` with
766
+ `job_id` and `review_provenance: "delegated_ai"`. Returns exact linked source,
767
+ parent and current version identities, complete instruction bodies and content
768
+ hashes; an absent role is null. It accepts no arbitrary reference selector,
769
+ route or action and returns no approval capability or decision snapshot.
770
+ Missing, changed, policy-disallowed or safety-held content requires a hold,
771
+ not a summary substitute or another disclosure route.
772
+ - `repair_review_draft`: POST `/api/v1/admin/review-queue/repairs` using
773
+ `private-skill-review-repair-v1`, the pending source `job_id`, a stable
774
+ `request_id` (`psrr_` plus 32 lowercase hexadecimal digits), an unchanged
775
+ inspection-only `expected_review_snapshot` from normal review detail, and a
776
+ complete private-skill `capture`. The tool sends `Idempotency-Key: request_id`.
777
+ The trimmed instruction body is 80–56,000 UTF-16 code units, the snapshot is
778
+ at most 65,536 JSON bytes, and the entire request is at most 262,144 JSON bytes
779
+ or the organization's smaller limit. Reserved `_remembrance_` metadata is
780
+ refused at any depth; nothing is truncated or split.
781
+
782
+ The private-skill generator keeps distinct original input fields as protected
783
+ evidence and requires a complete authored skill for serving instructions. It
784
+ must not synthesize that body by clipping or concatenating the original fields
785
+ under generated headings.
786
+ Selected publication previews can return HTTP 422 with
787
+ `details.code: generated_private_skill_authored_body_required`, `retryable: false`
788
+ and `next_action: { tool: "repair_review_draft", expected_review_snapshot:
789
+ "fresh_unselected_snapshot_required" }`. Read complete protected detail and a
790
+ fresh unselected snapshot before a separately authorized repair. Generic
791
+ `target_blocked` refusals remain possible; this guidance grants neither repair
792
+ nor the source generator's public-propagation authority.
793
+
794
+ Repair creates a new protected organization-private candidate through normal
795
+ admission, routing, verification and review. It supports active managed/QE
796
+ organizations, not a customer-held fallback. A changed snapshot/request/actor
797
+ conflicts; an exact same-identity replay returns the original replacement
798
+ receipt, without another queue dispatch. HTTP 202 creation or 200 replay is not
799
+ skill acceptance. The original remains undisposed. Keep it open until the
800
+ replacement is accepted and an active, tenant-readable version is independently
801
+ confirmed usable; closing the original still requires a separate explicit
802
+ normal decision. Preserve every existing safety, consent, protection, denied
803
+ inspection and uncertain-delivery hold. See the agent OpenAPI review-workflow
804
+ schemas for the request and receipt fields.
805
+
806
+ ### Standard tools
807
+
757
808
  - `get_connection_status`: inspect the active local/hosted transport,
758
809
  credential source, verified registry scope, and any declared native plugin
759
810
  lifecycle without exposing key material. Hosted MCP cannot read a local