@papi-ai/shared
Advanced tools
+1
-1
@@ -32,3 +32,3 @@ /** Valid task statuses on the cycle board. */ | ||
| /** The value-add capabilities that are switchable from the dashboard (Tier 1). */ | ||
| type CapabilityKey = 'prReviewer' | 'securityScan' | 'changelog' | 'verifyHealthCheck' | 'gestaltPreBuild' | 'batchBuildRollup' | 'modelRecommendation' | 'discoveredIssues' | 'publishDirective' | 'releaseGate' | 'deployHook'; | ||
| type CapabilityKey = 'prReviewer' | 'securityScan' | 'changelog' | 'verifyHealthCheck' | 'gestaltPreBuild' | 'batchBuildRollup' | 'modelRecommendation' | 'discoveredIssues' | 'publishDirective' | 'releaseGate' | 'deployHook' | 'acceptanceGate'; | ||
| /** A curated capability descriptor rendered by the dashboard toggle surface. */ | ||
@@ -35,0 +35,0 @@ interface CapabilityDescriptor { |
+8
-1
@@ -50,3 +50,10 @@ // src/index.ts | ||
| // records a deploy_hook progress step so the reactive hub shows the deploy step. | ||
| { key: "deployHook", label: "Post-release deploy", description: "Runs your deploy command after a release merges.", step: "release", defaultEnabled: false } | ||
| { key: "deployHook", label: "Post-release deploy", description: "Runs your deploy command after a release merges.", step: "release", defaultEnabled: false }, | ||
| // task-2833 (C341): enforce the handoff's acceptanceCriteria[] at build-complete. | ||
| // When ON, a completed:"yes" build whose handoff lists acceptance criteria must | ||
| // pass acceptance_confirmed:true or build_execute returns the checklist and does | ||
| // NOT mark the task Done (non-destructive — the report is not discarded). Defaults | ||
| // OFF: it changes the completion contract, so it is strictly opt-in until a project | ||
| // chooses to hold builds to their own acceptance criteria. | ||
| { key: "acceptanceGate", label: "Acceptance-criteria gate", description: "Requires confirming the handoff acceptance criteria before a build completes.", step: "build", defaultEnabled: false } | ||
| ]; | ||
@@ -53,0 +60,0 @@ var CAPABILITY_KEYS = CAPABILITY_REGISTRY.map((c) => c.key); |
+1
-1
| { | ||
| "name": "@papi-ai/shared", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "description": "Shared types and business rules for PAPI — used by both MCP server and dashboard", | ||
@@ -5,0 +5,0 @@ "license": "Elastic-2.0", |
19214
3.8%247
2.92%