@attalabs/vinaya 0.34.0 → 0.35.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 +104 -201
- package/README.md +1 -1
- package/aeg-root/roles/planner/reference.md +1 -1
- package/dist/checks/bin/check-body-bare-digits.js +5 -2
- package/dist/checks/bin/check-branch-topology.js +13 -0
- package/dist/checks/bin/check-brief-shape.js +5 -2
- package/dist/checks/bin/check-changeset-coverage.js +38 -5
- package/dist/checks/bin/check-closes-n.js +13 -0
- package/dist/checks/bin/check-coherence.js +16 -2
- package/dist/checks/bin/check-dead-branch-push.js +2 -0
- package/dist/checks/bin/check-dispatch-readiness.js +16 -2
- package/dist/checks/bin/check-doc-coverage-push.js +38 -5
- package/dist/checks/bin/check-doc-coverage.js +38 -5
- package/dist/checks/bin/check-doctrine-no-procedures.js +5 -2
- package/dist/checks/bin/check-doctrine-portability.js +38 -5
- package/dist/checks/bin/check-evidence-fresh.js +38 -5
- package/dist/checks/bin/check-exec-bits.js +38 -5
- package/dist/checks/bin/check-first-push-dispatch.js +16 -2
- package/dist/checks/bin/check-issue-assignment.js +13 -0
- package/dist/checks/bin/check-issue-milestone-attach.js +2 -0
- package/dist/checks/bin/check-issue-objectives-numbering.js +5 -2
- package/dist/checks/bin/check-issue-parts-coverage.js +2 -0
- package/dist/checks/bin/check-issue-surface-globs.js +16 -2
- package/dist/checks/bin/check-issue-title-grammar.js +2 -0
- package/dist/checks/bin/check-issue-tranche-label.js +2 -0
- package/dist/checks/bin/check-main-branch-refusal.js +2 -0
- package/dist/checks/bin/check-no-disk-state.js +2 -0
- package/dist/checks/bin/check-pr-premise-reassert.js +5 -2
- package/dist/checks/bin/check-pr-report-density.js +2 -0
- package/dist/checks/bin/check-principal-test-plan-wait.js +2 -0
- package/dist/checks/bin/check-quoted-command.js +38 -5
- package/dist/checks/bin/check-reader-resolvable-prose.js +38 -5
- package/dist/checks/bin/check-registry-gates.js +2 -0
- package/dist/checks/bin/check-retired-vocabulary.js +38 -5
- package/dist/checks/bin/check-review-gate.js +5 -2
- package/dist/checks/bin/check-single-plan-pr.js +2 -0
- package/dist/checks/bin/check-surface-scope.js +13 -0
- package/dist/checks/bin/check-test-plan.js +2 -0
- package/dist/checks/bin/check-token-collection-wired.js +2 -0
- package/dist/checks/bin/check-token-report.js +2 -0
- package/dist/checks/bin/check-workspace-escape.js +38 -5
- package/dist/index.js +308 -113
- package/dist/lib/pre-push-cache-test-run.js +36 -5
- package/dist/lib/pre-push-select-tests.js +3 -2
- package/package.json +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/brief-render.ts +153 -37
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/brief-validation.ts +87 -24
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/coherence-checks.ts +9 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/assess-round.ts +7 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/render-summary.ts +28 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/gate-cutovers.ts +49 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/index.ts +12 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/issue-validation.ts +138 -54
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/envelope.ts +26 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/objectives-cutover-config.ts +31 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/objectives.ts +15 -6
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/reader-resolvable-prose.ts +122 -23
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/task-tools.ts +38 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/BUILD_ID +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/build-manifest.json +3 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/prerender-manifest.json +3 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.html +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/api/coherence/route.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page/server-reference-manifest.json +3 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page/server-reference-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page.js.nft.json +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page_client-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/[root-of-the-server]__02a-3g8._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/1q96_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-creator-reader_0lom2js.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__074w9nf._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__0ls23oh._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{[root-of-the-server]__07uhu5z._.js → [root-of-the-server]__0zc_0gx._.js} +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1gjqmhq._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1wc4-ip._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_08onyya._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_096f46i._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0af2one._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0e5tkdd._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0kf2g72._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0zf4d27._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_1-wo68i._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_15gdg48._.js +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_1achbh9._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_server-actions_1x7vfhn.js +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/middleware-build-manifest.js +3 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/server/pages/500.html +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/server-reference-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/server-reference-manifest.json +4 -4
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{2174nz5he_oc4.js → 3goaig_rysc6p.js} +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0q9p7c6vn-x2w.js → 3ip5z3cf43bgo.js} +4 -4
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{3xnma0-359j17.js → 3u9emqjwpd0t9.js} +1 -1
- package/studio-standalone/apps/vinaya-studio/web/package.json +2 -2
- /package/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/{aeg-core → vinaya/studio-standalone/_node_modules/@attalabs/aeg-core}/bin/verify-coherence.ts +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{HmoeqXdX1E4drt7GReFOO → ca66rAHI_w9D7S7ceXDvR}/_buildManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{HmoeqXdX1E4drt7GReFOO → ca66rAHI_w9D7S7ceXDvR}/_clientMiddlewareManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{HmoeqXdX1E4drt7GReFOO → ca66rAHI_w9D7S7ceXDvR}/_ssgManifest.js +0 -0
package/LICENSE
CHANGED
|
@@ -1,202 +1,105 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, ALv2 Future License
|
|
1
2
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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.
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-ALv2
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 Daniel Estevez
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
91
|
+
the date we make the Software available. On or after that date, you may use the
|
|
92
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
93
|
+
will apply:
|
|
94
|
+
|
|
95
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
96
|
+
this file except in compliance with the License.
|
|
97
|
+
|
|
98
|
+
You may obtain a copy of the License at
|
|
99
|
+
|
|
100
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
|
|
102
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
103
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
|
+
specific language governing permissions and limitations under the License.
|
package/README.md
CHANGED
|
@@ -347,4 +347,4 @@ Full documentation at [vinaya.attalabs.dev](https://vinaya.attalabs.dev) — the
|
|
|
347
347
|
|
|
348
348
|
Copyright (C) 2026 Daniel Estevez.
|
|
349
349
|
|
|
350
|
-
Apache-2.0 — see [LICENSE](./LICENSE).
|
|
350
|
+
Licensed under the [Functional Source License, Version 1.1, with an Apache-2.0 future license](https://fsl.software) (`FSL-1.1-ALv2`) from version `0.35.0` — see [LICENSE](./LICENSE). Versions `0.34.0` and earlier were released under Apache-2.0 and stay Apache-2.0.
|
|
@@ -149,7 +149,7 @@ R1 checks **presence/structure only**; whether the content is correct (sizing ac
|
|
|
149
149
|
<!-- AEG:CLAIM: packages/aeg-core/src/brief-render.ts contains:export function renderBrief(facts: BriefFacts, template: string): RenderResult { -->
|
|
150
150
|
**Four more sections, below the eight fields, since `BRIEF_SECTIONS_SINCE_ISSUE`** — judgment sections as data, so `vinaya brief render` can fill §4/§6/§9/§10 mechanically instead of a hand-authored placeholder. Each is parsed by its own function in `@attalabs/aeg-core`, and a well-formed one is directory-level/outcome-level only — never a file path:
|
|
151
151
|
|
|
152
|
-
- **`## Surface`** — a directory-level `in:`/`out:` glob list, comma-separated on each of its own line, naming what this task's surface touches and explicitly does not.
|
|
152
|
+
- **`## Surface`** — a directory-level `in:`/`out:` glob list, comma-separated on each of its own line, naming what this task's surface touches and explicitly does not. The repository-root files (`README.md`, `LICENSE`, and any other tracked path with no `/`) are named by the **root glob `*`**: a bare `*` in `in:` admits every root-level file and only those — it never reaches a nested path, so the common `in: *, out: apps` shape still excludes `apps/…` — and a `*` in `out:` excludes only root-level files.
|
|
153
153
|
- **`## Parts`** — numbered `Part <k> (O<n>[, O<m>]) — <outcome>` lines, one per Part, naming outcomes and symbols only, never a path.
|
|
154
154
|
- **`## Test plan`** — either the `Test plan: unit-tests-only` sentinel, or a fenced command list (one command per line, each with `→ <expected observable>`) plus any `**[principal]**` items.
|
|
155
155
|
- **`## Stop conditions`** — a bullet list of the conditions under which the executing agent must stop and escalate.
|
|
@@ -3507,6 +3507,8 @@ function parseIssueSurface(body) {
|
|
|
3507
3507
|
function globCoversPath(glob, path) {
|
|
3508
3508
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3509
3509
|
const p = path.replace(/\/+$/, "");
|
|
3510
|
+
if (g === "*")
|
|
3511
|
+
return !p.includes("/");
|
|
3510
3512
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3511
3513
|
}
|
|
3512
3514
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -6755,7 +6757,8 @@ async function trustAnchorRepoAsync() {
|
|
|
6755
6757
|
try {
|
|
6756
6758
|
const { stdout } = await execFileAsync4("git", ["remote", "get-url", "origin"], {
|
|
6757
6759
|
encoding: "utf-8",
|
|
6758
|
-
timeout: 1e4
|
|
6760
|
+
timeout: 1e4,
|
|
6761
|
+
killSignal: "SIGKILL"
|
|
6759
6762
|
});
|
|
6760
6763
|
return trustAnchorRepoFromRemoteUrl(stdout);
|
|
6761
6764
|
} catch {
|
|
@@ -6816,7 +6819,7 @@ async function ghFetchTrustAnchorConfigAsync() {
|
|
|
6816
6819
|
const repo = await trustAnchorRepoAsync();
|
|
6817
6820
|
if (!repo)
|
|
6818
6821
|
throw new Error("could not resolve repo identity for the trust-anchor read");
|
|
6819
|
-
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4 });
|
|
6822
|
+
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4, killSignal: "SIGKILL" });
|
|
6820
6823
|
return stdout;
|
|
6821
6824
|
}
|
|
6822
6825
|
function firstLine(err) {
|
|
@@ -3507,6 +3507,8 @@ function parseIssueSurface(body) {
|
|
|
3507
3507
|
function globCoversPath(glob, path) {
|
|
3508
3508
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3509
3509
|
const p = path.replace(/\/+$/, "");
|
|
3510
|
+
if (g === "*")
|
|
3511
|
+
return !p.includes("/");
|
|
3510
3512
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3511
3513
|
}
|
|
3512
3514
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -7057,6 +7059,17 @@ var COMMANDS = [
|
|
|
7057
7059
|
"issue-711 O4: this command — `--task <n>`, `--resume <pr>`, `--cancel <pr>` alike — stays `task run`'s own one-shot debug/direct entry; the watching driver that survives a pause and continues on its own is `task run`'s (see that command's own entry)."
|
|
7058
7060
|
],
|
|
7059
7061
|
status: "shipped"
|
|
7062
|
+
},
|
|
7063
|
+
{
|
|
7064
|
+
name: "log send",
|
|
7065
|
+
description: "Deliver this repository's locally-held log events to the configured `logs.url` server, once",
|
|
7066
|
+
flags: [{ flag: "--json", description: "Enveloped JSON output (schema: 1)" }],
|
|
7067
|
+
details: [
|
|
7068
|
+
"For a run whose events ended up on local disk instead of the configured server — an unattended run that fell back to the local folder because the trust-anchor read could not confirm its `logs.url` (a developer machine slower than the read deadline, or genuinely offline), or a retry queue holding a backlog or a `.draining.ndjson` a dead drain left behind. It moves the local folder's events into the retry queue and drains every queue for this repository through the SAME webhook delivery a live event uses.",
|
|
7069
|
+
"It resolves the destination exactly the way a normal event does — the sink's own decision over `vinaya.config.json`'s `logs` setting, trust-anchor-gated for an unattended caller — never a URL passed on the command line. A repository whose destination is a folder (or none) has nothing to send to a server and the command says so.",
|
|
7070
|
+
"Safe to run more than once: the server stores events by `event_id` and ignores one it already holds, so a re-sent chunk creates no duplicate, and a second run finds the folder emptied and the queue drained."
|
|
7071
|
+
],
|
|
7072
|
+
status: "shipped"
|
|
7060
7073
|
}
|
|
7061
7074
|
];
|
|
7062
7075
|
// ../../packages/sources/src/forge-adapter.ts
|
|
@@ -3508,6 +3508,8 @@ function parseIssueSurface(body) {
|
|
|
3508
3508
|
function globCoversPath(glob, path) {
|
|
3509
3509
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3510
3510
|
const p = path.replace(/\/+$/, "");
|
|
3511
|
+
if (g === "*")
|
|
3512
|
+
return !p.includes("/");
|
|
3511
3513
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3512
3514
|
}
|
|
3513
3515
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -6763,7 +6765,8 @@ async function trustAnchorRepoAsync() {
|
|
|
6763
6765
|
try {
|
|
6764
6766
|
const { stdout } = await execFileAsync4("git", ["remote", "get-url", "origin"], {
|
|
6765
6767
|
encoding: "utf-8",
|
|
6766
|
-
timeout: 1e4
|
|
6768
|
+
timeout: 1e4,
|
|
6769
|
+
killSignal: "SIGKILL"
|
|
6767
6770
|
});
|
|
6768
6771
|
return trustAnchorRepoFromRemoteUrl(stdout);
|
|
6769
6772
|
} catch {
|
|
@@ -6824,7 +6827,7 @@ async function ghFetchTrustAnchorConfigAsync() {
|
|
|
6824
6827
|
const repo = await trustAnchorRepoAsync();
|
|
6825
6828
|
if (!repo)
|
|
6826
6829
|
throw new Error("could not resolve repo identity for the trust-anchor read");
|
|
6827
|
-
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4 });
|
|
6830
|
+
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4, killSignal: "SIGKILL" });
|
|
6828
6831
|
return stdout;
|
|
6829
6832
|
}
|
|
6830
6833
|
function firstLine(err) {
|
|
@@ -3509,6 +3509,8 @@ function parseIssueSurface(body) {
|
|
|
3509
3509
|
function globCoversPath(glob, path) {
|
|
3510
3510
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3511
3511
|
const p = path.replace(/\/+$/, "");
|
|
3512
|
+
if (g === "*")
|
|
3513
|
+
return !p.includes("/");
|
|
3512
3514
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3513
3515
|
}
|
|
3514
3516
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -6761,7 +6763,8 @@ async function trustAnchorRepoAsync() {
|
|
|
6761
6763
|
try {
|
|
6762
6764
|
const { stdout } = await execFileAsync4("git", ["remote", "get-url", "origin"], {
|
|
6763
6765
|
encoding: "utf-8",
|
|
6764
|
-
timeout: 1e4
|
|
6766
|
+
timeout: 1e4,
|
|
6767
|
+
killSignal: "SIGKILL"
|
|
6765
6768
|
});
|
|
6766
6769
|
return trustAnchorRepoFromRemoteUrl(stdout);
|
|
6767
6770
|
} catch {
|
|
@@ -6822,7 +6825,7 @@ async function ghFetchTrustAnchorConfigAsync() {
|
|
|
6822
6825
|
const repo = await trustAnchorRepoAsync();
|
|
6823
6826
|
if (!repo)
|
|
6824
6827
|
throw new Error("could not resolve repo identity for the trust-anchor read");
|
|
6825
|
-
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4 });
|
|
6828
|
+
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4, killSignal: "SIGKILL" });
|
|
6826
6829
|
return stdout;
|
|
6827
6830
|
}
|
|
6828
6831
|
function firstLine(err) {
|
|
@@ -7592,6 +7595,17 @@ var COMMANDS = [
|
|
|
7592
7595
|
"issue-711 O4: this command — `--task <n>`, `--resume <pr>`, `--cancel <pr>` alike — stays `task run`'s own one-shot debug/direct entry; the watching driver that survives a pause and continues on its own is `task run`'s (see that command's own entry)."
|
|
7593
7596
|
],
|
|
7594
7597
|
status: "shipped"
|
|
7598
|
+
},
|
|
7599
|
+
{
|
|
7600
|
+
name: "log send",
|
|
7601
|
+
description: "Deliver this repository's locally-held log events to the configured `logs.url` server, once",
|
|
7602
|
+
flags: [{ flag: "--json", description: "Enveloped JSON output (schema: 1)" }],
|
|
7603
|
+
details: [
|
|
7604
|
+
"For a run whose events ended up on local disk instead of the configured server — an unattended run that fell back to the local folder because the trust-anchor read could not confirm its `logs.url` (a developer machine slower than the read deadline, or genuinely offline), or a retry queue holding a backlog or a `.draining.ndjson` a dead drain left behind. It moves the local folder's events into the retry queue and drains every queue for this repository through the SAME webhook delivery a live event uses.",
|
|
7605
|
+
"It resolves the destination exactly the way a normal event does — the sink's own decision over `vinaya.config.json`'s `logs` setting, trust-anchor-gated for an unattended caller — never a URL passed on the command line. A repository whose destination is a folder (or none) has nothing to send to a server and the command says so.",
|
|
7606
|
+
"Safe to run more than once: the server stores events by `event_id` and ignores one it already holds, so a re-sent chunk creates no duplicate, and a second run finds the folder emptied and the queue drained."
|
|
7607
|
+
],
|
|
7608
|
+
status: "shipped"
|
|
7595
7609
|
}
|
|
7596
7610
|
];
|
|
7597
7611
|
// ../../packages/sources/src/forge-adapter.ts
|
|
@@ -8803,7 +8817,14 @@ async function drainOutboxToWebhook(outboxTask, webhookUrl, headers, fetchTimeou
|
|
|
8803
8817
|
|
|
8804
8818
|
// src/lib/log-sink.ts
|
|
8805
8819
|
var OUTBOX_MAX_BYTES = 8 * 1024 * 1024;
|
|
8820
|
+
function describeFolderFallback(reason) {
|
|
8821
|
+
if (reason.kind === "anchor-unreadable") {
|
|
8822
|
+
return `not delivering to the configured log server ${reason.intendedUrl} — the default branch's ` + "vinaya.config.json could not be read to confirm it (the trust-anchor read via `gh` was offline, " + "unauthenticated, or slower than its deadline); events are written to the local folder and can be " + "delivered later with `vinaya log send`";
|
|
8823
|
+
}
|
|
8824
|
+
return `not delivering to the working-tree log server ${reason.intendedUrl} — the default branch's ` + "vinaya.config.json does not declare it, so an unattended run does not honour it (a pull request cannot " + "redirect telemetry); events are written to the local folder";
|
|
8825
|
+
}
|
|
8806
8826
|
var LOG_CONTEXT_LOOKUP_DEADLINE_MS = 3000;
|
|
8827
|
+
var LOG_DESTINATION_ANCHOR_DEADLINE_MS = 8000;
|
|
8807
8828
|
function withDeadline(work, ms, fallback) {
|
|
8808
8829
|
return new Promise((resolve) => {
|
|
8809
8830
|
const timer = setTimeout(() => resolve(fallback), ms);
|
|
@@ -8818,7 +8839,7 @@ function withDeadline(work, ms, fallback) {
|
|
|
8818
8839
|
});
|
|
8819
8840
|
}
|
|
8820
8841
|
async function safeLoadTrustAnchorConfig() {
|
|
8821
|
-
return withDeadline(loadTrustAnchorConfigAsync(undefined, { quiet: true }),
|
|
8842
|
+
return withDeadline(loadTrustAnchorConfigAsync(undefined, { quiet: true }), LOG_DESTINATION_ANCHOR_DEADLINE_MS, null);
|
|
8822
8843
|
}
|
|
8823
8844
|
function logsCredentialMissing(headers, env) {
|
|
8824
8845
|
if (!headers)
|
|
@@ -8835,8 +8856,16 @@ function logsCredentialMissing(headers, env) {
|
|
|
8835
8856
|
function resolveLogDestinationFrom(input) {
|
|
8836
8857
|
const local = resolveLogsSetting(input.localConfig);
|
|
8837
8858
|
let effective = null;
|
|
8859
|
+
let fallbackReason;
|
|
8838
8860
|
if (input.unattended) {
|
|
8839
|
-
|
|
8861
|
+
if (local) {
|
|
8862
|
+
effective = resolveTrustAnchorLogsDestination(local, input.trustAnchorConfig);
|
|
8863
|
+
if (effective === null && "url" in local) {
|
|
8864
|
+
fallbackReason = input.trustAnchorConfig === null ? { kind: "anchor-unreadable", intendedUrl: local.url } : { kind: "anchor-mismatch", intendedUrl: local.url };
|
|
8865
|
+
}
|
|
8866
|
+
} else {
|
|
8867
|
+
effective = resolveLogsSetting(input.trustAnchorConfig);
|
|
8868
|
+
}
|
|
8840
8869
|
} else {
|
|
8841
8870
|
effective = local;
|
|
8842
8871
|
}
|
|
@@ -8862,7 +8891,7 @@ function resolveLogDestinationFrom(input) {
|
|
|
8862
8891
|
effective = null;
|
|
8863
8892
|
}
|
|
8864
8893
|
const folder = effective && "folder" in effective ? effective.folder : input.defaultFolder;
|
|
8865
|
-
return { kind: "folder", folder };
|
|
8894
|
+
return fallbackReason ? { kind: "folder", folder, fallbackReason } : { kind: "folder", folder };
|
|
8866
8895
|
}
|
|
8867
8896
|
var processTrustAnchorOnce;
|
|
8868
8897
|
function processTrustAnchor() {
|
|
@@ -9241,6 +9270,10 @@ function createLogSink(overrides = {}) {
|
|
|
9241
9270
|
`);
|
|
9242
9271
|
return;
|
|
9243
9272
|
}
|
|
9273
|
+
if (resolvedDestination.kind === "folder" && resolvedDestination.fallbackReason) {
|
|
9274
|
+
warnOnce(`vinaya: ${describeFolderFallback(resolvedDestination.fallbackReason)}
|
|
9275
|
+
`);
|
|
9276
|
+
}
|
|
9244
9277
|
const branchIssue = envFields.task ? null : await branchIssueOnce(repo);
|
|
9245
9278
|
const header = buildHeader({
|
|
9246
9279
|
now,
|
|
@@ -3507,6 +3507,8 @@ function parseIssueSurface(body) {
|
|
|
3507
3507
|
function globCoversPath(glob, path) {
|
|
3508
3508
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3509
3509
|
const p = path.replace(/\/+$/, "");
|
|
3510
|
+
if (g === "*")
|
|
3511
|
+
return !p.includes("/");
|
|
3510
3512
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3511
3513
|
}
|
|
3512
3514
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -7057,6 +7059,17 @@ var COMMANDS = [
|
|
|
7057
7059
|
"issue-711 O4: this command — `--task <n>`, `--resume <pr>`, `--cancel <pr>` alike — stays `task run`'s own one-shot debug/direct entry; the watching driver that survives a pause and continues on its own is `task run`'s (see that command's own entry)."
|
|
7058
7060
|
],
|
|
7059
7061
|
status: "shipped"
|
|
7062
|
+
},
|
|
7063
|
+
{
|
|
7064
|
+
name: "log send",
|
|
7065
|
+
description: "Deliver this repository's locally-held log events to the configured `logs.url` server, once",
|
|
7066
|
+
flags: [{ flag: "--json", description: "Enveloped JSON output (schema: 1)" }],
|
|
7067
|
+
details: [
|
|
7068
|
+
"For a run whose events ended up on local disk instead of the configured server — an unattended run that fell back to the local folder because the trust-anchor read could not confirm its `logs.url` (a developer machine slower than the read deadline, or genuinely offline), or a retry queue holding a backlog or a `.draining.ndjson` a dead drain left behind. It moves the local folder's events into the retry queue and drains every queue for this repository through the SAME webhook delivery a live event uses.",
|
|
7069
|
+
"It resolves the destination exactly the way a normal event does — the sink's own decision over `vinaya.config.json`'s `logs` setting, trust-anchor-gated for an unattended caller — never a URL passed on the command line. A repository whose destination is a folder (or none) has nothing to send to a server and the command says so.",
|
|
7070
|
+
"Safe to run more than once: the server stores events by `event_id` and ignores one it already holds, so a re-sent chunk creates no duplicate, and a second run finds the folder emptied and the queue drained."
|
|
7071
|
+
],
|
|
7072
|
+
status: "shipped"
|
|
7060
7073
|
}
|
|
7061
7074
|
];
|
|
7062
7075
|
// ../../packages/sources/src/forge-adapter.ts
|
|
@@ -3512,6 +3512,8 @@ function parseIssueSurface(body) {
|
|
|
3512
3512
|
function globCoversPath(glob, path) {
|
|
3513
3513
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3514
3514
|
const p = path.replace(/\/+$/, "");
|
|
3515
|
+
if (g === "*")
|
|
3516
|
+
return !p.includes("/");
|
|
3515
3517
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3516
3518
|
}
|
|
3517
3519
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|
|
@@ -7062,6 +7064,17 @@ var COMMANDS = [
|
|
|
7062
7064
|
"issue-711 O4: this command — `--task <n>`, `--resume <pr>`, `--cancel <pr>` alike — stays `task run`'s own one-shot debug/direct entry; the watching driver that survives a pause and continues on its own is `task run`'s (see that command's own entry)."
|
|
7063
7065
|
],
|
|
7064
7066
|
status: "shipped"
|
|
7067
|
+
},
|
|
7068
|
+
{
|
|
7069
|
+
name: "log send",
|
|
7070
|
+
description: "Deliver this repository's locally-held log events to the configured `logs.url` server, once",
|
|
7071
|
+
flags: [{ flag: "--json", description: "Enveloped JSON output (schema: 1)" }],
|
|
7072
|
+
details: [
|
|
7073
|
+
"For a run whose events ended up on local disk instead of the configured server — an unattended run that fell back to the local folder because the trust-anchor read could not confirm its `logs.url` (a developer machine slower than the read deadline, or genuinely offline), or a retry queue holding a backlog or a `.draining.ndjson` a dead drain left behind. It moves the local folder's events into the retry queue and drains every queue for this repository through the SAME webhook delivery a live event uses.",
|
|
7074
|
+
"It resolves the destination exactly the way a normal event does — the sink's own decision over `vinaya.config.json`'s `logs` setting, trust-anchor-gated for an unattended caller — never a URL passed on the command line. A repository whose destination is a folder (or none) has nothing to send to a server and the command says so.",
|
|
7075
|
+
"Safe to run more than once: the server stores events by `event_id` and ignores one it already holds, so a re-sent chunk creates no duplicate, and a second run finds the folder emptied and the queue drained."
|
|
7076
|
+
],
|
|
7077
|
+
status: "shipped"
|
|
7065
7078
|
}
|
|
7066
7079
|
];
|
|
7067
7080
|
// ../../packages/sources/src/forge-adapter.ts
|
|
@@ -7475,7 +7488,8 @@ async function trustAnchorRepoAsync() {
|
|
|
7475
7488
|
try {
|
|
7476
7489
|
const { stdout } = await execFileAsync4("git", ["remote", "get-url", "origin"], {
|
|
7477
7490
|
encoding: "utf-8",
|
|
7478
|
-
timeout: 1e4
|
|
7491
|
+
timeout: 1e4,
|
|
7492
|
+
killSignal: "SIGKILL"
|
|
7479
7493
|
});
|
|
7480
7494
|
return trustAnchorRepoFromRemoteUrl(stdout);
|
|
7481
7495
|
} catch {
|
|
@@ -7536,7 +7550,7 @@ async function ghFetchTrustAnchorConfigAsync() {
|
|
|
7536
7550
|
const repo = await trustAnchorRepoAsync();
|
|
7537
7551
|
if (!repo)
|
|
7538
7552
|
throw new Error("could not resolve repo identity for the trust-anchor read");
|
|
7539
|
-
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4 });
|
|
7553
|
+
const { stdout } = await execFileAsync4("gh", ["api", `repos/${repo}/contents/${LOCAL_CONFIG_FILENAME}`, "--jq", ".content"], { encoding: "utf-8", timeout: 1e4, killSignal: "SIGKILL" });
|
|
7540
7554
|
return stdout;
|
|
7541
7555
|
}
|
|
7542
7556
|
function firstLine(err) {
|
|
@@ -3507,6 +3507,8 @@ function parseIssueSurface(body) {
|
|
|
3507
3507
|
function globCoversPath(glob, path) {
|
|
3508
3508
|
const g = glob.replace(/\/\*\*?$/, "").replace(/\/+$/, "");
|
|
3509
3509
|
const p = path.replace(/\/+$/, "");
|
|
3510
|
+
if (g === "*")
|
|
3511
|
+
return !p.includes("/");
|
|
3510
3512
|
return g === p || g.startsWith(`${p}/`) || p.startsWith(`${g}/`);
|
|
3511
3513
|
}
|
|
3512
3514
|
function checkSurfaceGlobsResolve(body, resolvesToFile) {
|