@agilno-tech/rivet 0.1.0-alpha.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/LICENSE +202 -0
- package/NOTICE +6 -0
- package/README.md +59 -0
- package/bin/cli.js +42 -0
- package/dist/agents/backend-django-agent/SKILL.md +35 -0
- package/dist/agents/backend-nestjs-agent/SKILL.md +36 -0
- package/dist/agents/boss-agent/SKILL.md +28 -0
- package/dist/agents/bounded-worker/SKILL.md +28 -0
- package/dist/agents/data-performance-agent/SKILL.md +32 -0
- package/dist/agents/delivery-ticketing-agent/SKILL.md +36 -0
- package/dist/agents/devops-agent/SKILL.md +34 -0
- package/dist/agents/engineering-manager/SKILL.md +28 -0
- package/dist/agents/frontend-nextjs-agent/SKILL.md +34 -0
- package/dist/agents/frontend-web-agent/SKILL.md +31 -0
- package/dist/agents/incident-response-agent/SKILL.md +42 -0
- package/dist/agents/jest-agent/SKILL.md +77 -0
- package/dist/agents/mobile-agent/SKILL.md +32 -0
- package/dist/agents/playwright-agent/SKILL.md +54 -0
- package/dist/agents/product-design-manager/SKILL.md +27 -0
- package/dist/agents/qa-agent/SKILL.md +29 -0
- package/dist/agents/quality-manager/SKILL.md +28 -0
- package/dist/agents/vitest-agent/SKILL.md +77 -0
- package/dist/governance/pre-push-rules.md +75 -0
- package/dist/governance/prompt-hygiene.md +22 -0
- package/dist/governance/review-checklist.md +24 -0
- package/dist/governance/safety-and-data.md +27 -0
- package/dist/governance/usage-rules.md +21 -0
- package/dist/mandatory/address-pr-feedback/SKILL.md +196 -0
- package/dist/mandatory/agentic-goal/SKILL.md +42 -0
- package/dist/mandatory/agentic-status/SKILL.md +74 -0
- package/dist/mandatory/apply-design/SKILL.md +228 -0
- package/dist/mandatory/check-ac/SKILL.md +124 -0
- package/dist/mandatory/create-pr-and-commit/SKILL.md +304 -0
- package/dist/mandatory/design/SKILL.md +312 -0
- package/dist/mandatory/feature-workflow/SKILL.md +87 -0
- package/dist/mandatory/hotfix/SKILL.md +195 -0
- package/dist/mandatory/pre-push/SKILL.md +272 -0
- package/dist/mandatory/project-context/SKILL.md +180 -0
- package/dist/mandatory/release-docs/SKILL.md +191 -0
- package/dist/mandatory/review-pr/SKILL.md +323 -0
- package/dist/mandatory/security-review/SKILL.md +157 -0
- package/dist/skills/api-contract/SKILL.md +77 -0
- package/dist/skills/backend-django/SKILL.md +27 -0
- package/dist/skills/backend-nestjs/SKILL.md +65 -0
- package/dist/skills/bug-ticket-creation/SKILL.md +43 -0
- package/dist/skills/cloudwatch-troubleshooting/SKILL.md +73 -0
- package/dist/skills/database-migration/SKILL.md +97 -0
- package/dist/skills/debugging/SKILL.md +32 -0
- package/dist/skills/devops-infra/SKILL.md +26 -0
- package/dist/skills/documentation/SKILL.md +24 -0
- package/dist/skills/frontend-nextjs/SKILL.md +27 -0
- package/dist/skills/incident-postmortem/SKILL.md +38 -0
- package/dist/skills/kubernetes-troubleshooting/SKILL.md +71 -0
- package/dist/skills/mobile-react-native/SKILL.md +37 -0
- package/dist/skills/postgres-analytics/SKILL.md +29 -0
- package/dist/skills/product-jira-ticketing/SKILL.md +28 -0
- package/dist/skills/qa-bug-analysis/SKILL.md +27 -0
- package/dist/skills/refactoring/SKILL.md +32 -0
- package/dist/skills/sprint-planning/SKILL.md +32 -0
- package/dist/skills/testing-quality/SKILL.md +62 -0
- package/dist/v2/protocols/agent-orchestration.md +49 -0
- package/dist/v2/protocols/delivery.md +45 -0
- package/dist/v2/protocols/design-authority.md +29 -0
- package/dist/v2/protocols/goal-graph.md +44 -0
- package/dist/v2/protocols/pattern-first-development.md +29 -0
- package/dist/v2/protocols/qa-evidence.md +29 -0
- package/dist/v2/protocols/security.md +29 -0
- package/dist/v2/schemas/event.schema.json +86 -0
- package/dist/v2/schemas/evidence.schema.json +94 -0
- package/dist/v2/schemas/feature-decomposition.schema.json +48 -0
- package/dist/v2/schemas/feature-plan.schema.json +95 -0
- package/dist/v2/schemas/goal-graph.schema.json +61 -0
- package/dist/v2/schemas/integration.schema.json +119 -0
- package/dist/v2/schemas/orchestration.schema.json +69 -0
- package/dist/v2/schemas/project.schema.json +209 -0
- package/dist/v2/schemas/providers.schema.json +142 -0
- package/dist/v2/schemas/quality.schema.json +50 -0
- package/dist/v2/schemas/work-action.schema.json +44 -0
- package/dist/v2/schemas/work-request.schema.json +253 -0
- package/dist/v2/templates/evidence/qa-bundle.json +194 -0
- package/dist/v2/templates/github-actions/rivet-deploy.yml +98 -0
- package/dist/v2/templates/harness/SKILL.md +90 -0
- package/dist/v2/templates/project/.rivet/orchestration.yaml +42 -0
- package/dist/v2/templates/project/.rivet/project.yaml +14 -0
- package/dist/v2/templates/project/.rivet/providers.yaml +8 -0
- package/dist/v2/templates/project/.rivet/quality.yaml +16 -0
- package/package.json +58 -0
- package/protocols/agent-orchestration.md +49 -0
- package/protocols/delivery.md +45 -0
- package/protocols/design-authority.md +29 -0
- package/protocols/goal-graph.md +44 -0
- package/protocols/pattern-first-development.md +29 -0
- package/protocols/qa-evidence.md +29 -0
- package/protocols/security.md +29 -0
- package/schemas/event.schema.json +86 -0
- package/schemas/evidence.schema.json +94 -0
- package/schemas/feature-decomposition.schema.json +48 -0
- package/schemas/feature-plan.schema.json +95 -0
- package/schemas/goal-graph.schema.json +61 -0
- package/schemas/integration.schema.json +119 -0
- package/schemas/orchestration.schema.json +69 -0
- package/schemas/project.schema.json +209 -0
- package/schemas/providers.schema.json +142 -0
- package/schemas/quality.schema.json +50 -0
- package/schemas/work-action.schema.json +44 -0
- package/schemas/work-request.schema.json +253 -0
- package/src/adapters/confluence.js +138 -0
- package/src/adapters/contract.js +657 -0
- package/src/adapters/factory.js +122 -0
- package/src/adapters/figma.js +178 -0
- package/src/adapters/fixtures.js +183 -0
- package/src/adapters/github.js +314 -0
- package/src/adapters/http.js +704 -0
- package/src/adapters/jira.js +195 -0
- package/src/adapters/linear.js +171 -0
- package/src/adapters/node-transport.js +59 -0
- package/src/cli/integration-setup-prompt.js +32 -0
- package/src/cli/interrupt.js +25 -0
- package/src/cli/main.js +596 -0
- package/src/cli/output.js +174 -0
- package/src/cli/parse-args.js +246 -0
- package/src/cli/project-discovery.js +70 -0
- package/src/cli/task-confirmation.js +38 -0
- package/src/cli/task-presentation.js +22 -0
- package/src/clients/claude.js +214 -0
- package/src/clients/codex.js +180 -0
- package/src/clients/compatibility.js +23 -0
- package/src/clients/contract.js +224 -0
- package/src/clients/fake.js +170 -0
- package/src/clients/process-runner.js +657 -0
- package/src/clients/result-contract.js +78 -0
- package/src/commands/delivery-publish.js +80 -0
- package/src/commands/delivery-remote.js +230 -0
- package/src/commands/delivery-review-update.js +39 -0
- package/src/commands/delivery-tracker.js +94 -0
- package/src/commands/delivery-transition.js +79 -0
- package/src/commands/delivery.js +223 -0
- package/src/commands/dependency-approval.js +21 -0
- package/src/commands/doctor.js +191 -0
- package/src/commands/evidence.js +44 -0
- package/src/commands/feature.js +212 -0
- package/src/commands/goals.js +231 -0
- package/src/commands/human-run.js +208 -0
- package/src/commands/human-task.js +278 -0
- package/src/commands/init.js +848 -0
- package/src/commands/install.js +814 -0
- package/src/commands/integration-setup.js +65 -0
- package/src/commands/integrations.js +54 -0
- package/src/commands/models.js +158 -0
- package/src/commands/orchestrate.js +61 -0
- package/src/commands/preflight.js +125 -0
- package/src/commands/protocols.js +228 -0
- package/src/commands/repositories.js +77 -0
- package/src/commands/setup-remote.js +41 -0
- package/src/commands/setup.js +214 -0
- package/src/commands/status.js +224 -0
- package/src/commands/support.js +44 -0
- package/src/commands/task-completion.js +104 -0
- package/src/commands/uninstall.js +234 -0
- package/src/commands/verify.js +171 -0
- package/src/commands/work.js +220 -0
- package/src/commands/worktrees.js +52 -0
- package/src/config/command-readiness.js +218 -0
- package/src/config/commands.js +206 -0
- package/src/config/defaults.js +55 -0
- package/src/config/load.js +230 -0
- package/src/config/validate.js +560 -0
- package/src/delivery/bitbucket-review.js +123 -0
- package/src/delivery/branch-publication.js +23 -0
- package/src/delivery/contract.js +379 -0
- package/src/delivery/github-deployment.js +132 -0
- package/src/delivery/github-review.js +5 -0
- package/src/delivery/github.js +382 -0
- package/src/delivery/gitlab-review.js +5 -0
- package/src/delivery/gitlab.js +395 -0
- package/src/delivery/prepare.js +90 -0
- package/src/delivery/publication-process.js +33 -0
- package/src/delivery/publication-transport.js +112 -0
- package/src/delivery/review-request.js +184 -0
- package/src/delivery/review-update.js +74 -0
- package/src/delivery/service.js +400 -0
- package/src/delivery/store.js +76 -0
- package/src/delivery/tracker-target.js +51 -0
- package/src/delivery/tracker-transition.js +158 -0
- package/src/delivery/tracker.js +164 -0
- package/src/discovery/git.js +85 -0
- package/src/discovery/portable.js +108 -0
- package/src/discovery/project.js +345 -0
- package/src/discovery/tools.js +145 -0
- package/src/evaluations/approval.js +20 -0
- package/src/evaluations/cost-policy.js +20 -0
- package/src/evaluations/harness-attempt.js +113 -0
- package/src/evaluations/live-runner.js +55 -0
- package/src/evaluations/profile.js +28 -0
- package/src/evaluations/report.js +11 -0
- package/src/evaluations/text-attempt.js +18 -0
- package/src/evidence/checksum.js +87 -0
- package/src/evidence/collect.js +727 -0
- package/src/evidence/validate.js +354 -0
- package/src/feature/accepted-integration.js +46 -0
- package/src/feature/actions.js +37 -0
- package/src/feature/client-profile.js +56 -0
- package/src/feature/decomposition-contract.js +58 -0
- package/src/feature/host-execution.js +633 -0
- package/src/feature/host-lock-recovery.js +96 -0
- package/src/feature/host-run-lock.js +32 -0
- package/src/feature/local-approval.js +183 -0
- package/src/feature/plan-contract.js +215 -0
- package/src/feature/planner.js +253 -0
- package/src/feature/run-store.js +241 -0
- package/src/feature/runtime-bridge.js +840 -0
- package/src/feature/verification-report.js +168 -0
- package/src/feature/workflow.js +375 -0
- package/src/git/client.js +509 -0
- package/src/git/integration-worktree.js +153 -0
- package/src/git/reconcile.js +222 -0
- package/src/git/reservations.js +450 -0
- package/src/git/worktrees.js +478 -0
- package/src/graph/completion.js +189 -0
- package/src/graph/fixtures.js +116 -0
- package/src/graph/reducer.js +124 -0
- package/src/graph/scheduler.js +252 -0
- package/src/graph/validate.js +106 -0
- package/src/install/managed.js +579 -0
- package/src/install/project-reference.js +33 -0
- package/src/install/project-runtime.js +142 -0
- package/src/install/runtime-integrity.cjs +141 -0
- package/src/integrations/capabilities.js +69 -0
- package/src/integrations/host-observation.js +26 -0
- package/src/integrations/registry.js +56 -0
- package/src/models/delegate.js +102 -0
- package/src/models/profiles.js +53 -0
- package/src/models/protocols.js +208 -0
- package/src/models/registry.js +83 -0
- package/src/models/transport.js +59 -0
- package/src/policy/approvals.js +251 -0
- package/src/policy/authority.js +282 -0
- package/src/policy/budget.js +149 -0
- package/src/policy/command-bootstrap.js +219 -0
- package/src/policy/commands.js +803 -0
- package/src/prompts/launch-contract.js +43 -0
- package/src/prompts/planning-contract.js +92 -0
- package/src/protocols/presentation.js +53 -0
- package/src/protocols/project.js +289 -0
- package/src/quality/runner.js +497 -0
- package/src/quality/traceability.js +215 -0
- package/src/repositories/identity.js +59 -0
- package/src/repositories/index.js +2 -0
- package/src/repositories/provider.js +210 -0
- package/src/runtime/application.js +353 -0
- package/src/runtime/dependency-directory.js +33 -0
- package/src/runtime/harness-discovery.js +121 -0
- package/src/runtime/heartbeat.js +47 -0
- package/src/runtime/instance-store.js +112 -0
- package/src/runtime/orchestrator.js +1133 -0
- package/src/runtime/portable-dependencies.js +94 -0
- package/src/runtime/recovery.js +190 -0
- package/src/runtime/retry.js +54 -0
- package/src/runtime/supervisor.js +166 -0
- package/src/runtime/worktree-bootstrap.js +169 -0
- package/src/state/event-store.js +333 -0
- package/src/state/lock.js +266 -0
- package/src/state/paths.js +274 -0
- package/src/state/redact.js +106 -0
- package/src/state/snapshot-store.js +310 -0
- package/src/status/public/app.js +96 -0
- package/src/status/public/index.html +37 -0
- package/src/status/public/styles.css +50 -0
- package/src/status/server.js +323 -0
- package/src/status/view-model.js +356 -0
- package/src/support/bundle.js +195 -0
- package/src/support/failure-report.js +96 -0
- package/src/work-request/contract.js +250 -0
- package/src/work-request/host.js +78 -0
- package/src/work-request/local.js +163 -0
- package/src/work-request/tracker.js +105 -0
- package/templates/evidence/qa-bundle.json +194 -0
- package/templates/github-actions/rivet-deploy.yml +98 -0
- package/templates/harness/SKILL.md +90 -0
- package/templates/project/.rivet/orchestration.yaml +42 -0
- package/templates/project/.rivet/project.yaml +14 -0
- package/templates/project/.rivet/providers.yaml +8 -0
- package/templates/project/.rivet/quality.yaml +16 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schemas.rivet.dev/rivet/v2/project.schema.json",
|
|
4
|
+
"title": "Agilno tracked project configuration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "id", "name", "stack", "repository", "commands"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "type": "integer", "enum": [1, 2, 3] },
|
|
10
|
+
"id": { "$ref": "#/$defs/id" },
|
|
11
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 120 },
|
|
12
|
+
"stack": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["framework", "language", "packageManager"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"framework": { "$ref": "#/$defs/name" },
|
|
18
|
+
"language": { "$ref": "#/$defs/name" },
|
|
19
|
+
"packageManager": { "enum": ["npm", "pnpm", "yarn", "bun", "pip", "poetry", "uv", "cargo", "go", "other"] }
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["defaultBranch", "branchPattern"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"remote": {"type": "object", "additionalProperties": false, "required": ["name", "url"], "properties": {"name": {"type": "string", "maxLength": 100, "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"}, "url": {"type": "string", "maxLength": 2048, "pattern": "^https://(github\\.com|gitlab\\.com|bitbucket\\.org)/[A-Za-z0-9_][A-Za-z0-9._/-]*$"}}},
|
|
28
|
+
"defaultBranch": { "$ref": "#/$defs/refName" },
|
|
29
|
+
"branchPattern": { "type": "string", "minLength": 1, "maxLength": 200, "pattern": "^[A-Za-z0-9._/{\\}-]+$" },
|
|
30
|
+
"sensitivePaths": { "type": "array", "maxItems": 100, "uniqueItems": true, "items": { "$ref": "#/$defs/relativePath" } }
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"deployment": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"required": ["providerId", "workflow", "environment", "productionEnvironment"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"providerId": { "$ref": "#/$defs/id" },
|
|
39
|
+
"workflow": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,119}\\.ya?ml$" },
|
|
40
|
+
"environment": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$" },
|
|
41
|
+
"productionEnvironment": { "type": "boolean" }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"commands": {},
|
|
45
|
+
"dependencies": { "$ref": "#/$defs/dependencies" }
|
|
46
|
+
},
|
|
47
|
+
"allOf": [
|
|
48
|
+
{ "if": { "properties": { "dependencies": {} }, "required": ["dependencies"] }, "then": { "properties": { "schemaVersion": { "const": 3 } } } },
|
|
49
|
+
{
|
|
50
|
+
"if": { "properties": { "schemaVersion": { "const": 1 } } },
|
|
51
|
+
"then": { "properties": { "commands": { "$ref": "#/$defs/commandsV1" } } },
|
|
52
|
+
"else": {
|
|
53
|
+
"if": { "properties": { "schemaVersion": { "const": 2 } } },
|
|
54
|
+
"then": { "properties": { "commands": { "$ref": "#/$defs/commandsV2" } } },
|
|
55
|
+
"else": { "properties": { "commands": { "$ref": "#/$defs/commandsV3" } } }
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"$defs": {
|
|
60
|
+
"id": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" },
|
|
61
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]*$" },
|
|
62
|
+
"refName": { "type": "string", "minLength": 1, "maxLength": 200, "pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]*$" },
|
|
63
|
+
"relativePath": { "type": "string", "minLength": 1, "maxLength": 300, "pattern": "^(?![\\\\/])(?![A-Za-z]:)(?!.*[\\\\/]{2})(?!.*(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$))(?!.*(?:^|[\\\\/])\\.(?:[\\\\/]|$))(?!.+[\\\\/]$)[^\\u0000\\r\\n]+$" },
|
|
64
|
+
"command": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"minItems": 3,
|
|
67
|
+
"maxItems": 3,
|
|
68
|
+
"items": [
|
|
69
|
+
{ "enum": ["npm", "npm.cmd", "pnpm", "pnpm.cmd", "yarn", "yarn.cmd", "bun"] },
|
|
70
|
+
{ "const": "run" },
|
|
71
|
+
{ "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*$" }
|
|
72
|
+
],
|
|
73
|
+
"additionalItems": false
|
|
74
|
+
},
|
|
75
|
+
"commandStep": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": ["cwd", "argv"],
|
|
79
|
+
"properties": {
|
|
80
|
+
"cwd": {
|
|
81
|
+
"oneOf": [
|
|
82
|
+
{ "const": "." },
|
|
83
|
+
{ "$ref": "#/$defs/relativePath" }
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"argv": { "$ref": "#/$defs/command" }
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"commandGroup": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"required": ["steps"],
|
|
93
|
+
"properties": {
|
|
94
|
+
"steps": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"maxItems": 32,
|
|
98
|
+
"uniqueItems": true,
|
|
99
|
+
"items": { "$ref": "#/$defs/commandStep" }
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"commandsV1": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"required": ["build", "test"],
|
|
107
|
+
"properties": {
|
|
108
|
+
"build": { "$ref": "#/$defs/command" },
|
|
109
|
+
"test": { "$ref": "#/$defs/command" },
|
|
110
|
+
"lint": { "$ref": "#/$defs/command" },
|
|
111
|
+
"typecheck": { "$ref": "#/$defs/command" },
|
|
112
|
+
"dev": { "$ref": "#/$defs/command" }
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"commandsV2": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"required": ["build", "test"],
|
|
119
|
+
"properties": {
|
|
120
|
+
"build": { "$ref": "#/$defs/commandGroup" },
|
|
121
|
+
"test": { "$ref": "#/$defs/commandGroup" },
|
|
122
|
+
"lint": { "$ref": "#/$defs/commandGroup" },
|
|
123
|
+
"typecheck": { "$ref": "#/$defs/commandGroup" }
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"dependencies": {
|
|
127
|
+
"type": "object", "additionalProperties": false,
|
|
128
|
+
"required": ["inputs", "provides", "steps"],
|
|
129
|
+
"properties": {
|
|
130
|
+
"inputs": { "type": "array", "maxItems": 16, "uniqueItems": true, "items": { "$ref": "#/$defs/relativePath" } },
|
|
131
|
+
"provides": { "type": "array", "maxItems": 16, "uniqueItems": true, "items": { "type": "string", "minLength": 3, "maxLength": 302, "pattern": "^\\./" } },
|
|
132
|
+
"steps": { "type": "array", "minItems": 1, "maxItems": 16, "uniqueItems": true, "items": { "$ref": "#/$defs/argvStep" } }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"argv": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"minItems": 1,
|
|
138
|
+
"maxItems": 257,
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"maxLength": 4096,
|
|
142
|
+
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]*$"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"argvStep": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"required": [
|
|
149
|
+
"cwd",
|
|
150
|
+
"argv"
|
|
151
|
+
],
|
|
152
|
+
"properties": {
|
|
153
|
+
"cwd": {
|
|
154
|
+
"oneOf": [
|
|
155
|
+
{
|
|
156
|
+
"const": "."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"$ref": "#/$defs/relativePath"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"argv": {
|
|
164
|
+
"$ref": "#/$defs/argv"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"argvGroup": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"additionalProperties": false,
|
|
171
|
+
"required": [
|
|
172
|
+
"steps"
|
|
173
|
+
],
|
|
174
|
+
"properties": {
|
|
175
|
+
"steps": {
|
|
176
|
+
"type": "array",
|
|
177
|
+
"minItems": 1,
|
|
178
|
+
"maxItems": 32,
|
|
179
|
+
"uniqueItems": true,
|
|
180
|
+
"items": {
|
|
181
|
+
"$ref": "#/$defs/argvStep"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"commandsV3": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"additionalProperties": false,
|
|
189
|
+
"minProperties": 1,
|
|
190
|
+
"properties": {
|
|
191
|
+
"build": {
|
|
192
|
+
"$ref": "#/$defs/argvGroup"
|
|
193
|
+
},
|
|
194
|
+
"test": {
|
|
195
|
+
"$ref": "#/$defs/argvGroup"
|
|
196
|
+
},
|
|
197
|
+
"check": {
|
|
198
|
+
"$ref": "#/$defs/argvGroup"
|
|
199
|
+
},
|
|
200
|
+
"lint": {
|
|
201
|
+
"$ref": "#/$defs/argvGroup"
|
|
202
|
+
},
|
|
203
|
+
"typecheck": {
|
|
204
|
+
"$ref": "#/$defs/argvGroup"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schemas.rivet.dev/rivet/v2/providers.schema.json",
|
|
4
|
+
"title": "Agilno tracked provider references",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"providers"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"schemaVersion": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"const": 1
|
|
15
|
+
},
|
|
16
|
+
"providers": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"minItems": 1,
|
|
19
|
+
"maxItems": 64,
|
|
20
|
+
"items": {
|
|
21
|
+
"$ref": "#/$defs/provider"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"$defs": {
|
|
26
|
+
"id": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"maxLength": 64,
|
|
30
|
+
"pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
|
|
31
|
+
},
|
|
32
|
+
"envName": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 2,
|
|
35
|
+
"maxLength": 128,
|
|
36
|
+
"pattern": "^[A-Z][A-Z0-9_]*$"
|
|
37
|
+
},
|
|
38
|
+
"provider": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": [
|
|
42
|
+
"id",
|
|
43
|
+
"kind",
|
|
44
|
+
"mode",
|
|
45
|
+
"capabilities"
|
|
46
|
+
],
|
|
47
|
+
"properties": {
|
|
48
|
+
"id": {
|
|
49
|
+
"$ref": "#/$defs/id"
|
|
50
|
+
},
|
|
51
|
+
"kind": {
|
|
52
|
+
"enum": [
|
|
53
|
+
"jira",
|
|
54
|
+
"linear",
|
|
55
|
+
"confluence",
|
|
56
|
+
"figma",
|
|
57
|
+
"git-ci",
|
|
58
|
+
"generic"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"mode": {
|
|
62
|
+
"enum": [
|
|
63
|
+
"disabled",
|
|
64
|
+
"read-only",
|
|
65
|
+
"read-write-with-approval"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"capabilities": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"minItems": 1,
|
|
71
|
+
"maxItems": 64,
|
|
72
|
+
"uniqueItems": true,
|
|
73
|
+
"items": {
|
|
74
|
+
"$ref": "#/$defs/id"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"resourceIds": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"maxItems": 64,
|
|
80
|
+
"uniqueItems": true,
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1,
|
|
84
|
+
"maxLength": 200,
|
|
85
|
+
"pattern": "^[^\\u0000\\r\\n]+$"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"endpoint": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 8,
|
|
91
|
+
"maxLength": 2048,
|
|
92
|
+
"pattern": "^https?://"
|
|
93
|
+
},
|
|
94
|
+
"credentials": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"minProperties": 1,
|
|
98
|
+
"properties": {
|
|
99
|
+
"apiTokenEnv": {
|
|
100
|
+
"$ref": "#/$defs/envName"
|
|
101
|
+
},
|
|
102
|
+
"accessTokenEnv": {
|
|
103
|
+
"$ref": "#/$defs/envName"
|
|
104
|
+
},
|
|
105
|
+
"tokenEnv": {
|
|
106
|
+
"$ref": "#/$defs/envName"
|
|
107
|
+
},
|
|
108
|
+
"usernameEnv": {
|
|
109
|
+
"$ref": "#/$defs/envName"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"transport": {
|
|
114
|
+
"enum": [
|
|
115
|
+
"harness-mcp",
|
|
116
|
+
"direct-api",
|
|
117
|
+
"local-cli"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
"projectIds": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"maxItems": 64,
|
|
123
|
+
"uniqueItems": true,
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1,
|
|
127
|
+
"maxLength": 200
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"tools": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"maxItems": 64,
|
|
133
|
+
"uniqueItems": true,
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schemas.rivet.dev/rivet/v2/quality.schema.json",
|
|
4
|
+
"title": "Agilno tracked quality policy",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "providerRefs", "completionProfileRefs", "commandGates", "expectations", "evidence"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
10
|
+
"providerRefs": { "type": "array", "minItems": 1, "maxItems": 64, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
|
|
11
|
+
"completionProfileRefs": { "type": "array", "minItems": 1, "maxItems": 32, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
|
|
12
|
+
"commandGates": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "$ref": "#/$defs/commandGate" } },
|
|
13
|
+
"expectations": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": ["storybook", "playwright", "accessibility", "security", "visual"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"storybook": { "enum": ["optional", "required"] },
|
|
19
|
+
"playwright": { "enum": ["optional", "required"] },
|
|
20
|
+
"accessibility": { "enum": ["none", "wcag-a", "wcag-aa"] },
|
|
21
|
+
"security": { "enum": ["required", "not-applicable-with-approval"] },
|
|
22
|
+
"visual": { "enum": ["none", "automated", "human-baseline"] }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"evidence": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": ["requiredTypes", "requireHumanBaseline", "requireHumanFinal"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"requiredTypes": { "type": "array", "minItems": 1, "maxItems": 8, "uniqueItems": true, "items": { "$ref": "#/$defs/evidenceType" } },
|
|
31
|
+
"requireHumanBaseline": { "type": "boolean" },
|
|
32
|
+
"requireHumanFinal": { "type": "boolean", "const": true }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"$defs": {
|
|
37
|
+
"id": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" },
|
|
38
|
+
"evidenceType": { "enum": ["commit", "test", "journey", "screenshot", "report", "review", "human-approval", "external-update"] },
|
|
39
|
+
"commandGate": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"required": ["id", "command", "required"],
|
|
43
|
+
"properties": {
|
|
44
|
+
"id": { "$ref": "#/$defs/id" },
|
|
45
|
+
"command": { "enum": ["build", "test", "lint", "typecheck", "dev", "check"] },
|
|
46
|
+
"required": { "type": "boolean" }
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://schemas.rivet.dev/rivet/v2/work-action.schema.json",
|
|
4
|
+
"title": "Agilno host work action",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"kind",
|
|
10
|
+
"runId",
|
|
11
|
+
"runtimeVersion",
|
|
12
|
+
"nodeId",
|
|
13
|
+
"intentId",
|
|
14
|
+
"idempotencyKey",
|
|
15
|
+
"reservationId",
|
|
16
|
+
"attempt",
|
|
17
|
+
"payload"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
21
|
+
"kind": { "type": "string", "const": "agilno.work-action" },
|
|
22
|
+
"runId": { "$ref": "#/$defs/id" },
|
|
23
|
+
"runtimeVersion": { "type": "integer", "minimum": 0, "maximum": 9007199254740990 },
|
|
24
|
+
"nodeId": { "$ref": "#/$defs/id" },
|
|
25
|
+
"intentId": { "$ref": "#/$defs/id" },
|
|
26
|
+
"idempotencyKey": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"maxLength": 256,
|
|
30
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$"
|
|
31
|
+
},
|
|
32
|
+
"reservationId": { "$ref": "#/$defs/id" },
|
|
33
|
+
"attempt": { "type": "integer", "minimum": 1, "maximum": 10000 },
|
|
34
|
+
"payload": { "type": "string", "minLength": 1, "maxLength": 131072 }
|
|
35
|
+
},
|
|
36
|
+
"$defs": {
|
|
37
|
+
"id": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"maxLength": 64,
|
|
41
|
+
"pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|