@uchibeke/gallivant 0.0.0-stage → 0.2.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.
Files changed (168) hide show
  1. package/CONTRIBUTING.md +26 -0
  2. package/LICENSE +204 -0
  3. package/README.md +201 -2
  4. package/SECURITY.md +19 -0
  5. package/bin/gallivant.mjs +257 -0
  6. package/bin/package-plugin.mjs +16 -0
  7. package/bin/release-live.mjs +29 -0
  8. package/bin/release-package.mjs +23 -0
  9. package/bin/session-runtime.mjs +13 -0
  10. package/bin/task-delivery-state.mjs +12 -0
  11. package/docs/README.md +70 -0
  12. package/docs/agent-setup.md +214 -0
  13. package/docs/app.md +111 -0
  14. package/docs/architecture.md +265 -0
  15. package/docs/chains.md +102 -0
  16. package/docs/codex-cloud.md +284 -0
  17. package/docs/commands.md +620 -0
  18. package/docs/config.md +430 -0
  19. package/docs/execution.md +796 -0
  20. package/docs/guardrails.md +311 -0
  21. package/docs/install.md +338 -0
  22. package/docs/launch.md +42 -0
  23. package/docs/learning.md +369 -0
  24. package/docs/network-recovery.md +101 -0
  25. package/docs/openai-agents.md +457 -0
  26. package/docs/prd.md +246 -0
  27. package/docs/preparation.md +110 -0
  28. package/docs/release-qualification.md +196 -0
  29. package/docs/releasing.md +140 -0
  30. package/docs/runtime-environment.md +113 -0
  31. package/docs/task-delivery.md +476 -0
  32. package/docs/tasks.md +739 -0
  33. package/lib/aport.mjs +95 -0
  34. package/lib/attribution.mjs +95 -0
  35. package/lib/block.mjs +89 -0
  36. package/lib/capabilities.mjs +3 -0
  37. package/lib/chains.mjs +222 -0
  38. package/lib/codex_cloud.mjs +160 -0
  39. package/lib/codex_cloud_config.mjs +20 -0
  40. package/lib/codex_cloud_input.mjs +49 -0
  41. package/lib/codex_cloud_result.mjs +74 -0
  42. package/lib/commands/doctor.mjs +457 -0
  43. package/lib/commands/init.mjs +34 -0
  44. package/lib/commands/learn.mjs +54 -0
  45. package/lib/commands/new.mjs +47 -0
  46. package/lib/commands/ready.mjs +45 -0
  47. package/lib/commands/register.mjs +195 -0
  48. package/lib/commands/resume.mjs +224 -0
  49. package/lib/commands/serve.mjs +349 -0
  50. package/lib/commands/start.mjs +247 -0
  51. package/lib/commands/start_services.mjs +22 -0
  52. package/lib/commands/status.mjs +150 -0
  53. package/lib/commands/task.mjs +73 -0
  54. package/lib/commands/up.mjs +228 -0
  55. package/lib/commands/why.mjs +143 -0
  56. package/lib/config.mjs +461 -0
  57. package/lib/context.mjs +100 -0
  58. package/lib/control.mjs +202 -0
  59. package/lib/control_contract.mjs +16 -0
  60. package/lib/coordinator.mjs +19 -0
  61. package/lib/credential.mjs +161 -0
  62. package/lib/daemon.mjs +156 -0
  63. package/lib/deliverable.mjs +357 -0
  64. package/lib/events.mjs +261 -0
  65. package/lib/executable.mjs +31 -0
  66. package/lib/execution.mjs +631 -0
  67. package/lib/execution_contract.mjs +15 -0
  68. package/lib/execution_input.mjs +4 -0
  69. package/lib/execution_io.mjs +94 -0
  70. package/lib/execution_journal.mjs +69 -0
  71. package/lib/execution_preparation.mjs +29 -0
  72. package/lib/execution_result.mjs +266 -0
  73. package/lib/fs.mjs +133 -0
  74. package/lib/gh.mjs +289 -0
  75. package/lib/git.mjs +434 -0
  76. package/lib/harness.mjs +521 -0
  77. package/lib/harness_log.mjs +432 -0
  78. package/lib/hash.mjs +16 -0
  79. package/lib/identity.mjs +98 -0
  80. package/lib/learning.mjs +654 -0
  81. package/lib/learning_contract.mjs +2 -0
  82. package/lib/learning_data.mjs +135 -0
  83. package/lib/learning_input.mjs +111 -0
  84. package/lib/learning_qualification.mjs +67 -0
  85. package/lib/learning_signer.mjs +151 -0
  86. package/lib/learning_store.mjs +88 -0
  87. package/lib/log.mjs +53 -0
  88. package/lib/network_diagnostics.mjs +64 -0
  89. package/lib/network_recovery.mjs +42 -0
  90. package/lib/notify.mjs +58 -0
  91. package/lib/openai_agents.mjs +373 -0
  92. package/lib/openai_agents_config.mjs +14 -0
  93. package/lib/openai_agents_http.mjs +87 -0
  94. package/lib/openai_agents_input.mjs +15 -0
  95. package/lib/openai_agents_sources.mjs +112 -0
  96. package/lib/owner_delivery.mjs +443 -0
  97. package/lib/plugin_package.mjs +340 -0
  98. package/lib/prd.mjs +635 -0
  99. package/lib/preparation_agents.mjs +33 -0
  100. package/lib/preparation_codex.mjs +212 -0
  101. package/lib/probe.mjs +126 -0
  102. package/lib/prompt.mjs +238 -0
  103. package/lib/provider_health.mjs +55 -0
  104. package/lib/public-format.mjs +31 -0
  105. package/lib/public_output.mjs +49 -0
  106. package/lib/release_package.mjs +154 -0
  107. package/lib/repository_files.mjs +86 -0
  108. package/lib/run.mjs +385 -0
  109. package/lib/run_log.mjs +94 -0
  110. package/lib/runtime-environment.mjs +87 -0
  111. package/lib/runtime_dependencies.mjs +15 -0
  112. package/lib/runtime_node.mjs +107 -0
  113. package/lib/runtime_state.mjs +174 -0
  114. package/lib/sources/index.mjs +27 -0
  115. package/lib/sources/prd.mjs +50 -0
  116. package/lib/start_contract.mjs +37 -0
  117. package/lib/state.mjs +246 -0
  118. package/lib/task_allowance.mjs +31 -0
  119. package/lib/task_completion.mjs +61 -0
  120. package/lib/task_contract.mjs +450 -0
  121. package/lib/task_delivery.mjs +219 -0
  122. package/lib/task_delivery_cancel.mjs +34 -0
  123. package/lib/task_delivery_contract.mjs +61 -0
  124. package/lib/task_delivery_mcp.mjs +40 -0
  125. package/lib/task_delivery_store.mjs +43 -0
  126. package/lib/task_delivery_view.mjs +88 -0
  127. package/lib/task_environment.mjs +281 -0
  128. package/lib/task_prepare.mjs +224 -0
  129. package/lib/task_store.mjs +38 -0
  130. package/lib/tasks.mjs +513 -0
  131. package/lib/tick.mjs +1635 -0
  132. package/lib/time.mjs +36 -0
  133. package/lib/tracker/assets.mjs +43 -0
  134. package/lib/tracker/pages.mjs +320 -0
  135. package/lib/tracker/runs.mjs +102 -0
  136. package/lib/tracker/stream.mjs +74 -0
  137. package/lib/tracker_process.mjs +107 -0
  138. package/lib/verification_sandbox.mjs +181 -0
  139. package/node_modules/smol-toml/LICENSE +24 -0
  140. package/node_modules/smol-toml/README.md +605 -0
  141. package/node_modules/smol-toml/dist/date.d.ts +41 -0
  142. package/node_modules/smol-toml/dist/date.js +156 -0
  143. package/node_modules/smol-toml/dist/error.d.ts +37 -0
  144. package/node_modules/smol-toml/dist/error.js +67 -0
  145. package/node_modules/smol-toml/dist/extract.js +289 -0
  146. package/node_modules/smol-toml/dist/index.cjs +770 -0
  147. package/node_modules/smol-toml/dist/index.d.ts +44 -0
  148. package/node_modules/smol-toml/dist/index.js +34 -0
  149. package/node_modules/smol-toml/dist/parse.d.ts +73 -0
  150. package/node_modules/smol-toml/dist/parse.js +164 -0
  151. package/node_modules/smol-toml/dist/primitive.js +151 -0
  152. package/node_modules/smol-toml/dist/stringify.d.ts +32 -0
  153. package/node_modules/smol-toml/dist/stringify.js +219 -0
  154. package/node_modules/smol-toml/dist/struct.js +156 -0
  155. package/node_modules/smol-toml/dist/util.d.ts +43 -0
  156. package/node_modules/smol-toml/dist/util.js +57 -0
  157. package/node_modules/smol-toml/package.json +68 -0
  158. package/npm-shrinkwrap.json +1823 -0
  159. package/package.json +105 -4
  160. package/templates/claude-settings.json +18 -0
  161. package/templates/passport.gallivant.json +83 -0
  162. package/templates/plugin/bundled-runtime.json +26 -0
  163. package/templates/plugin/schemas/mcp.schema.json +120 -0
  164. package/templates/plugin/schemas/plugin.schema.json +65 -0
  165. package/templates/plugin/task-delivery.SKILL.md +60 -0
  166. package/templates/prd.md +32 -0
  167. package/templates/tracker/tracker.css +301 -0
  168. package/templates/tracker/tracker.js +721 -0
