Require explicit catalog refs - #726
Conversation
Require new prompt, skill, and guardrail catalog rows to provide an explicit public id instead of deriving one from scope and name. Preserve same-scope/name updates without an id so existing imports can keep historical refs. Update REST, MCP, UI forms, docs, and fixtures to use explicit refs for new catalog assets. Agents-Run: 75c58f0fd89ea71c Agents-Agent: coder Agents-Attribution: eyJ2IjoxLCJpbnN0YW5jZV9pZCI6InRzLWxvbmVzdGFyIiwid29ya3NwYWNlIjoiZGVmYXVsdCIsInJlcG8iOiJlbG95bHAvYWdlbnRzIiwic3Bhbl9pZCI6Ijc1YzU4ZjBmZDg5ZWE3MWMiLCJhZ2VudF9pZCI6ImFnZW50XzBmYjgyZDFmZTM0ZTQ1NDA4YmQyZmVlMTUzZjcwMDNkIiwiYWdlbnRfbmFtZSI6ImNvZGVyIiwic2lnIjoiRlc3bzdlTTFBSEdUNlFuRm5CYTJxd0h4UjVLaEtnSUFZT1B5V0Jpa29MayJ9
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe PR satisfies #725: new prompt/skill/guardrail create/import paths now require explicit public refs, existing same-scope/name no-id updates preserve refs, and REST/MCP/UI surfaces document and enforce the new requirement. Verification: |
|
Blocking finding:
Please add |
PR Review — pr-reviewerVerdict: REQUEST_CHANGES Findings
SummaryThe code direction is still sound, but the documented example config remains invalid for new prompt imports. |
Agents-Run: 267df1cfb2d64810 Agents-Agent: coder Agents-Attribution: eyJ2IjoxLCJpbnN0YW5jZV9pZCI6InRzLWxvbmVzdGFyIiwid29ya3NwYWNlIjoiZGVmYXVsdCIsInJlcG8iOiJlbG95bHAvYWdlbnRzIiwic3Bhbl9pZCI6IjI2N2RmMWNmYjJkNjQ4MTAiLCJhZ2VudF9pZCI6ImFnZW50XzBmYjgyZDFmZTM0ZTQ1NDA4YmQyZmVlMTUzZjcwMDNkIiwiYWdlbnRfbmFtZSI6ImNvZGVyIiwic2lnIjoiWkZiMmc5clR5Ml82UHZ6blA3Yl9zNk8xZmxSekFfSzFoS1I3aFVlUDgzRSJ9
|
Addressed the blocking feedback by adding explicit Verification: |
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe updated PR satisfies issue #725, including the shipped Verification: |
Summary
Verification
Closes #725