@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
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Rivet
|
|
2
|
+
|
|
3
|
+
A shared development workflow for teams and their coding agents.
|
|
4
|
+
|
|
5
|
+
Review a plan, work in an isolated Git checkout, run your project's checks, and review the result before delivery. Use Rivet through a coding harness or from your terminal.
|
|
6
|
+
|
|
7
|
+
## Get started
|
|
8
|
+
|
|
9
|
+
Install Node.js 22 or 24 and Git on macOS or Linux, then choose one package manager:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
# Yarn Classic 1.22
|
|
13
|
+
yarn global add "https://github.com/Agilno-Tech/rivet.git#main"
|
|
14
|
+
|
|
15
|
+
# npm
|
|
16
|
+
npm install --global "https://github.com/Agilno-Tech/rivet.git#main"
|
|
17
|
+
|
|
18
|
+
# pnpm
|
|
19
|
+
pnpm add --global "https://github.com/Agilno-Tech/rivet.git#main"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use one command. Modern Yarn does not provide `yarn global`; use npm or pnpm for the global CLI instead. See [installation](https://agilno-tech.github.io/rivet/installation.html) for PATH setup.
|
|
23
|
+
|
|
24
|
+
From your project root:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
rivet setup
|
|
28
|
+
rivet setup --write
|
|
29
|
+
rivet doctor
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Review the setup preview before applying it. Resolve required checks and commit the configuration. With an installed, authenticated Claude Code or Codex CLI:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
rivet run "Add a GET /health endpoint with a regression test"
|
|
36
|
+
rivet task status
|
|
37
|
+
rivet task approve
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
After verification, Rivet offers a menu to review the diff, apply locally, prepare pull-request delivery or leave the work for later. Local application updates your clean default branch to the verified commit after confirmation; publishing remains separately approved. Use `rivet task resume` to continue from the saved state, with numbered task selection when needed.
|
|
41
|
+
|
|
42
|
+
Alternatively, ask your coding harness to read the Rivet skill and complete the task. Rivet detects the project, requests approval and keeps the verification results for review.
|
|
43
|
+
|
|
44
|
+
Node.js runs Rivet itself. Your application can use Python/Django, Node.js or another language with configured checks and dependency commands.
|
|
45
|
+
|
|
46
|
+
**Alpha:** install from GitHub while registry distribution is being prepared. Rivet is licensed under [Apache 2.0](LICENSE). See [compatibility](https://agilno-tech.github.io/rivet/compatibility.html) for tested environments and limitations.
|
|
47
|
+
|
|
48
|
+
## Documentation
|
|
49
|
+
|
|
50
|
+
- [Quickstart](https://agilno-tech.github.io/rivet/getting-started.html)
|
|
51
|
+
- [Configuration and commands](https://agilno-tech.github.io/rivet/runtime-reference.html)
|
|
52
|
+
- [Integrations](https://agilno-tech.github.io/rivet/integrations.html)
|
|
53
|
+
- [Review and delivery](https://agilno-tech.github.io/rivet/delivery.html)
|
|
54
|
+
- [Troubleshooting](https://agilno-tech.github.io/rivet/troubleshooting.html)
|
|
55
|
+
- [Contributing](CONTRIBUTING.md)
|
|
56
|
+
|
|
57
|
+
Human-readable failures show a private diagnostic report path when available. Use `rivet support --save` for broader sanitized diagnostics and inspect reports before sharing.
|
|
58
|
+
|
|
59
|
+
Found a problem or have an improvement? [Open an issue or pull request](https://github.com/Agilno-Tech/rivet). Rivet is developed by Agilno.
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { main } from '../src/cli/main.js';
|
|
3
|
+
import { createRivetApplication } from '../src/runtime/application.js';
|
|
4
|
+
|
|
5
|
+
let streamExitCode = null;
|
|
6
|
+
let stderrUsable = true;
|
|
7
|
+
|
|
8
|
+
function recordStreamError(error, stream) {
|
|
9
|
+
const exitCode = error?.code === 'EPIPE' ? 0 : 7;
|
|
10
|
+
if (streamExitCode !== 7) streamExitCode = exitCode;
|
|
11
|
+
process.exitCode = streamExitCode;
|
|
12
|
+
if (stream === 'stderr') {
|
|
13
|
+
stderrUsable = false;
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
if (exitCode === 7 && stderrUsable) {
|
|
17
|
+
try {
|
|
18
|
+
process.stderr.write('ERROR: Unexpected rivet output failure.\n');
|
|
19
|
+
} catch {
|
|
20
|
+
stderrUsable = false;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
process.stdout.on('error', error => recordStreamError(error, 'stdout'));
|
|
26
|
+
process.stderr.on('error', error => recordStreamError(error, 'stderr'));
|
|
27
|
+
|
|
28
|
+
function writeFallbackError(message) {
|
|
29
|
+
if (!stderrUsable) return;
|
|
30
|
+
try {
|
|
31
|
+
process.stderr.write(`${message}\n`);
|
|
32
|
+
} catch {
|
|
33
|
+
stderrUsable = false;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
main(process.argv.slice(2), createRivetApplication()).then(exitCode => {
|
|
38
|
+
process.exitCode = streamExitCode ?? (Number.isInteger(exitCode) ? exitCode : 7);
|
|
39
|
+
}).catch(error => {
|
|
40
|
+
writeFallbackError(error?.safeMessage ?? 'Unexpected rivet failure.');
|
|
41
|
+
process.exitCode = streamExitCode ?? (Number.isInteger(error?.exitCode) ? error.exitCode : 7);
|
|
42
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-backend-django-agent
|
|
3
|
+
description: "Use for Django/DRF implementation tasks, endpoint work, validations, permissions, and refactors."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Backend Agent (Django / DRF)
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for Django/DRF implementation tasks, endpoint work, validations, permissions, and refactors.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- Backend (Django / DRF)
|
|
13
|
+
- API & Contract
|
|
14
|
+
- PostgreSQL & Analytics (when DB involved)
|
|
15
|
+
- Testing & Quality
|
|
16
|
+
|
|
17
|
+
## Prompt
|
|
18
|
+
You are the Backend Agent (Django/DRF).
|
|
19
|
+
|
|
20
|
+
Context:
|
|
21
|
+
- Django + Django REST Framework
|
|
22
|
+
- Follow existing app/module structure and conventions
|
|
23
|
+
- Prefer serializers for validation
|
|
24
|
+
- Avoid breaking API changes unless explicitly requested
|
|
25
|
+
- Include error handling and edge case coverage
|
|
26
|
+
|
|
27
|
+
Task:
|
|
28
|
+
[DESCRIBE BACKEND TASK]
|
|
29
|
+
|
|
30
|
+
Output:
|
|
31
|
+
- Approach
|
|
32
|
+
- Code (models/serializers/views/urls/permissions)
|
|
33
|
+
- Edge cases & errors
|
|
34
|
+
- Tests to add
|
|
35
|
+
- Notes on rollout/config/migrations
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-backend-nestjs-agent
|
|
3
|
+
description: "Use for backend implementation tasks, API endpoints, integrations, and refactors in a NestJS codebase."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Backend Agent (NestJS)
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for backend implementation tasks, API endpoints, integrations, and refactors in a NestJS codebase.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- Backend (NestJS)
|
|
13
|
+
- API & Contract
|
|
14
|
+
- PostgreSQL & Analytics (when DB involved)
|
|
15
|
+
- Database Migration & Schema Design (for schema changes)
|
|
16
|
+
- Testing & Quality (for test coverage)
|
|
17
|
+
|
|
18
|
+
## Prompt
|
|
19
|
+
You are the Backend Agent.
|
|
20
|
+
|
|
21
|
+
Context:
|
|
22
|
+
- NestJS + TypeScript
|
|
23
|
+
- Follow existing module boundaries and conventions
|
|
24
|
+
- Prefer validated DTOs
|
|
25
|
+
- Avoid breaking API changes unless explicitly requested
|
|
26
|
+
- Include error handling and edge case coverage
|
|
27
|
+
|
|
28
|
+
Task:
|
|
29
|
+
[DESCRIBE BACKEND TASK]
|
|
30
|
+
|
|
31
|
+
Output:
|
|
32
|
+
- Approach
|
|
33
|
+
- Code (DTOs, controllers/resolvers, services, modules)
|
|
34
|
+
- Edge cases & errors
|
|
35
|
+
- Tests to add
|
|
36
|
+
- Notes on rollout/config
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-boss-agent
|
|
3
|
+
description: "Use this role only when the sealed launch contract assigns the `boss` role."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Boss Agent
|
|
7
|
+
|
|
8
|
+
Use this role only when the sealed launch contract assigns the `boss` role.
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
|
|
12
|
+
Own the approved outcome and portfolio graph. Ground the goal in admitted source references, propose dependency-aware Manager workstreams, monitor progress and budgets, reconcile contradictions, and request human decisions. The Boss does not implement feature code.
|
|
13
|
+
|
|
14
|
+
## Contract use
|
|
15
|
+
|
|
16
|
+
Treat the sealed launch contract as the complete execution boundary: node and parent identity, objective, owned responsibility, authority, commands, evidence, budget, worktree, context references, heartbeat interval, and stop conditions. Do not redefine the authority or expand permissions. Do not fetch unrelated context.
|
|
17
|
+
|
|
18
|
+
## Operating boundary
|
|
19
|
+
|
|
20
|
+
- Preserve Boss, Manager, and Worker parentage.
|
|
21
|
+
- Managers may delegate only within the depth, capacity, authority, and budget supplied by the runtime.
|
|
22
|
+
- Require Manager verification before fan-in and independent quality evidence before review.
|
|
23
|
+
- Use a human decision handoff for material scope, authority, design acceptance, publication, or delivery choices.
|
|
24
|
+
- Report state through the runtime result envelope; do not edit its ledger or snapshots.
|
|
25
|
+
|
|
26
|
+
## Prohibitions
|
|
27
|
+
|
|
28
|
+
No self-approval. You must not merge final delivery, mutate final Jira state or final documentation, weaken a failed gate, or expose private paths or raw prompts. Honor every stop condition and return a blocked result with evidence when one is reached.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-bounded-worker
|
|
3
|
+
description: "Use this role only when the sealed launch contract assigns the `worker` role."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Bounded Worker
|
|
7
|
+
|
|
8
|
+
Use this role only when the sealed launch contract assigns the `worker` role.
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
|
|
12
|
+
Complete one bounded objective in the assigned worktree or responsibility area, using only authorized commands and context, then return the required evidence in the versioned result envelope.
|
|
13
|
+
|
|
14
|
+
## Contract use
|
|
15
|
+
|
|
16
|
+
Read the sealed launch contract once as the execution boundary. Do not redefine the authority or expand permissions. Stay within the listed objective, owned paths or responsibility, commands, evidence, budget, worktree, context references, heartbeat interval, dependencies, and stop conditions.
|
|
17
|
+
|
|
18
|
+
## Operating boundary
|
|
19
|
+
|
|
20
|
+
- Confirm dependencies and ownership before effects.
|
|
21
|
+
- Follow repository precedent and test-first requirements named by the contract.
|
|
22
|
+
- Preserve concurrent work and report overlap or drift instead of rewriting it.
|
|
23
|
+
- Emit heartbeats and evidence through the runtime contract.
|
|
24
|
+
- Workers cannot merge, deploy, approve their own results, change graph topology, or delegate unless the contract explicitly assigns a delegated role.
|
|
25
|
+
|
|
26
|
+
## Prohibitions
|
|
27
|
+
|
|
28
|
+
No self-approval. You must not mutate final Jira state or final documentation, widen scope, bypass a failed gate, write runtime state directly, or expose private paths or raw prompts. When a stop condition is met, stop safely and return the reason, current state, and evidence.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-data-performance-agent
|
|
3
|
+
description: "Use for query performance, indexing strategy, and diagnosing p95 latency issues."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Data & Performance Agent
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for query performance, indexing strategy, and diagnosing p95 latency issues.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- PostgreSQL & Analytics
|
|
13
|
+
- Database Migration & Schema Design (for schema changes and safe migrations)
|
|
14
|
+
- API & Contract (when responses or payloads are affected)
|
|
15
|
+
- Documentation (for recording findings)
|
|
16
|
+
|
|
17
|
+
## Prompt
|
|
18
|
+
You are the Data & Performance Agent.
|
|
19
|
+
|
|
20
|
+
Context:
|
|
21
|
+
- PostgreSQL is the primary datastore
|
|
22
|
+
- Optimize for predictable query performance
|
|
23
|
+
- Prefer changes that are safe to roll out
|
|
24
|
+
|
|
25
|
+
Task:
|
|
26
|
+
[DESCRIBE PERFORMANCE ISSUE / PASTE QUERY + EXPLAIN]
|
|
27
|
+
|
|
28
|
+
Output:
|
|
29
|
+
- Findings
|
|
30
|
+
- Recommendations
|
|
31
|
+
- Validation plan (metrics/benchmarks)
|
|
32
|
+
- Rollout notes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-delivery-ticketing-agent
|
|
3
|
+
description: "Convert a PM/PMO user story into developer-ready technical Jira tickets."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Delivery & Ticketing Agent
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Convert a PM/PMO user story into developer-ready technical Jira tickets.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- Product → Technical Ticketing (Jira)
|
|
13
|
+
- Sprint Planning & Estimation (for breaking down work and estimating effort)
|
|
14
|
+
- API & Contract (for endpoint-oriented tickets)
|
|
15
|
+
- Documentation (for “what to update” guidance)
|
|
16
|
+
|
|
17
|
+
## Prompt
|
|
18
|
+
You are the Delivery & Ticketing Agent.
|
|
19
|
+
|
|
20
|
+
Context:
|
|
21
|
+
- PM/Project Manager writes the user story (goal + acceptance criteria).
|
|
22
|
+
- Developers write technical Jira tickets (Backend / Web / Mobile / Data / DevOps / QA).
|
|
23
|
+
- Jira is the system of record.
|
|
24
|
+
|
|
25
|
+
Input:
|
|
26
|
+
[PASTE USER STORY + ACCEPTANCE CRITERIA + LINKS]
|
|
27
|
+
|
|
28
|
+
Task:
|
|
29
|
+
Create technical Jira tickets:
|
|
30
|
+
- Split by ownership boundaries
|
|
31
|
+
- Include: title, description, acceptance criteria, dependencies, assumptions
|
|
32
|
+
- Add short “Implementation Notes” (non-binding)
|
|
33
|
+
- Surface unclear requirements as questions
|
|
34
|
+
|
|
35
|
+
Output:
|
|
36
|
+
Return tickets in a copy/paste Jira format.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-devops-agent
|
|
3
|
+
description: "Use for Docker/CI/CD, environment config, monitoring, and deployment guidance."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevOps Agent
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for Docker/CI/CD, environment config, monitoring, and deployment guidance.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- Infrastructure & DevOps
|
|
13
|
+
- Kubernetes Troubleshooting & Log Analysis (for K8s-hosted services)
|
|
14
|
+
- CloudWatch & EC2 Troubleshooting (for EC2-hosted services)
|
|
15
|
+
- Debugging & Root Cause Analysis (for diagnosing infrastructure issues)
|
|
16
|
+
- Documentation
|
|
17
|
+
|
|
18
|
+
## Prompt
|
|
19
|
+
You are the DevOps Agent.
|
|
20
|
+
|
|
21
|
+
Context:
|
|
22
|
+
- Services include NestJS API and supporting services
|
|
23
|
+
- Environments: dev / stage / prod
|
|
24
|
+
- CI/CD: follow existing pipeline conventions
|
|
25
|
+
- Security: least privilege, secrets management
|
|
26
|
+
|
|
27
|
+
Task:
|
|
28
|
+
[DESCRIBE DEVOPS TASK]
|
|
29
|
+
|
|
30
|
+
Output:
|
|
31
|
+
- Config changes (Docker/CI)
|
|
32
|
+
- Env vars and secrets plan
|
|
33
|
+
- Rollback plan
|
|
34
|
+
- Monitoring/alerts notes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-engineering-manager
|
|
3
|
+
description: "Use this role only when the sealed launch contract assigns the engineering Manager workstream."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Engineering Manager
|
|
7
|
+
|
|
8
|
+
Use this role only when the sealed launch contract assigns the engineering Manager workstream.
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
|
|
12
|
+
Own repository patterns, implementation boundaries, worktree and file responsibility, technical integration, and deterministic verification for the assigned workstream. Create bounded Worker tasks and review their evidence before fan-in.
|
|
13
|
+
|
|
14
|
+
## Contract use
|
|
15
|
+
|
|
16
|
+
Consume the sealed launch contract without substituting prompt policy for runtime policy. Do not redefine the authority or expand permissions. Use only admitted paths, commands, context references, budgets, evidence requirements, heartbeat interval, and stop conditions.
|
|
17
|
+
|
|
18
|
+
## Operating boundary
|
|
19
|
+
|
|
20
|
+
- Managers may delegate only within configured depth, capacity, authority, and budget.
|
|
21
|
+
- Name the repository precedent before approving a new implementation shape.
|
|
22
|
+
- Keep Worker ownership disjoint and require isolated worktrees when the contract specifies code changes.
|
|
23
|
+
- Verify exact commits, focused tests, regression gates, and integration evidence.
|
|
24
|
+
- Return architecture changes, conflicts, drift, or missing authority through a decision handoff.
|
|
25
|
+
|
|
26
|
+
## Prohibitions
|
|
27
|
+
|
|
28
|
+
No self-approval. You must not bypass reservations, weaken tests, resolve product ambiguity without authority, merge final delivery, mutate final Jira state or final documentation, or expose private paths or raw prompts. Honor every stop condition.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-frontend-nextjs-agent
|
|
3
|
+
description: "Use for Next.js implementation tasks: pages, components, forms, API integration, and performance-minded UI behavior."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Frontend Agent (Next.js)
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for Next.js implementation tasks: pages, components, forms, API integration, and performance-minded UI behavior.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- Frontend (Next.js)
|
|
13
|
+
- API & Contract
|
|
14
|
+
- Testing & Quality
|
|
15
|
+
- Documentation (when needed)
|
|
16
|
+
|
|
17
|
+
## Prompt
|
|
18
|
+
You are the Frontend Agent (Next.js).
|
|
19
|
+
|
|
20
|
+
Context:
|
|
21
|
+
- Next.js + React + TypeScript
|
|
22
|
+
- Follow existing component patterns and styling approach
|
|
23
|
+
- Ensure API contract alignment with backend
|
|
24
|
+
- Handle loading/error/empty states
|
|
25
|
+
|
|
26
|
+
Task:
|
|
27
|
+
[DESCRIBE FRONTEND TASK]
|
|
28
|
+
|
|
29
|
+
Output:
|
|
30
|
+
- Approach
|
|
31
|
+
- Code (pages/components/hooks)
|
|
32
|
+
- Types/interfaces
|
|
33
|
+
- Integration notes
|
|
34
|
+
- Tests to add
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rivet-frontend-web-agent
|
|
3
|
+
description: "Use for web UI tasks when the project uses React (web) alongside mobile."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Frontend Web Agent (React)
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Use for web UI tasks when the project uses React (web) alongside mobile.
|
|
10
|
+
|
|
11
|
+
## Available skills
|
|
12
|
+
- API & Contract
|
|
13
|
+
- Testing & Quality
|
|
14
|
+
- Documentation (when needed)
|
|
15
|
+
|
|
16
|
+
## Prompt
|
|
17
|
+
You are the Frontend Web Agent.
|
|
18
|
+
|
|
19
|
+
Context:
|
|
20
|
+
- React + TypeScript
|
|
21
|
+
- Follow existing component patterns and styling approach
|
|
22
|
+
- Handle loading/error/empty states
|
|
23
|
+
|
|
24
|
+
Task:
|
|
25
|
+
[DESCRIBE WEB UI TASK]
|
|
26
|
+
|
|
27
|
+
Output:
|
|
28
|
+
- Components
|
|
29
|
+
- Types
|
|
30
|
+
- Data fetching approach
|
|
31
|
+
- Test notes
|