Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .repository-projection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"projection": "plugins",
"projectionSchemaVersion": 1,
"sourceRepository": "dx-corp/mono",
"sourceSha": "8420a1f8c5fdd07a3d2d4d2a46e0db0bb6bbb352",
"sourceSha": "a2e8b231b208f9e30b0a115eb132176e1e7c301a",
"destinationRepository": "dx-corp/plugins",
"priorProjectedBase": "270fbca9507cd082790588b976527849bf9733ad",
"priorProjectedBase": "5fdc7e62300223098f67295b313b563523fbb5bc",
"definitionDigest": "b705140f4a8c5318b8a64dbeaa441df76d7cfb137de6940ae79004107d9a2b2e",
"toolDigest": "de718162d050963e0c04ca9cbc0e38b1db545e838e587f949bcd9fd8aded6bcd",
"contentDigest": "dce7be2dd97bfa145747d8c4dcb48930b8b3c4a4e2774312e6c1e4d41795fef6",
"toolDigest": "8a4412f3a379ca0bd1cfea9bff69cc46773c6d1f",
"contentDigest": "e0ddc40ee80b64bb33940cd8654de17ec82f0d7227c86222cd812b3645446b22",
"publicationEligible": true
}
20 changes: 10 additions & 10 deletions scripts/distribution-validation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ const HEX = /^[0-9a-f]{64}$/;
// perfectly correct tree.
const TOOL_DIGEST = /^(?:[0-9a-f]{40}|[0-9a-f]{64})$/;
const PROTO = [
"agentruntime/v1/runtime.proto", "agents/v1/agents.proto", "codex/v1/codex.proto",
"common/v1/analytics.proto", "common/v1/authz.proto", "common/v1/classification.proto",
"common/v1/delivery.proto", "common/v1/entity.proto", "common/v1/risk.proto", "common/v1/surface.proto",
"connectors/v1/connectors.proto", "console/v1/console.proto", "deixic/v1/deixic.proto",
"memory/v1/memory.proto", "meter/v1/meter.proto", "orbcontrol/v1/orb_control.proto",
"common/v1/delivery.proto", "common/v1/entity.proto", "common/v1/risk.proto",
"common/v1/surface.proto", "connectors/v1/connectors.proto", "console/v1/console.proto",
"deixic/v1/deixic.proto", "memory/v1/memory.proto", "meter/v1/meter.proto",
"objectives/v1/objectives.proto", "orbcontrol/v1/orb_control.proto",
"platform/v1/platform.proto", "remoterunner/v1/remoterunner.proto",
"toolexecution/v1/toolexecution.proto", "traces/v1/traces.proto", "vfs/v1/filesystem.proto",
].sort();
Expand Down Expand Up @@ -256,13 +258,11 @@ async function validatePlugins(root, files) {
for (const path of files) requireValue(!/(?:prompt-audit|session-history|product-kit)/i.test(path), `private plugin surface: ${path}`);
}

// `capobara` is admitted here rather than routed around this validation by
// the workflow's `matrix.name == 'capobara'` condition. That condition only
// governs the `sync` job; `node scripts/projections/verify-catalog.mjs
// --validate` -- the `repository-projections` component's own CI gate --
// builds and validates *every* catalog entry, and `validate.mjs` admits any
// name the catalog holds, so a catalog entry with no validator here fails
// that gate on `unsupported distribution: capobara`.
// `capobara` is admitted here like every other catalog entry: `validate.mjs`
// admits any name the catalog holds, and the `sync` job validates every
// prepared projection between Capobara's dry run and its real run, so a
// catalog entry with no validator here fails its publication on
// `unsupported distribution: capobara`.
//
// The compile proof for the projected crate lives in the crate's own
// `tests/standalone_build.rs`, which copies it out of the workspace and runs
Expand Down