@mrciphersmith/keryx 0.2.143 → 0.2.145
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 +17 -2
- package/dist/cli.js +1539 -1194
- package/dist/core.js +2 -1
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -24678,7 +24678,8 @@ class ProposalLifecycleService {
|
|
|
24678
24678
|
if (input.decision === "accepted") {
|
|
24679
24679
|
const confirmed = await consumeConfirmToken(this.root, input.workspaceId, proposal.id, input.idempotencyKey, input.confirmToken, { securityGate: proposal.security.gate });
|
|
24680
24680
|
if (!confirmed.ok) {
|
|
24681
|
-
|
|
24681
|
+
const mintCommand = proposal.security.gate === "needs-approval" ? "keryx workspace confirm-review <workspace-id> <proposal-id> --acknowledge-security" : "keryx workspace confirm-review <workspace-id> <proposal-id>";
|
|
24682
|
+
throw new ProposalLifecycleError(confirmed.reason, confirmed.reason === "token_required" ? `accept requires a confirm token \u2014 run \`${mintCommand}\` from an interactive terminal first` : confirmed.reason === "security_acknowledgement_required" ? `accept requires explicit human acknowledgement of the proposal security findings \u2014 re-mint the token WITH the acknowledgement flag: \`${mintCommand}\`` : `confirm token is missing, expired, already used, or does not match this proposal \u2014 mint a fresh one with \`${mintCommand}\``);
|
|
24682
24683
|
}
|
|
24683
24684
|
}
|
|
24684
24685
|
const reviewerAuthority = authorityFor(manifest, actor.subject);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.145",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|