@@ -0,0 +1,26 @@
1
+ # Contributing
2
+
3
+ Use macOS or Linux with Node 22 or 24. Install dependencies with
4
+ `npm ci --ignore-scripts`. Run `npm run lint`, `npm test` and `npm run test:install`
5
+ before opening a pull request. Native isolation tests need Command Line Tools on
6
+ macOS or Bubblewrap with user namespaces allowed on Linux; see
7
+ `.github/workflows/runtime-portability.yml` for the tested host setup.
8
+
9
+ `npm test` uses fixtures and disposable repositories. Live harness suites are
10
+ separate opt-in commands: they need authenticated provider access and can spend
11
+ credits. Do not include credentials, private run logs, local config or customer
12
+ content in a contribution. Follow [SECURITY.md](SECURITY.md) for vulnerabilities.
13
+
14
+ Keep orchestration in shared services so CLI, daemon and UI use the same rules.
15
+ Preserve each adapter's supported continuation, bounded retries, ownership checks, sandbox
16
+ refusals and human merge gates. Add focused regressions for correctness fixes,
17
+ and update the relevant command/configuration documentation when behavior changes.
18
+
19
+ [The documentation index](docs/README.md) separates current operator guides from
20
+ implementation PRDs, plans and dated evidence. Update guides with behavior changes;
21
+ preserve queued brief/source contracts and historical test results. New provider
22
+ support must state preparation and implementation capabilities separately, along
23
+ with credentials, permissions, costs, continuation and qualification limits.
24
+
25
+ Describe the user-visible problem, the resulting behavior and the checks you ran.
26
+ An implemented adapter is not a live-qualified provider; record that distinction.
package/LICENSE ADDED
@@ -0,0 +1,204 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (which shall not include Communications that are clearly marked or
39
+ otherwise designated in writing by the copyright owner as "Not a Work").
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
+ ---
180
+
181
+ APPENDIX: How to apply the Apache License to your work.
182
+
183
+ To apply the Apache License to your work, attach the following
184
+ boilerplate notice, with the fields enclosed by brackets "[]"
185
+ replaced with your own identifying information. (Don't include
186
+ the brackets!) The text should be enclosed in the appropriate
187
+ comment syntax for the file format. We also recommend that a
188
+ file or class name and description of purpose be included on the
189
+ same "printed page" as the copyright notice for easier
190
+ identification within third-party archives.
191
+
192
+ Copyright 2026 Gallivant contributors
193
+
194
+ Licensed under the Apache License, Version 2.0 (the "License");
195
+ you may not use this file except in compliance with the License.
196
+ You may obtain a copy of the License at
197
+
198
+ http://www.apache.org/licenses/LICENSE-2.0
199
+
200
+ Unless required by applicable law or agreed to in writing, software
201
+ distributed under the License is distributed on an "AS IS" BASIS,
202
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
203
+ See the License for the specific language governing permissions and
204
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,202 @@
1
- # Temporary Holding Version
1
+ # Gallivant
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Give an agent a task. Let the review loop run. Go outside.**
4
+
5
+ Gallivant turns repository tasks into reviewed pull requests. It starts an agent,
6
+ watches CI and reviewer feedback, and continues the same session to fix issues.
7
+ You can follow progress and send corrections from a local dashboard. **You decide
8
+ what gets merged.**
9
+
10
+ Use it for code, documentation, research or content that belongs in a GitHub
11
+ repository. Start with a plain-language request or a written brief.
12
+
13
+ ```text
14
+ Your task → agent works → PR → review + CI → fixes → ready for you
15
+ ↑___________|
16
+ ```
17
+
18
+ ## Install
19
+
20
+ You need **macOS or Linux, Node 22+, Git, GitHub CLI and jq**. For your first run,
21
+ use signed-in **Codex CLI 0.160.0+** or **Claude Code 2.1.263+**. Provider usage is
22
+ billed to your own account. [Full prerequisites](docs/install.md).
23
+
24
+ Check the [registry version](https://www.npmjs.com/package/@uchibeke/gallivant). Once a
25
+ version is available, install it with `npm install -g @uchibeke/gallivant`. If the package
26
+ is not published yet, install from source:
27
+
28
+ ```sh
29
+ git clone https://github.com/uchibeke/gallivant.git
30
+ cd gallivant
31
+ npm ci --ignore-scripts
32
+ npm link
33
+ gallivant --version
34
+ ```
35
+
36
+ [Release status and checks](docs/releasing.md).
37
+
38
+ ## Set up
39
+
40
+ ```sh
41
+ gh auth status
42
+ codex login status # use Claude sign-in if you choose Claude
43
+ gallivant init --harness codex # or --harness claude
44
+ gallivant doctor
45
+ ```
46
+
47
+ `init` creates local configuration and a separate task-checkout directory. It
48
+ preserves existing config, credentials and global agent settings. Follow the
49
+ fixes from `doctor`; [setup instructions](docs/install.md) cover authentication,
50
+ harness permissions and repository protection.
51
+
52
+ Enable the Codex GitHub review integration on the target repository, or choose
53
+ another reviewer. If you want CI and trusted human feedback without a review bot,
54
+ explicitly configure `"reviewer": null`. The default waits for Codex review.
55
+
56
+ **Prefer an agent to handle setup?** Give it the
57
+ [setup-agent instructions](docs/agent-setup.md). They cover inspection, installation,
58
+ configuration, verification and the points where your input is required.
59
+
60
+ ## Run your first task
61
+
62
+ Inside a repository you can push to. This example uses Codex; if you configured
63
+ Claude, replace `--harness codex` with `--harness claude` before running it:
64
+
65
+ ```sh
66
+ cd /path/to/your/repository
67
+ gallivant task "Document how to run the existing tests in CONTRIBUTING.md. Use the commands already defined in the repository. Change documentation only." \
68
+ --harness codex --verify 'git diff --check' --run
69
+ gallivant start
70
+ ```
71
+
72
+ `task` prepares a brief and asks for missing information. `--run` authorizes
73
+ implementation when that brief is ready, including after clarification. Omit it
74
+ to inspect the draft first. Follow the printed `Next` action using your task's ID
75
+ and revision. Preparation also uses inference.
76
+
77
+ `gallivant start` opens **http://127.0.0.1:8791** and ensures the daemon is running.
78
+ Without a PRD path, it does not submit another task. Closing the browser does not
79
+ stop the work.
80
+
81
+ With the default configuration, **ready** means the configured checks, reviewer
82
+ and acceptance gate passed. Inspect status for skipped-gate warnings, review the
83
+ PR and merge when you choose. Missing access, evidence or exhausted limits produce
84
+ an inspectable stop instead.
85
+
86
+ ### Bring a written brief
87
+
88
+ ```sh
89
+ gallivant new add-csv-export
90
+ # Edit docs/prds/add-csv-export.md: outcome, scope, acceptance criteria and checks.
91
+ gallivant ready docs/prds/add-csv-export.md --check
92
+ gallivant ready docs/prds/add-csv-export.md
93
+ gallivant start docs/prds/add-csv-export.md
94
+ ```
95
+
96
+ You do not have to write a PRD yourself. Both entry points use a validated brief
97
+ and the same review loop. [Writing briefs](docs/prd.md) · [Task commands](docs/tasks.md).
98
+
99
+ ## While it works
100
+
101
+ | What you need | Action |
102
+ | --- | --- |
103
+ | Follow runs | `gallivant start` or `gallivant status` |
104
+ | Correct the agent | **Send message** on its dashboard page; context and existing work are preserved |
105
+ | Inspect a stop | `gallivant why <handle>` |
106
+ | Continue after fixing a blocker | `gallivant resume <handle>` or **Resume agent** |
107
+ | Refresh review and CI | **Recheck PR**; this does not resume a failed agent |
108
+ | Keep the dashboard without opening a browser | `gallivant start --no-open` |
109
+ | Run only the daemon | `gallivant start --no-server` |
110
+ | Stop monitoring and the standalone dashboard | `gallivant down`; existing agent processes continue |
111
+
112
+ If services fail to start after a task is accepted, retry `gallivant start`
113
+ without the PRD path. Do not submit the same task again.
114
+
115
+ Temporary connection failures have bounded same-session recovery. For DNS errors,
116
+ use `gallivant doctor --network https://api.anthropic.com` with your provider's
117
+ actual HTTPS origin. [Recovery and troubleshooting](docs/network-recovery.md).
118
+
119
+ ## More than one task
120
+
121
+ ```sh
122
+ gallivant chain launch docs/prds/foundation.md docs/prds/integration.md docs/prds/launch.md
123
+ ```
124
+
125
+ The next milestone starts only after its predecessor is merged into the planned
126
+ base. You can plan longer work while retaining the merge decision.
127
+ [Chaining tasks](docs/chains.md).
128
+
129
+ ## Harness support
130
+
131
+ | Harness (`harness` key) | Runs on | Prepare requests | Implementation status |
132
+ | --- | --- | --- | --- |
133
+ | Claude Code (`claude`) | Your host | Yes | Recommended; live usage evidence |
134
+ | Codex CLI (`codex`) | Your host | Yes, 0.160.0+ | Recommended; live usage evidence |
135
+ | Gemini CLI (`gemini`) | Your host | Written PRDs only | Adapter implemented; unattended end-to-end qualification incomplete |
136
+ | OpenCode (`opencode`) | Your host | Written PRDs only | Adapter implemented; unattended end-to-end qualification incomplete |
137
+ | Goose (`goose`) | Your host | Written PRDs only | Adapter implemented; unattended end-to-end qualification incomplete |
138
+ | OpenAI Agents API (`openai-agents`) | OpenAI-hosted sandbox | Yes, text-only | Hosted adapter implemented; eligible API account, explicit model/environment and live qualification required |
139
+ | Codex Cloud (`codex-cloud`) | Codex Cloud | No | New dispatch disabled until the selected environment's repository binding can be verified |
140
+
141
+ Local Codex, Codex Cloud and the Agents API are distinct integrations. Local
142
+ Codex and Claude work independently of the Cloud dispatch restriction.
143
+ `openai-agents` supports remote progress, continuation, cancellation and artifact
144
+ retrieval; the coordinator verifies returned changes and publishes the PR.
145
+ Implemented transport support is not a claim that every account has access or
146
+ that the full live lifecycle has passed qualification.
147
+
148
+ For local harnesses, provider and model selection belongs to that harness's own
149
+ configuration. Gallivant has no general per-task local model router and does not
150
+ turn a provider API key into a configured harness automatically. Hosted Agents
151
+ requires an explicit authorized model; there is no automatic model fallback.
152
+ [Hosted setup](docs/install.md#hosted-agents-api-instead-of-a-local-cli) ·
153
+ [Detailed capabilities](docs/config.md#execution-providers) ·
154
+ [Recorded qualification](https://github.com/uchibeke/gallivant/blob/main/docs/audit/harness-live-validation.md).
155
+
156
+ ## Feature map
157
+
158
+ | Capability | What you can do | Guide |
159
+ | --- | --- | --- |
160
+ | Task intake | Prepare a brief from a request, answer clarification questions, inspect revisions and authorize the ready task | [Tasks](docs/tasks.md) |
161
+ | Written briefs and context | Define acceptance criteria, verification commands and carried source files | [PRDs](docs/prd.md) |
162
+ | Review loop | Watch CI and trusted feedback, continue corrections, recover bounded connection failures and inspect stops | [Commands](docs/commands.md), [recovery](docs/network-recovery.md) |
163
+ | Run controls | Message, resume, recheck or cancel from the CLI/dashboard; inspect saved progress and logs | [Dashboard](docs/app.md) |
164
+ | Sequential plans | Queue dependent briefs with a merge gate between milestones | [Chains](docs/chains.md) |
165
+ | Completion checks | Evaluate acceptance evidence with APort or the explicit local evaluator; choose review handoff or watching for merge | [Guardrails](docs/guardrails.md), [milestones](docs/tasks.md#choose-the-delivery-milestone) |
166
+ | Notifications | Configure transition notifications through ntfy | [Configuration](docs/config.md) |
167
+ | Embedding and integrations | Use versioned task-delivery operations, Node coordination, MCP and plugin packaging; deployment is separate | [Task delivery](docs/task-delivery.md) |
168
+ | Review learning | Collect historical feedback and inspect candidates; rule activation remains unqualified | [Learning](docs/learning.md) |
169
+
170
+ The [command index](docs/commands.md#command-index) covers every top-level CLI
171
+ command and points to the task and learning subcommands. Run `gallivant --help`
172
+ for the installed version's flags.
173
+
174
+ ## What to expect
175
+
176
+ - **Your machine coordinates the work.** Keep it awake, online and running the
177
+ daemon, including when execution is hosted. Gallivant is not a managed service.
178
+ - **Your accounts pay for inference.** Subscriptions and API credits differ.
179
+ There is no automatic provider fallback. Review [limits](docs/config.md) before
180
+ unattended work; the default review allowance is 30 rounds.
181
+ - **Your permissions apply.** Scope GitHub access to the required repositories.
182
+ Harness permissions, OS sandboxing and optional APort checks are different
183
+ controls. [Security boundaries](docs/guardrails.md).
184
+ - **Ready does not mean merged.** Natural-language tasks default to stopping at a
185
+ qualified review handoff. Choose `integrated` to keep watching for your merge.
186
+ Written-PRD runs retain their monitoring behavior. No mode authorizes automatic
187
+ merge, release or deployment. [Delivery milestones](docs/tasks.md#choose-the-delivery-milestone).
188
+ - **Learning is experimental.** Review feedback can be collected, but production
189
+ activation of learned rules is not qualified. [Learning](docs/learning.md).
190
+
191
+ ## Documentation
192
+
193
+ [Getting started](docs/install.md) · [Agent setup](docs/agent-setup.md) ·
194
+ [Commands](docs/commands.md) · [Configuration](docs/config.md) ·
195
+ [Dashboard](docs/app.md) · [All guides](docs/README.md)
196
+
197
+ Embedding the same workflow in another application? See
198
+ [task delivery](docs/task-delivery.md). Installing this CLI does not deploy a
199
+ hosted service or publish a chat plugin.
200
+
201
+ [Contributing](CONTRIBUTING.md) · [Security reports](SECURITY.md) ·
202
+ [Releasing](docs/releasing.md) · [Apache-2.0 license](LICENSE)
package/SECURITY.md ADDED
@@ -0,0 +1,19 @@
1
+ # Security
2
+
3
+ Report suspected vulnerabilities through
4
+ [GitHub private vulnerability reporting](https://github.com/uchibeke/gallivant/security/advisories/new).
5
+ If private reporting is unavailable, open an issue requesting a private contact
6
+ channel without disclosing the vulnerability. Do not include credentials,
7
+ exploit payloads or private run logs in a public issue.
8
+
9
+ Include the version/commit, affected command, platform, reproduction and expected
10
+ permission boundary. Remove tokens and personal data. Fixes target the current
11
+ release; there is no separate long-term support branch yet.
12
+
13
+ Read [the guardrails](docs/guardrails.md) before unattended operation. Local
14
+ dashboard access is trusted operator access. Local implementation workers receive
15
+ the configured GitHub credential; scope it to the repositories and operations
16
+ they need. Automatic approval is not equivalent to an operating-system sandbox.
17
+ The [OpenAI Agents API adapter](docs/openai-agents.md) keeps service credentials
18
+ on the coordinator and publishes returned artifacts through that coordinator.
19
+ Its hosted execution controls differ from local harness hooks and sandboxes.