@xemahq/platform-common 0.29.0 → 0.31.0
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/dist/database/biome-database.d.ts +2 -11
- package/dist/database/biome-database.d.ts.map +1 -1
- package/dist/database/biome-database.js +4 -24
- package/dist/database/biome-database.js.map +1 -1
- package/dist/database/idempotency-record-schema.d.ts +6 -0
- package/dist/database/idempotency-record-schema.d.ts.map +1 -0
- package/dist/database/idempotency-record-schema.js +102 -0
- package/dist/database/idempotency-record-schema.js.map +1 -0
- package/dist/database/release-intent-schema.d.ts +6 -0
- package/dist/database/release-intent-schema.d.ts.map +1 -0
- package/dist/database/release-intent-schema.js +129 -0
- package/dist/database/release-intent-schema.js.map +1 -0
- package/dist/database/schema-source-reader.d.ts +7 -0
- package/dist/database/schema-source-reader.d.ts.map +1 -0
- package/dist/database/schema-source-reader.js +49 -0
- package/dist/database/schema-source-reader.js.map +1 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -29
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-session.types.d.ts +0 -9
- package/dist/lib/agent-session.types.d.ts.map +1 -1
- package/dist/lib/agent-session.types.js +1 -11
- package/dist/lib/agent-session.types.js.map +1 -1
- package/dist/lib/auth/org-authority-observations.d.ts +2 -0
- package/dist/lib/auth/org-authority-observations.d.ts.map +1 -1
- package/dist/lib/auth/org-authority-observations.js +31 -12
- package/dist/lib/auth/org-authority-observations.js.map +1 -1
- package/dist/lib/auth/org-authority.d.ts +8 -11
- package/dist/lib/auth/org-authority.d.ts.map +1 -1
- package/dist/lib/auth/org-authority.js +12 -31
- package/dist/lib/auth/org-authority.js.map +1 -1
- package/dist/lib/auth/org-claim.d.ts.map +1 -1
- package/dist/lib/auth/org-claim.js.map +1 -1
- package/dist/lib/auth/org-role.d.ts +2 -6
- package/dist/lib/auth/org-role.d.ts.map +1 -1
- package/dist/lib/auth/org-role.js +10 -19
- package/dist/lib/auth/org-role.js.map +1 -1
- package/dist/lib/derive-required-workspace-slots.d.ts +1 -1
- package/dist/lib/derive-required-workspace-slots.d.ts.map +1 -1
- package/dist/lib/derive-required-workspace-slots.js +1 -1
- package/dist/lib/derive-required-workspace-slots.js.map +1 -1
- package/dist/lib/edge-stream/index.d.ts.map +1 -1
- package/dist/lib/edge-stream/index.js.map +1 -1
- package/dist/lib/errors/artifact-store-errors.d.ts +14 -0
- package/dist/lib/errors/artifact-store-errors.d.ts.map +1 -0
- package/dist/lib/errors/artifact-store-errors.js +41 -0
- package/dist/lib/errors/artifact-store-errors.js.map +1 -0
- package/dist/lib/errors/index.d.ts +3 -0
- package/dist/lib/errors/index.d.ts.map +1 -0
- package/dist/lib/{interaction-widgets → errors}/index.js +2 -3
- package/dist/lib/errors/index.js.map +1 -0
- package/dist/lib/errors/knowledge-graph-errors.d.ts +5 -0
- package/dist/lib/errors/knowledge-graph-errors.d.ts.map +1 -0
- package/dist/lib/errors/knowledge-graph-errors.js +17 -0
- package/dist/lib/errors/knowledge-graph-errors.js.map +1 -0
- package/dist/lib/interactive-workspace-layout.js +1 -1
- package/dist/lib/interactive-workspace-layout.js.map +1 -1
- package/dist/lib/llm-stream/consume-stream.js +1 -1
- package/dist/lib/llm-stream/consume-stream.js.map +1 -1
- package/dist/lib/manifest/manifest.enums.d.ts +1 -1
- package/dist/lib/manifest/manifest.enums.d.ts.map +1 -1
- package/dist/lib/manifest/manifest.enums.js +1 -1
- package/dist/lib/manifest/manifest.enums.js.map +1 -1
- package/dist/lib/mcp-bridge-token.d.ts +3 -5
- package/dist/lib/mcp-bridge-token.d.ts.map +1 -1
- package/dist/lib/mcp-bridge-token.js +3 -11
- package/dist/lib/mcp-bridge-token.js.map +1 -1
- package/dist/lib/request-context.d.ts +2 -2
- package/dist/lib/request-context.d.ts.map +1 -1
- package/dist/lib/request-context.js +1 -1
- package/dist/lib/request-context.js.map +1 -1
- package/dist/lib/resolve-acting-user.d.ts +1 -1
- package/dist/lib/resolve-acting-user.d.ts.map +1 -1
- package/dist/lib/resolve-acting-user.js +1 -1
- package/dist/lib/resolve-acting-user.js.map +1 -1
- package/dist/lib/session-event-payloads/assistant-message-metadata.d.ts +1 -1
- package/dist/lib/session-event-payloads/assistant-message-metadata.d.ts.map +1 -1
- package/dist/lib/session-event-payloads/validation.js +1 -1
- package/dist/lib/session-event-payloads/validation.js.map +1 -1
- package/dist/lib/to-json-column-value.d.ts +6 -0
- package/dist/lib/to-json-column-value.d.ts.map +1 -1
- package/dist/lib/to-json-column-value.js +19 -2
- package/dist/lib/to-json-column-value.js.map +1 -1
- package/dist/nestjs/auth/actor-classification.d.ts +5 -5
- package/dist/nestjs/auth/actor-classification.d.ts.map +1 -1
- package/dist/nestjs/auth/actor-classification.js +20 -12
- package/dist/nestjs/auth/actor-classification.js.map +1 -1
- package/dist/nestjs/auth/delegation-chain.d.ts +1 -1
- package/dist/nestjs/auth/delegation-chain.d.ts.map +1 -1
- package/dist/nestjs/auth/holds-org-authority.d.ts +12 -0
- package/dist/nestjs/auth/holds-org-authority.d.ts.map +1 -0
- package/dist/nestjs/auth/holds-org-authority.js +20 -0
- package/dist/nestjs/auth/holds-org-authority.js.map +1 -0
- package/dist/nestjs/auth/index.d.ts +4 -3
- package/dist/nestjs/auth/index.d.ts.map +1 -1
- package/dist/nestjs/auth/index.js +8 -6
- package/dist/nestjs/auth/index.js.map +1 -1
- package/dist/nestjs/auth/internal-caller.guard.js +1 -1
- package/dist/nestjs/auth/internal-caller.guard.js.map +1 -1
- package/dist/nestjs/auth/org-role.guard.d.ts.map +1 -1
- package/dist/nestjs/auth/org-role.guard.js +2 -2
- package/dist/nestjs/auth/org-role.guard.js.map +1 -1
- package/dist/nestjs/auth/service-actor.guard.js +1 -1
- package/dist/nestjs/auth/service-actor.guard.js.map +1 -1
- package/dist/nestjs/auth/service-or-org-role.guard.d.ts.map +1 -1
- package/dist/nestjs/auth/service-or-org-role.guard.js +2 -2
- package/dist/nestjs/auth/service-or-org-role.guard.js.map +1 -1
- package/dist/nestjs/auth/service-token.guard.js +1 -1
- package/dist/nestjs/auth/service-token.guard.js.map +1 -1
- package/dist/nestjs/auth/token-class.guard.d.ts +1 -1
- package/dist/nestjs/auth/token-class.guard.d.ts.map +1 -1
- package/dist/nestjs/caller-org-scope.d.ts +1 -1
- package/dist/nestjs/caller-org-scope.d.ts.map +1 -1
- package/dist/nestjs/caller-org-scope.js +1 -1
- package/dist/nestjs/caller-org-scope.js.map +1 -1
- package/dist/nestjs/capability-edge-tenancy.d.ts +16 -0
- package/dist/nestjs/capability-edge-tenancy.d.ts.map +1 -0
- package/dist/nestjs/capability-edge-tenancy.js +44 -0
- package/dist/nestjs/capability-edge-tenancy.js.map +1 -0
- package/dist/nestjs/cors.config.js +1 -1
- package/dist/nestjs/cors.config.js.map +1 -1
- package/dist/nestjs/global-exception.filter.d.ts +1 -4
- package/dist/nestjs/global-exception.filter.d.ts.map +1 -1
- package/dist/nestjs/global-exception.filter.js +53 -179
- package/dist/nestjs/global-exception.filter.js.map +1 -1
- package/dist/nestjs/idempotency/idempotency.service.d.ts.map +1 -1
- package/dist/nestjs/idempotency/idempotency.service.js +2 -1
- package/dist/nestjs/idempotency/idempotency.service.js.map +1 -1
- package/dist/nestjs/index.d.ts +11 -7
- package/dist/nestjs/index.d.ts.map +1 -1
- package/dist/nestjs/index.js +31 -10
- package/dist/nestjs/index.js.map +1 -1
- package/dist/nestjs/jwt-verification.guard.d.ts +4 -1
- package/dist/nestjs/jwt-verification.guard.d.ts.map +1 -1
- package/dist/nestjs/jwt-verification.guard.js +18 -5
- package/dist/nestjs/jwt-verification.guard.js.map +1 -1
- package/dist/nestjs/org-scope.d.ts +9 -0
- package/dist/nestjs/org-scope.d.ts.map +1 -0
- package/dist/nestjs/org-scope.js +26 -0
- package/dist/nestjs/org-scope.js.map +1 -0
- package/dist/nestjs/pagination.d.ts +20 -3
- package/dist/nestjs/pagination.d.ts.map +1 -1
- package/dist/nestjs/pagination.js +90 -13
- package/dist/nestjs/pagination.js.map +1 -1
- package/dist/nestjs/problem-details.dto.d.ts +15 -0
- package/dist/nestjs/problem-details.dto.d.ts.map +1 -0
- package/dist/nestjs/problem-details.dto.js +103 -0
- package/dist/nestjs/problem-details.dto.js.map +1 -0
- package/dist/nestjs/refusal.d.ts +27 -0
- package/dist/nestjs/refusal.d.ts.map +1 -0
- package/dist/nestjs/refusal.js +231 -0
- package/dist/nestjs/refusal.js.map +1 -0
- package/dist/nestjs/request-context.middleware.d.ts +1 -0
- package/dist/nestjs/request-context.middleware.d.ts.map +1 -1
- package/dist/nestjs/request-context.middleware.js +49 -20
- package/dist/nestjs/request-context.middleware.js.map +1 -1
- package/dist/nestjs/swagger.decorators.d.ts +1 -0
- package/dist/nestjs/swagger.decorators.d.ts.map +1 -1
- package/dist/nestjs/swagger.decorators.js +22 -2
- package/dist/nestjs/swagger.decorators.js.map +1 -1
- package/package.json +10 -4
- package/prisma-url.d.ts +38 -0
- package/prisma-url.js +84 -0
- package/dist/lib/briefcase/index.d.ts +0 -18
- package/dist/lib/briefcase/index.d.ts.map +0 -1
- package/dist/lib/briefcase/index.js +0 -72
- package/dist/lib/briefcase/index.js.map +0 -1
- package/dist/lib/errors/pipeline-errors.d.ts +0 -178
- package/dist/lib/errors/pipeline-errors.d.ts.map +0 -1
- package/dist/lib/errors/pipeline-errors.js +0 -316
- package/dist/lib/errors/pipeline-errors.js.map +0 -1
- package/dist/lib/interaction-widgets/factories.d.ts +0 -83
- package/dist/lib/interaction-widgets/factories.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/factories.js +0 -173
- package/dist/lib/interaction-widgets/factories.js.map +0 -1
- package/dist/lib/interaction-widgets/index.d.ts +0 -4
- package/dist/lib/interaction-widgets/index.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/index.js.map +0 -1
- package/dist/lib/interaction-widgets/validation.d.ts +0 -10
- package/dist/lib/interaction-widgets/validation.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/validation.js +0 -214
- package/dist/lib/interaction-widgets/validation.js.map +0 -1
- package/dist/lib/interaction-widgets/widget-types.d.ts +0 -163
- package/dist/lib/interaction-widgets/widget-types.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/widget-types.js +0 -22
- package/dist/lib/interaction-widgets/widget-types.js.map +0 -1
- package/dist/lib/run-events/action-types.d.ts +0 -40
- package/dist/lib/run-events/action-types.d.ts.map +0 -1
- package/dist/lib/run-events/action-types.js +0 -40
- package/dist/lib/run-events/action-types.js.map +0 -1
- package/dist/lib/run-events/event-families.d.ts +0 -95
- package/dist/lib/run-events/event-families.d.ts.map +0 -1
- package/dist/lib/run-events/event-families.js +0 -282
- package/dist/lib/run-events/event-families.js.map +0 -1
- package/dist/lib/run-events/index.d.ts +0 -7
- package/dist/lib/run-events/index.d.ts.map +0 -1
- package/dist/lib/run-events/index.js +0 -23
- package/dist/lib/run-events/index.js.map +0 -1
- package/dist/lib/run-events/run-event.types.d.ts +0 -60
- package/dist/lib/run-events/run-event.types.d.ts.map +0 -1
- package/dist/lib/run-events/run-event.types.js +0 -57
- package/dist/lib/run-events/run-event.types.js.map +0 -1
- package/dist/lib/run-events/run-live-snapshot.types.d.ts +0 -69
- package/dist/lib/run-events/run-live-snapshot.types.d.ts.map +0 -1
- package/dist/lib/run-events/run-live-snapshot.types.js +0 -17
- package/dist/lib/run-events/run-live-snapshot.types.js.map +0 -1
- package/dist/lib/run-events/snapshot-reducer.d.ts +0 -4
- package/dist/lib/run-events/snapshot-reducer.d.ts.map +0 -1
- package/dist/lib/run-events/snapshot-reducer.js +0 -313
- package/dist/lib/run-events/snapshot-reducer.js.map +0 -1
- package/dist/lib/run-events/stream-contracts.d.ts +0 -79
- package/dist/lib/run-events/stream-contracts.d.ts.map +0 -1
- package/dist/lib/run-events/stream-contracts.js +0 -27
- package/dist/lib/run-events/stream-contracts.js.map +0 -1
- package/dist/lib/tag-taxonomy/concern-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/concern-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/concern-tags.js +0 -26
- package/dist/lib/tag-taxonomy/concern-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/index.d.ts +0 -14
- package/dist/lib/tag-taxonomy/index.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/index.js +0 -59
- package/dist/lib/tag-taxonomy/index.js.map +0 -1
- package/dist/lib/tag-taxonomy/lifecycle-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/lifecycle-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/lifecycle-tags.js +0 -57
- package/dist/lib/tag-taxonomy/lifecycle-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/stack-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/stack-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/stack-tags.js +0 -26
- package/dist/lib/tag-taxonomy/stack-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/team-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/team-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/team-tags.js +0 -84
- package/dist/lib/tag-taxonomy/team-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/types.d.ts +0 -14
- package/dist/lib/tag-taxonomy/types.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/types.js +0 -3
- package/dist/lib/tag-taxonomy/types.js.map +0 -1
- package/dist/nestjs/error-response.dto.d.ts +0 -10
- package/dist/nestjs/error-response.dto.d.ts.map +0 -1
- package/dist/nestjs/error-response.dto.js +0 -46
- package/dist/nestjs/error-response.dto.js.map +0 -1
- package/dist/schemas/xema/analysis.json +0 -51
- package/dist/schemas/xema/clarification-contract.json +0 -49
- package/dist/schemas/xema/context.json +0 -79
- package/dist/schemas/xema/index.d.ts +0 -8
- package/dist/schemas/xema/index.d.ts.map +0 -1
- package/dist/schemas/xema/index.js +0 -28
- package/dist/schemas/xema/index.js.map +0 -1
- package/dist/schemas/xema/review-history.json +0 -42
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STACK_TAGS = void 0;
|
|
4
|
-
const workflow_1 = require("@xemahq/kernel-contracts/workflow");
|
|
5
|
-
function titleCase(str) {
|
|
6
|
-
return str
|
|
7
|
-
.split('-')
|
|
8
|
-
.map((w) => w.charAt(0).toUpperCase() + w.slice(1))
|
|
9
|
-
.join(' ');
|
|
10
|
-
}
|
|
11
|
-
const DERIVED_STACK_TAGS = workflow_1.ALL_CONCEPTS
|
|
12
|
-
.filter((c) => c.kind === workflow_1.ConceptKind.Technology)
|
|
13
|
-
.map((c) => ({
|
|
14
|
-
value: c.key,
|
|
15
|
-
label: titleCase(c.key),
|
|
16
|
-
hint: c.aliases.filter((a) => a !== c.key).join(', ') || c.key,
|
|
17
|
-
}));
|
|
18
|
-
exports.STACK_TAGS = [
|
|
19
|
-
...DERIVED_STACK_TAGS,
|
|
20
|
-
{
|
|
21
|
-
value: 'other-technology',
|
|
22
|
-
label: 'Other Technology',
|
|
23
|
-
hint: 'Technology not listed — specify in description',
|
|
24
|
-
},
|
|
25
|
-
];
|
|
26
|
-
//# sourceMappingURL=stack-tags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stack-tags.js","sourceRoot":"","sources":["../../../src/lib/tag-taxonomy/stack-tags.ts"],"names":[],"mappings":";;;AAWA,gEAA8E;AAE9E,SAAS,SAAS,CAAC,GAAW;IAC5B,OAAO,GAAG;SACP,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAClD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAoB,uBAAY;KACrD,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAW,CAAC,UAAU,CAAC;KAChD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,GAAG;IACZ,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG;CAC/D,CAAC,CAAC,CAAC;AAEO,QAAA,UAAU,GAAoB;IACzC,GAAG,kBAAkB;IAErB;QACE,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,gDAAgD;KACvD;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"team-tags.d.ts","sourceRoot":"","sources":["../../../src/lib/tag-taxonomy/team-tags.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,SAAS,EAAE,aAAa,EA+EpC,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TEAM_TAGS = void 0;
|
|
4
|
-
exports.TEAM_TAGS = [
|
|
5
|
-
{
|
|
6
|
-
value: 'backend',
|
|
7
|
-
label: 'Backend',
|
|
8
|
-
hint: 'Server-side logic, services, controllers, business logic',
|
|
9
|
-
color: 'bg-indigo-100 text-indigo-700',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
value: 'frontend',
|
|
13
|
-
label: 'Frontend',
|
|
14
|
-
hint: 'Web UI components, pages, browser-side code',
|
|
15
|
-
color: 'bg-cyan-100 text-cyan-700',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
value: 'mobile',
|
|
19
|
-
label: 'Mobile',
|
|
20
|
-
hint: 'Mobile app code (React Native, Flutter, Swift, Kotlin)',
|
|
21
|
-
color: 'bg-pink-100 text-pink-700',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
value: 'firmware',
|
|
25
|
-
label: 'Firmware',
|
|
26
|
-
hint: 'Embedded systems, device firmware, hardware interfaces',
|
|
27
|
-
color: 'bg-amber-100 text-amber-700',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
value: 'devops',
|
|
31
|
-
label: 'DevOps',
|
|
32
|
-
hint: 'CI/CD, Docker, Helm, infrastructure-as-code, deployment config',
|
|
33
|
-
color: 'bg-teal-100 text-teal-700',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
value: 'database',
|
|
37
|
-
label: 'Database',
|
|
38
|
-
hint: 'Schema changes, migrations, ORM models, queries, indexes',
|
|
39
|
-
color: 'bg-orange-100 text-orange-700',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
value: 'api',
|
|
43
|
-
label: 'API',
|
|
44
|
-
hint: 'REST/GraphQL/gRPC endpoints, DTOs, contracts',
|
|
45
|
-
color: 'bg-blue-100 text-blue-700',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
value: 'security',
|
|
49
|
-
label: 'Security',
|
|
50
|
-
hint: 'Auth, RBAC, encryption, input validation, secrets management',
|
|
51
|
-
color: 'bg-red-100 text-red-700',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
value: 'testing',
|
|
55
|
-
label: 'Testing',
|
|
56
|
-
hint: 'Test suites, fixtures, QA automation, E2E tests',
|
|
57
|
-
color: 'bg-green-100 text-green-700',
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
value: 'documentation',
|
|
61
|
-
label: 'Documentation',
|
|
62
|
-
hint: 'README, API docs, architecture docs, user guides',
|
|
63
|
-
color: 'bg-gray-100 text-gray-700',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
value: 'infrastructure',
|
|
67
|
-
label: 'Infrastructure',
|
|
68
|
-
hint: 'Cloud resources, Kubernetes, networking, monitoring, observability',
|
|
69
|
-
color: 'bg-purple-100 text-purple-700',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
value: 'data-science',
|
|
73
|
-
label: 'Data Science',
|
|
74
|
-
hint: 'Data analysis, ML model training, feature engineering, experiments',
|
|
75
|
-
color: 'bg-fuchsia-100 text-fuchsia-700',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
value: 'design',
|
|
79
|
-
label: 'Design',
|
|
80
|
-
hint: 'UI/UX design, prototyping, design systems, accessibility',
|
|
81
|
-
color: 'bg-rose-100 text-rose-700',
|
|
82
|
-
},
|
|
83
|
-
];
|
|
84
|
-
//# sourceMappingURL=team-tags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"team-tags.js","sourceRoot":"","sources":["../../../src/lib/tag-taxonomy/team-tags.ts"],"names":[],"mappings":";;;AAOa,QAAA,SAAS,GAAoB;IACxC;QACE,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,0DAA0D;QAChE,KAAK,EAAE,+BAA+B;KACvC;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,6CAA6C;QACnD,KAAK,EAAE,2BAA2B;KACnC;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,wDAAwD;QAC9D,KAAK,EAAE,2BAA2B;KACnC;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,wDAAwD;QAC9D,KAAK,EAAE,6BAA6B;KACrC;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,gEAAgE;QACtE,KAAK,EAAE,2BAA2B;KACnC;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,0DAA0D;QAChE,KAAK,EAAE,+BAA+B;KACvC;IACD;QACE,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,8CAA8C;QACpD,KAAK,EAAE,2BAA2B;KACnC;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,8DAA8D;QACpE,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,iDAAiD;QACvD,KAAK,EAAE,6BAA6B;KACrC;IACD;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,kDAAkD;QACxD,KAAK,EAAE,2BAA2B;KACnC;IACD;QACE,KAAK,EAAE,gBAAgB;QACvB,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,oEAAoE;QAC1E,KAAK,EAAE,+BAA+B;KACvC;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,cAAc;QACrB,IAAI,EAAE,oEAAoE;QAC1E,KAAK,EAAE,iCAAiC;KACzC;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,0DAA0D;QAChE,KAAK,EAAE,2BAA2B;KACnC;CACF,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface TagCategory {
|
|
2
|
-
key: string;
|
|
3
|
-
label: string;
|
|
4
|
-
description: string;
|
|
5
|
-
color: string;
|
|
6
|
-
tags: TagDefinition[];
|
|
7
|
-
}
|
|
8
|
-
export interface TagDefinition {
|
|
9
|
-
value: string;
|
|
10
|
-
label: string;
|
|
11
|
-
hint: string;
|
|
12
|
-
color?: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/tag-taxonomy/types.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,WAAW;IAE1B,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,CAAC;IAEd,WAAW,EAAE,MAAM,CAAC;IAEpB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,aAAa,EAAE,CAAC;CACvB;AAKD,MAAM,WAAW,aAAa;IAE5B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/lib/tag-taxonomy/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-response.dto.d.ts","sourceRoot":"","sources":["../../src/nestjs/error-response.dto.ts"],"names":[],"mappings":"AAOA,cAAM,eAAe;IAEnB,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,OAAO,EAAG,OAAO,CAAC;CACnB;AAED,qBAAa,gBAAgB;IAE3B,KAAK,EAAG,eAAe,CAAC;CACzB"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ErrorResponseDto = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
class ErrorDetailsDto {
|
|
15
|
-
details;
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, swagger_1.ApiProperty)({ example: null, nullable: true }),
|
|
19
|
-
__metadata("design:type", Object)
|
|
20
|
-
], ErrorDetailsDto.prototype, "details", void 0);
|
|
21
|
-
class ErrorPayloadDto {
|
|
22
|
-
code;
|
|
23
|
-
message;
|
|
24
|
-
details;
|
|
25
|
-
}
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ example: 'NOT_FOUND' }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ErrorPayloadDto.prototype, "code", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ example: 'Resource not found' }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], ErrorPayloadDto.prototype, "message", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ type: ErrorDetailsDto, nullable: true }),
|
|
36
|
-
__metadata("design:type", Object)
|
|
37
|
-
], ErrorPayloadDto.prototype, "details", void 0);
|
|
38
|
-
class ErrorResponseDto {
|
|
39
|
-
error;
|
|
40
|
-
}
|
|
41
|
-
exports.ErrorResponseDto = ErrorResponseDto;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)({ type: ErrorPayloadDto }),
|
|
44
|
-
__metadata("design:type", ErrorPayloadDto)
|
|
45
|
-
], ErrorResponseDto.prototype, "error", void 0);
|
|
46
|
-
//# sourceMappingURL=error-response.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-response.dto.js","sourceRoot":"","sources":["../../src/nestjs/error-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C,MAAM,eAAe;IAEnB,OAAO,CAAW;CACnB;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC7B;AAGpB,MAAM,eAAe;IAEnB,IAAI,CAAU;IAGd,OAAO,CAAU;IAGjB,OAAO,CAAW;CACnB;AAPC;IADC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;;6CACxB;AAGd;IADC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC;;gDAC9B;AAGjB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACrC;AAGpB,MAAa,gBAAgB;IAE3B,KAAK,CAAmB;CACzB;AAHD,4CAGC;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAC/B,eAAe;+CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.xema.dev/analysis",
|
|
4
|
-
"title": "Unit / Coordinator Analysis Report",
|
|
5
|
-
"description": "Schema for /workspace/deliverables/analysis.json — phase decisions, assumptions, conflicts. All fields required; use empty arrays when no items.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["status", "summary", "decisions", "assumptions", "conflicts"],
|
|
8
|
-
"additionalProperties": true,
|
|
9
|
-
"properties": {
|
|
10
|
-
"status": { "type": "string", "enum": ["completed", "partial", "blocked"] },
|
|
11
|
-
"summary": { "type": "string", "description": "One-paragraph summary of analytical work." },
|
|
12
|
-
"decisions": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"required": ["semanticKey", "topic", "value", "rationale"],
|
|
17
|
-
"additionalProperties": true,
|
|
18
|
-
"properties": {
|
|
19
|
-
"semanticKey": { "type": "string" },
|
|
20
|
-
"topic": { "type": "string" },
|
|
21
|
-
"value": { "type": "string" },
|
|
22
|
-
"rationale": { "type": "string" }
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"assumptions": {
|
|
27
|
-
"type": "array",
|
|
28
|
-
"items": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"required": ["semanticKey", "assumption", "impact"],
|
|
31
|
-
"additionalProperties": true,
|
|
32
|
-
"properties": {
|
|
33
|
-
"semanticKey": { "type": "string" },
|
|
34
|
-
"assumption": { "type": "string" },
|
|
35
|
-
"impact": { "type": "string" }
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"conflicts": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"additionalProperties": true,
|
|
44
|
-
"properties": {
|
|
45
|
-
"topic": { "type": "string" },
|
|
46
|
-
"description": { "type": "string" }
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.xema.dev/clarification-contract",
|
|
4
|
-
"title": "Clarification Contract",
|
|
5
|
-
"description": "Schema for the clarification contract the clarification reviewer evaluates. Written to /workspace/inputs/contract.json for clarification-reviewer role.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["request", "problems", "decisions"],
|
|
8
|
-
"additionalProperties": true,
|
|
9
|
-
"properties": {
|
|
10
|
-
"request": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"required": ["prompt", "normalizedIntent"],
|
|
13
|
-
"additionalProperties": true,
|
|
14
|
-
"properties": {
|
|
15
|
-
"prompt": { "type": "string" },
|
|
16
|
-
"normalizedIntent": { "type": "string" }
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"problems": {
|
|
20
|
-
"type": "array",
|
|
21
|
-
"items": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"required": ["id", "title"],
|
|
24
|
-
"additionalProperties": true
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"decisions": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"additionalProperties": true,
|
|
30
|
-
"properties": {
|
|
31
|
-
"userDecisions": { "type": "array" },
|
|
32
|
-
"autoDelegatedDecisions": { "type": "array" },
|
|
33
|
-
"confirmedAssumptions": { "type": "array" }
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"constraints": { "type": "array" },
|
|
37
|
-
"openCaveats": { "type": "array" },
|
|
38
|
-
"riskAcceptances": { "type": "array" },
|
|
39
|
-
"requirementsReadiness": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"additionalProperties": true,
|
|
42
|
-
"properties": {
|
|
43
|
-
"isReady": { "type": "boolean" }
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"scope": { "type": "object", "additionalProperties": true },
|
|
47
|
-
"executionProfile": { "type": "object", "additionalProperties": true }
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.xema.dev/context",
|
|
4
|
-
"title": "Xema Workspace Context",
|
|
5
|
-
"description": "Invocation identity + authority written by the orchestrator to /workspace/context.json before an agent runs. Read once at task start.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["invocation", "project", "authority"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"invocation": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"required": ["role", "surface", "attempt"],
|
|
13
|
-
"additionalProperties": false,
|
|
14
|
-
"properties": {
|
|
15
|
-
"runId": { "type": ["string", "null"], "description": "Pipeline run id. Null for interactive sessions." },
|
|
16
|
-
"stageKey": { "type": ["string", "null"], "description": "Pipeline stage. Null when not applicable." },
|
|
17
|
-
"packageId": { "type": ["string", "null"], "description": "Unit scope. Null when not unit-scoped." },
|
|
18
|
-
"sessionId": { "type": ["string", "null"], "description": "Interactive session id. Null for pipeline invocations." },
|
|
19
|
-
"attempt": { "type": "integer", "minimum": 1, "description": "Increments on each gate-rejected retry." },
|
|
20
|
-
"role": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["unit-worker", "coordinator", "gate-reviewer", "clarification-coordinator", "agent-session"]
|
|
23
|
-
},
|
|
24
|
-
"surface": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"enum": ["pipeline-run", "agent-session", "gate-review"]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"project": {
|
|
31
|
-
"type": "object",
|
|
32
|
-
"required": ["orgId", "projectId"],
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"properties": {
|
|
35
|
-
"orgId": { "type": "string" },
|
|
36
|
-
"projectId": { "type": "string" },
|
|
37
|
-
"pipelineBranch": { "type": ["string", "null"] }
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"authority": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"required": ["mayWriteWorkspace", "mayWriteKnowledgeBase", "mayEditRepos"],
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"properties": {
|
|
45
|
-
"mayWriteWorkspace": {
|
|
46
|
-
"type": "array",
|
|
47
|
-
"items": { "type": "string" },
|
|
48
|
-
"description": "Absolute workspace paths the agent may write to. Reads outside these are still permitted where not chmod-protected."
|
|
49
|
-
},
|
|
50
|
-
"mayWriteKnowledgeBase": { "type": "boolean" },
|
|
51
|
-
"mayEditRepos": { "type": "boolean" },
|
|
52
|
-
"writePolicy": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"enum": ["own-pages-only", "full-write", "read-only"]
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"knowledgeBase": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"additionalProperties": false,
|
|
61
|
-
"properties": {
|
|
62
|
-
"spaceSlug": { "type": "string" }
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"inputs": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": false,
|
|
68
|
-
"properties": {
|
|
69
|
-
"hasRetryContext": { "type": "boolean", "description": "true when inputs/prior-attempt/ exists (attempt >= 2)." },
|
|
70
|
-
"hasUpstream": { "type": "boolean", "description": "true when inputs/upstream/ exists with prior-phase artifacts." },
|
|
71
|
-
"upstreamPhases": {
|
|
72
|
-
"type": "array",
|
|
73
|
-
"items": { "type": "string" },
|
|
74
|
-
"description": "Phase keys present under inputs/upstream/."
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type XemaSchemaName = 'analysis' | 'clarification-contract' | 'context' | 'review-history';
|
|
2
|
-
export declare const XEMA_SCHEMAS: Record<string, Record<string, unknown>>;
|
|
3
|
-
export declare function getXemaSchema(name: string): Record<string, unknown> | null;
|
|
4
|
-
export declare function listXemaSchemas(): Array<{
|
|
5
|
-
name: string;
|
|
6
|
-
$id: string;
|
|
7
|
-
}>;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,wBAAwB,GACxB,SAAS,GACT,gBAAgB,CAAC;AAOrB,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKhE,CAAC;AAGF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAE1E;AAGD,wBAAgB,eAAe,IAAI,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAKtE"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.XEMA_SCHEMAS = void 0;
|
|
7
|
-
exports.getXemaSchema = getXemaSchema;
|
|
8
|
-
exports.listXemaSchemas = listXemaSchemas;
|
|
9
|
-
const analysis_json_1 = __importDefault(require("./analysis.json"));
|
|
10
|
-
const clarification_contract_json_1 = __importDefault(require("./clarification-contract.json"));
|
|
11
|
-
const context_json_1 = __importDefault(require("./context.json"));
|
|
12
|
-
const review_history_json_1 = __importDefault(require("./review-history.json"));
|
|
13
|
-
exports.XEMA_SCHEMAS = {
|
|
14
|
-
analysis: analysis_json_1.default,
|
|
15
|
-
'clarification-contract': clarification_contract_json_1.default,
|
|
16
|
-
context: context_json_1.default,
|
|
17
|
-
'review-history': review_history_json_1.default,
|
|
18
|
-
};
|
|
19
|
-
function getXemaSchema(name) {
|
|
20
|
-
return exports.XEMA_SCHEMAS[name] ?? null;
|
|
21
|
-
}
|
|
22
|
-
function listXemaSchemas() {
|
|
23
|
-
return Object.entries(exports.XEMA_SCHEMAS).map(([name, schema]) => {
|
|
24
|
-
const $id = typeof schema.$id === 'string' ? schema.$id : `urn:xema:${name}`;
|
|
25
|
-
return { name, $id };
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":";;;;;;AAyCA,sCAEC;AAGD,0CAKC;AAnCD,oEAAuC;AACvC,gGAAkE;AAClE,kEAAqC;AACrC,gFAAkD;AAcrC,QAAA,YAAY,GAA4C;IACnE,QAAQ,EAAE,uBAAmC;IAC7C,wBAAwB,EAAE,qCAAgD;IAC1E,OAAO,EAAE,sBAAkC;IAC3C,gBAAgB,EAAE,6BAAwC;CAC3D,CAAC;AAGF,SAAgB,aAAa,CAAC,IAAY;IACxC,OAAO,oBAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;AACpC,CAAC;AAGD,SAAgB,eAAe;IAC7B,OAAO,MAAM,CAAC,OAAO,CAAC,oBAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE;QACzD,MAAM,GAAG,GAAG,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,IAAI,EAAE,CAAC;QAC7E,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.xema.dev/review-history",
|
|
4
|
-
"title": "Retry Review History",
|
|
5
|
-
"description": "Structured shape the orchestrator writes to /workspace/inputs/prior-attempt/review-history.md. The file itself is markdown; this schema documents the source JSON the writer consumes.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["attempt", "priorVerdict", "mustFix"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"attempt": { "type": "integer", "minimum": 2 },
|
|
11
|
-
"priorVerdict": { "type": "string", "enum": ["rejected", "conditional"] },
|
|
12
|
-
"mustFix": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"required": ["severity", "findingId", "summary"],
|
|
17
|
-
"additionalProperties": true,
|
|
18
|
-
"properties": {
|
|
19
|
-
"severity": { "type": "string", "enum": ["BLOCKING", "MAJOR", "MINOR"] },
|
|
20
|
-
"findingId": { "type": "string" },
|
|
21
|
-
"summary": { "type": "string", "description": "One-line description of what's wrong and where." },
|
|
22
|
-
"targetDeliverable": { "type": "string" },
|
|
23
|
-
"route": { "type": "object" }
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"alreadyVerifiedOk": {
|
|
28
|
-
"type": "array",
|
|
29
|
-
"items": { "type": "string" },
|
|
30
|
-
"description": "Things accepted in prior attempt — keep stable. E.g. 'Requirement IDs FR-001..FR-011 accepted — do not renumber'."
|
|
31
|
-
},
|
|
32
|
-
"doNotChange": {
|
|
33
|
-
"type": "array",
|
|
34
|
-
"items": { "type": "string" },
|
|
35
|
-
"description": "Hard constraints. E.g. 'Page slug req-api-overview must remain stable'."
|
|
36
|
-
},
|
|
37
|
-
"reviewerNotes": {
|
|
38
|
-
"type": "array",
|
|
39
|
-
"items": { "type": "string" }
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|