@attalabs/vinaya 0.32.0 → 0.34.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/README.md +1 -1
- package/aeg-root/contracts/principal-operator.md +18 -5
- package/aeg-root/enforcement.md +1 -1
- package/aeg-root/glossary.md +4 -0
- package/aeg-root/roles/developer.md +3 -0
- package/aeg-root/roles/operator.md +89 -16
- package/aeg-root/roles/planner/reference.md +3 -2
- package/aeg-root/roles/planner.md +3 -1
- package/aeg-root/roles/tranche-archivist.md +1 -0
- package/aeg-root/skills/aeg-context-packets/SKILL.md +1 -1
- package/aeg-root/skills/aeg-context-packets/examples/operator-start.md +1 -1
- package/aeg-root/templates/brief-template.md +9 -7
- package/aeg-root/templates/pr-report-template.md +3 -1
- package/dist/checks/bin/check-body-bare-digits.js +213 -41
- package/dist/checks/bin/check-branch-topology.js +164 -41
- package/dist/checks/bin/check-brief-shape.js +219 -46
- package/dist/checks/bin/check-changeset-coverage.js +669 -152
- package/dist/checks/bin/check-closes-n.js +164 -41
- package/dist/checks/bin/check-coherence.js +220 -43
- package/dist/checks/bin/check-dead-branch-push.js +159 -40
- package/dist/checks/bin/check-dispatch-readiness.js +218 -42
- package/dist/checks/bin/check-doc-coverage-push.js +665 -148
- package/dist/checks/bin/check-doc-coverage.js +667 -150
- package/dist/checks/bin/check-doctrine-no-procedures.js +213 -41
- package/dist/checks/bin/check-doctrine-portability.js +666 -149
- package/dist/checks/bin/check-evidence-fresh.js +643 -125
- package/dist/checks/bin/check-exec-bits.js +663 -146
- package/dist/checks/bin/check-first-push-dispatch.js +218 -42
- package/dist/checks/bin/check-issue-assignment.js +164 -41
- package/dist/checks/bin/check-issue-milestone-attach.js +159 -40
- package/dist/checks/bin/check-issue-objectives-numbering.js +685 -41
- package/dist/checks/bin/check-issue-parts-coverage.js +159 -40
- package/dist/checks/bin/check-issue-surface-globs.js +258 -48
- package/dist/checks/bin/check-issue-title-grammar.js +159 -40
- package/dist/checks/bin/check-issue-tranche-label.js +159 -40
- package/dist/checks/bin/check-main-branch-refusal.js +159 -40
- package/dist/checks/bin/check-no-disk-state.js +159 -40
- package/dist/checks/bin/check-pr-premise-reassert.js +213 -41
- package/dist/checks/bin/check-pr-report-density.js +159 -40
- package/dist/checks/bin/check-principal-test-plan-wait.js +159 -40
- package/dist/checks/bin/check-quoted-command.js +586 -103
- package/dist/checks/bin/check-reader-resolvable-prose.js +637 -111
- package/dist/checks/bin/check-registry-gates.js +159 -40
- package/dist/checks/bin/check-retired-vocabulary.js +586 -103
- package/dist/checks/bin/check-review-gate.js +284 -152
- package/dist/checks/bin/check-single-plan-pr.js +159 -40
- package/dist/checks/bin/check-surface-scope.js +164 -41
- package/dist/checks/bin/check-test-plan.js +159 -40
- package/dist/checks/bin/check-token-collection-wired.js +159 -40
- package/dist/checks/bin/check-token-report.js +159 -40
- package/dist/checks/bin/check-workspace-escape.js +664 -147
- package/dist/index.js +3932 -1118
- package/dist/lib/pre-push-cache-test-run.js +507 -72
- package/dist/lib/pre-push-select-tests.js +136 -13
- package/package.json +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/actions.ts +10 -12
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/anchored-region.ts +5 -5
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/archive-task.ts +42 -17
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/baseline-capture.ts +1 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/branch-topology-gate.ts +3 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/brief-render.ts +554 -95
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/brief-validation.ts +264 -44
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/claude-code-transcript.ts +9 -9
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/coherence-checks.ts +211 -30
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/consumer-enumeration.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/control-store/index.ts +75 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/control-store/local.ts +961 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/control-store/migration.ts +222 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/control-store/outcomes.ts +135 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/control-store/records.ts +394 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dead-branch-push-audit.ts +1 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dead-branch-push-guard.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/derive-section7.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/assess-round.ts +514 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/fakes.ts +110 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/index.ts +30 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/journal-reconstruction.ts +219 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/render-summary.ts +97 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/types.ts +240 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/diagram-model.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/direct-main-push.ts +1 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dispatch-gate.ts +65 -22
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/doc-claim.ts +238 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/doc-owners.ts +14 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/docs/docs-coherence.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/docs/legacy-anchors.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/docs/node-route.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/docs/surfaced-manifest.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/doctrine-no-procedures.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/doctrine-portability.ts +5 -5
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/ensure-label.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/first-push-dispatch-gate.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/gate-audience.ts +14 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/index.ts +425 -11
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/issue-assignment.ts +3 -4
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/issue-validation.ts +1450 -33
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/leftover-detection.ts +1 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/local-anchor-coverage.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/envelope.ts +119 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/index.ts +75 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/redact.ts +87 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/schema.ts +801 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/log/store.ts +373 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/main-branch-refusal.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/metering-io-guard.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/milestone-validation.ts +2 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/no-disk-state.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/objectives.ts +288 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/parse-token-report.ts +3 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/parse-tranche.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/pr-report-density.ts +30 -16
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/pr-tier.ts +17 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/premise-check.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/quoted-command.ts +1 -1
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/reader-resolvable-prose.ts +267 -19
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/registry-checks.ts +91 -24
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/registry-scaffold.ts +6 -6
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/report-tokens.ts +4 -4
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/review-gate.ts +254 -110
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/review-input-manifest.ts +384 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/review-policy.ts +208 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/review-status.ts +80 -28
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/ruling-ordinal.ts +92 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/single-plan-pr.ts +4 -4
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/state-machine-model.ts +40 -27
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/symbol-collisions.ts +2 -2
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/task-branch-identity.ts +38 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/task-phase-history.ts +194 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/task-tools.ts +712 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/test-plan-gate.ts +7 -9
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/test-plan-section.ts +5 -5
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/types.ts +4 -4
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/verdict-extraction.ts +368 -56
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/waiver-label.ts +2 -3
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/workspace-escape.ts +3 -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 +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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/{[externals]__1agj1ww._.js → [externals]__0cki-x_._.js} +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/[root-of-the-server]__02a-3g8._.js +6 -6
- 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 +3 -0
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{[root-of-the-server]__0r7e54g._.js → [root-of-the-server]__07uhu5z._.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]__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/{[root-of-the-server]__1r47dr7._.js → _08onyya._.js} +3 -3
- 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/_0y1jv16._.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 +5 -5
- 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/0bjnj-5fy4e7l.js +1 -0
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/0ko698wh8xx2g.css +1 -0
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{1dc2_-c_gavj1.js → 0q9p7c6vn-x2w.js} +4 -4
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{3xg6-flovrcx-.js → 2174nz5he_oc4.js} +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/3xnma0-359j17.js +1 -0
- package/studio-standalone/apps/vinaya-studio/web/package.json +2 -2
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__0hstap0._.js +0 -3
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/0bm4nrrzwc7zi.css +0 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/2t_rfsztmwu6y.js +0 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/3ua4rm5f-a9k6.js +0 -1
- /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/{aeg-core → vinaya/studio-standalone/_node_modules/@attalabs/vinaya/studio-standalone/_node_modules/@attalabs/aeg-core}/bin/verify-coherence.ts +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → HmoeqXdX1E4drt7GReFOO}/_buildManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → HmoeqXdX1E4drt7GReFOO}/_clientMiddlewareManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → HmoeqXdX1E4drt7GReFOO}/_ssgManifest.js +0 -0
|
@@ -23,6 +23,24 @@ export { aggregateTaskTokenRows, parseTokenReportEntries, parseTokensLines } fro
|
|
|
23
23
|
export type { TokenSourcePr } from './parse-token-report'
|
|
24
24
|
export { deriveReviewStatus, parseDeveloperRoundMarker, renderReviewStatus } from './review-status'
|
|
25
25
|
export type { ReviewStatus, ReviewStatusInput } from './review-status'
|
|
26
|
+
export {
|
|
27
|
+
emptyPhaseSamples,
|
|
28
|
+
isRecordedLoopPhase,
|
|
29
|
+
medianOf,
|
|
30
|
+
MIN_PHASE_HISTORY_SAMPLES,
|
|
31
|
+
phaseHistoryClassFor,
|
|
32
|
+
phaseSamplesFromPrComments,
|
|
33
|
+
summarizePhaseSamples,
|
|
34
|
+
TASK_PHASE_LABELS,
|
|
35
|
+
taskPhaseLabel
|
|
36
|
+
} from './task-phase-history'
|
|
37
|
+
export type {
|
|
38
|
+
HistoryComment,
|
|
39
|
+
PhaseHistoryClass,
|
|
40
|
+
PhaseSamples,
|
|
41
|
+
RecordedLoopPhase,
|
|
42
|
+
TaskPhaseLabel
|
|
43
|
+
} from './task-phase-history'
|
|
26
44
|
export { formatBreakdown, formatTokenReportRow, formatTokensLine } from './report-tokens'
|
|
27
45
|
export type { TokenReportRowInput, TokensLineInput, TranscriptSummary, UsageComponents } from './report-tokens'
|
|
28
46
|
// The Claude Code collection adapter (`tranche-model.md` §12 layer 2) — one
|
|
@@ -35,7 +53,7 @@ export {
|
|
|
35
53
|
} from './claude-code-transcript'
|
|
36
54
|
export type { MeteringCapability, MeteringCapabilityDeps, MeteringIncapableReason } from './claude-code-transcript'
|
|
37
55
|
// The hardened deps every real caller of `resolveMeteringCapability` should
|
|
38
|
-
// build from
|
|
56
|
+
// build from — a sibling module, not part of the pure adapter above.
|
|
39
57
|
export { hardenedMeteringDeps, isTrustedMeteringStat } from './metering-io-guard'
|
|
40
58
|
export { declarationsIn, findCollisions } from './symbol-collisions'
|
|
41
59
|
export type { SymbolCollision, SymbolDeclaration } from './symbol-collisions'
|
|
@@ -61,6 +79,29 @@ export {
|
|
|
61
79
|
WAIVER_LABEL,
|
|
62
80
|
WAIVER_LABEL_REVIEW
|
|
63
81
|
} from './waiver-label'
|
|
82
|
+
export {
|
|
83
|
+
blockingSeverities,
|
|
84
|
+
CODE_REVIEW_SEVERITY_ORDER,
|
|
85
|
+
codeReviewBlockingSeverities,
|
|
86
|
+
consequentialFindings,
|
|
87
|
+
DEFAULT_REVIEW_POLICY,
|
|
88
|
+
evaluateCodeReview,
|
|
89
|
+
evaluateReviewFindings,
|
|
90
|
+
evaluateSecurityReview,
|
|
91
|
+
isConsequentialFinding,
|
|
92
|
+
isKnownSeverity,
|
|
93
|
+
isProseLocation,
|
|
94
|
+
PROSE_CAP_SEVERITY,
|
|
95
|
+
SECURITY_SEVERITY_ORDER,
|
|
96
|
+
securityBlockingSeverities
|
|
97
|
+
} from './review-policy'
|
|
98
|
+
export type {
|
|
99
|
+
CodeReviewSeverity,
|
|
100
|
+
PolicyEvaluation,
|
|
101
|
+
PolicyFinding,
|
|
102
|
+
ReviewPolicy,
|
|
103
|
+
SecuritySeverity
|
|
104
|
+
} from './review-policy'
|
|
64
105
|
export { deriveSection7, globsOverlap } from './derive-section7'
|
|
65
106
|
export type { Section7Match } from './derive-section7'
|
|
66
107
|
export { checkManifestValidity, parseNoDocRules } from './manifest-validity'
|
|
@@ -76,7 +117,7 @@ export { deriveTierFromDiff, overrideActive, readTierFromPrBody, TIER_FIELD } fr
|
|
|
76
117
|
export {
|
|
77
118
|
checkAutonomyClause,
|
|
78
119
|
checkBriefSections,
|
|
79
|
-
|
|
120
|
+
checkClosesNPresence as checkBriefClosesN,
|
|
80
121
|
checkCommandsCarryOutput,
|
|
81
122
|
checkConsumerTests,
|
|
82
123
|
checkDefeatCases,
|
|
@@ -85,6 +126,8 @@ export {
|
|
|
85
126
|
checkForgeTitle,
|
|
86
127
|
checkNoAgentBoxes,
|
|
87
128
|
checkNoUnpinnedCodeClaims,
|
|
129
|
+
checkObjectivesCopy,
|
|
130
|
+
checkObjectivesCoverage,
|
|
88
131
|
checkPlanPrNoCloses,
|
|
89
132
|
checkPremiseCoverage,
|
|
90
133
|
checkPrincipalPlaceholder,
|
|
@@ -95,29 +138,44 @@ export {
|
|
|
95
138
|
checkTestPlanExclusivity,
|
|
96
139
|
checkTierField,
|
|
97
140
|
checkWorktreeStep0,
|
|
141
|
+
packagesNamedIn,
|
|
142
|
+
AEG_BRIEF_V1_MARKER,
|
|
98
143
|
AGENT_BOXES_REFUSED_SINCE_PR,
|
|
144
|
+
briefMarkerFor,
|
|
99
145
|
BRIEF_RULES_SINCE_PR,
|
|
100
146
|
COMMAND_WORDS,
|
|
101
147
|
COMMIT_TYPE_STYLE,
|
|
102
148
|
COMMIT_TYPES,
|
|
149
|
+
contentAfterNLines,
|
|
150
|
+
contentAfterTwoLines,
|
|
103
151
|
extractFencedBlocks,
|
|
152
|
+
frozenBriefContent,
|
|
104
153
|
headerRegion,
|
|
105
154
|
inferBranchFromBody,
|
|
106
155
|
isBriefShaped,
|
|
107
156
|
isGrandfatherableBriefRuleError,
|
|
108
157
|
isTaskBranch,
|
|
109
|
-
|
|
158
|
+
parseBriefMarkerVersion,
|
|
159
|
+
partitionBriefErrorsByRollout,
|
|
160
|
+
PART_CITATION_RE,
|
|
161
|
+
resolveNewestFrozenBrief
|
|
162
|
+
} from './brief-validation'
|
|
163
|
+
export type {
|
|
164
|
+
BriefSectionResult,
|
|
165
|
+
BriefSectionsOptions,
|
|
166
|
+
FencedBlock,
|
|
167
|
+
FrozenBriefCandidate,
|
|
168
|
+
ResolvedFrozenBrief
|
|
110
169
|
} from './brief-validation'
|
|
111
|
-
export type { BriefSectionResult, BriefSectionsOptions, FencedBlock } from './brief-validation'
|
|
112
170
|
export { checkDoctrineNoProcedures } from './doctrine-no-procedures'
|
|
113
171
|
export type { DoctrineFile, DoctrineProcedureFinding } from './doctrine-no-procedures'
|
|
114
|
-
export { checkPrReportDensity, checkScopeDensity
|
|
172
|
+
export { checkDecisionsDensity, checkPrReportDensity, checkScopeDensity } from './pr-report-density'
|
|
115
173
|
export type { DensityResult } from './pr-report-density'
|
|
116
174
|
export {
|
|
117
175
|
checkA1,
|
|
118
176
|
checkA2,
|
|
119
177
|
checkA3,
|
|
120
|
-
|
|
178
|
+
checkClosesNTopology,
|
|
121
179
|
checkD1,
|
|
122
180
|
checkL1,
|
|
123
181
|
checkL2,
|
|
@@ -125,6 +183,8 @@ export {
|
|
|
125
183
|
checkL4,
|
|
126
184
|
checkL5,
|
|
127
185
|
checkR1,
|
|
186
|
+
checkR2,
|
|
187
|
+
checkR3,
|
|
128
188
|
checkT1,
|
|
129
189
|
checkT2,
|
|
130
190
|
checkT3,
|
|
@@ -134,7 +194,14 @@ export {
|
|
|
134
194
|
R1_GRANDFATHERED_ISSUES,
|
|
135
195
|
scopeT2ToPlanPr
|
|
136
196
|
} from './coherence-checks'
|
|
137
|
-
export type {
|
|
197
|
+
export type {
|
|
198
|
+
CheckFailure,
|
|
199
|
+
CheckResult,
|
|
200
|
+
CoherenceFailureCode,
|
|
201
|
+
ForgeIssue,
|
|
202
|
+
TrancheFile,
|
|
203
|
+
TaskEntry
|
|
204
|
+
} from './coherence-checks'
|
|
138
205
|
export {
|
|
139
206
|
buildProvenanceBlock,
|
|
140
207
|
extractIssue,
|
|
@@ -143,7 +210,12 @@ export {
|
|
|
143
210
|
taskRefFromBranch
|
|
144
211
|
} from './archive-task'
|
|
145
212
|
export type { MergedPrFacts } from './archive-task'
|
|
146
|
-
export {
|
|
213
|
+
export {
|
|
214
|
+
extractCodeReviewVerdict,
|
|
215
|
+
extractSecurityReviewVerdict,
|
|
216
|
+
parseFindingState,
|
|
217
|
+
VERDICT_MARKER_SOURCE
|
|
218
|
+
} from './verdict-extraction'
|
|
147
219
|
export type { VerdictExtraction } from './verdict-extraction'
|
|
148
220
|
export {
|
|
149
221
|
CHANGESET_RELEASE_BRANCH,
|
|
@@ -153,18 +225,80 @@ export {
|
|
|
153
225
|
isReviewGateExemptBranch
|
|
154
226
|
} from './review-gate'
|
|
155
227
|
export type { ReviewGateComment, ReviewGateInput, ReviewGateResult, ReviewGateVerdict } from './review-gate'
|
|
228
|
+
export { newestPrincipalRulingAuthor, newestPrincipalRulingOrdinal, principalRulingMarker } from './ruling-ordinal'
|
|
229
|
+
export type { RulingComment } from './ruling-ordinal'
|
|
230
|
+
export {
|
|
231
|
+
briefHash,
|
|
232
|
+
buildReviewInputManifest,
|
|
233
|
+
compareManifest,
|
|
234
|
+
isBoundToBase,
|
|
235
|
+
isBoundToBriefHash,
|
|
236
|
+
isBoundToHead,
|
|
237
|
+
isBoundToObjectives,
|
|
238
|
+
isBoundToPatch,
|
|
239
|
+
isBoundToPolicy,
|
|
240
|
+
isBoundToRulings,
|
|
241
|
+
manifestAsEchoed,
|
|
242
|
+
policyDigest
|
|
243
|
+
} from './review-input-manifest'
|
|
244
|
+
export type {
|
|
245
|
+
EchoedManifest,
|
|
246
|
+
ManifestBindingResult,
|
|
247
|
+
ReviewInputManifest,
|
|
248
|
+
ReviewInputManifestFacts
|
|
249
|
+
} from './review-input-manifest'
|
|
156
250
|
export {
|
|
157
251
|
checkBlastRadiusScope,
|
|
158
252
|
checkConflictCompleteness,
|
|
253
|
+
checkDocsWithinSurface,
|
|
254
|
+
checkDocumentationCitesObjective,
|
|
255
|
+
checkIssueBriefSections,
|
|
256
|
+
checkIssueObjectives,
|
|
159
257
|
checkIssueRationale,
|
|
160
258
|
checkIssueType,
|
|
259
|
+
checkMilestoneAttach,
|
|
161
260
|
checkNoBriefContent,
|
|
261
|
+
checkNoForeignTaskOwnership,
|
|
262
|
+
checkObjectivesRespectBoundary,
|
|
263
|
+
checkPartsCiteDefinedObjectives,
|
|
264
|
+
checkPartsCoverageAndSequence,
|
|
162
265
|
checkProjectsRegistered,
|
|
163
266
|
checkRationaleNamesDocs,
|
|
267
|
+
checkRationaleSurfaceCoverage,
|
|
268
|
+
checkSurfaceExcludesBoundDoc,
|
|
269
|
+
checkSurfaceGlobsResolve,
|
|
270
|
+
checkSurfaceOverlap,
|
|
271
|
+
checkTrancheLabelPresence,
|
|
272
|
+
checkSurfaceScope,
|
|
164
273
|
declaredProjects,
|
|
165
|
-
|
|
274
|
+
edgesNameEachOther,
|
|
275
|
+
frozenSectionsChanged,
|
|
276
|
+
globCoversPath,
|
|
277
|
+
isTaskIssueBodyShaped,
|
|
278
|
+
isTaskIssueLabelSet,
|
|
279
|
+
BRIEF_SECTIONS_SINCE_ISSUE,
|
|
280
|
+
DOCUMENTATION_SINCE_ISSUE,
|
|
281
|
+
OBJECTIVES_SINCE_ISSUE,
|
|
282
|
+
parseIssueDocumentation,
|
|
283
|
+
parseIssueParts,
|
|
284
|
+
parseIssueStopConditions,
|
|
285
|
+
parseIssueSurface,
|
|
286
|
+
parseIssueTestPlan
|
|
287
|
+
} from './issue-validation'
|
|
288
|
+
export type {
|
|
289
|
+
FrozenSection,
|
|
290
|
+
IssueDocumentation,
|
|
291
|
+
IssueDocumentationSource,
|
|
292
|
+
IssuePart,
|
|
293
|
+
IssueSectionResult,
|
|
294
|
+
IssueSurface,
|
|
295
|
+
IssueTestPlan,
|
|
296
|
+
SurfaceScopeResult,
|
|
297
|
+
SurfaceScopeViolation,
|
|
298
|
+
ProjectPath,
|
|
299
|
+
TaskIssueFacts,
|
|
300
|
+
TaskSurfaceFacts
|
|
166
301
|
} from './issue-validation'
|
|
167
|
-
export type { IssueSectionResult, ProjectPath, TaskIssueFacts } from './issue-validation'
|
|
168
302
|
export { findHeadingLine, findTable, rowToRecord } from './markdown-table'
|
|
169
303
|
export type { ParsedTable, TableRow } from './markdown-table'
|
|
170
304
|
export { deriveDiagramModel } from './diagram-model'
|
|
@@ -195,6 +329,8 @@ export {
|
|
|
195
329
|
export type { DerivationRule, ForgeFactInput } from './state-machine-model'
|
|
196
330
|
export { checkPremises, parsePremiseBlock } from './premise-check'
|
|
197
331
|
export type { PremiseAssertion, PremiseCheckResult } from './premise-check'
|
|
332
|
+
export { checkDocClaims } from './doc-claim'
|
|
333
|
+
export type { ClaimBinding, ClaimFinding, DocClaimSourceFile } from './doc-claim'
|
|
198
334
|
export { classifyLeftover } from './leftover-detection'
|
|
199
335
|
export type { LeftoverInput, LeftoverResult, LeftoverVerdict } from './leftover-detection'
|
|
200
336
|
export { checkDeadBranchPush } from './dead-branch-push-guard'
|
|
@@ -210,11 +346,14 @@ export { checkDoctrinePortability } from './doctrine-portability'
|
|
|
210
346
|
export type { PortabilityFinding, PortabilitySourceFile } from './doctrine-portability'
|
|
211
347
|
export {
|
|
212
348
|
checkReaderResolvableProse,
|
|
349
|
+
checkSourceComments,
|
|
213
350
|
checkUndefinedVocabulary,
|
|
214
351
|
checkUnresolvableReferences,
|
|
215
352
|
classifyProseFile,
|
|
353
|
+
extractComments,
|
|
216
354
|
legacySlugPattern,
|
|
217
355
|
parseGlossaryTerms,
|
|
356
|
+
PRODUCT_SLUG_SCOPE,
|
|
218
357
|
stripNonProse
|
|
219
358
|
} from './reader-resolvable-prose'
|
|
220
359
|
export type { ProseFileClass, ProseFinding, ProseSourceFile } from './reader-resolvable-prose'
|
|
@@ -242,6 +381,8 @@ export type {
|
|
|
242
381
|
} from './local-anchor-coverage'
|
|
243
382
|
export { checkDispatchReadiness } from './dispatch-gate'
|
|
244
383
|
export type {
|
|
384
|
+
DispatchBlocker,
|
|
385
|
+
DispatchBlockerClass,
|
|
245
386
|
DispatchConflictsWithFact,
|
|
246
387
|
DispatchDependsOnFact,
|
|
247
388
|
DispatchEdgeFact,
|
|
@@ -265,6 +406,93 @@ export { findDeadBranchPushes } from './dead-branch-push-audit'
|
|
|
265
406
|
export type { DeadBranchFact, DeadBranchPush } from './dead-branch-push-audit'
|
|
266
407
|
export { checkBranchTopology, taskBranchTopologyFields } from './branch-topology-gate'
|
|
267
408
|
export type { BranchTopologyInput, BranchTopologyResult, BranchTopologyVerdict } from './branch-topology-gate'
|
|
409
|
+
export { issueBranchName, parseTaskBranchIdentity } from './task-branch-identity'
|
|
410
|
+
export type { TaskBranchIdentity } from './task-branch-identity'
|
|
411
|
+
export {
|
|
412
|
+
capabilityUnavailable,
|
|
413
|
+
DEFAULT_PAGE_LIMIT,
|
|
414
|
+
isOperatorGranted,
|
|
415
|
+
isTaskToolName,
|
|
416
|
+
MAX_PAGE_LIMIT,
|
|
417
|
+
OPERATOR_STATUS_FOLLOW,
|
|
418
|
+
OPERATOR_TOOL_GRANT,
|
|
419
|
+
TASK_CANCEL_TOOL,
|
|
420
|
+
TASK_ESCALATION_READ_TOOL,
|
|
421
|
+
TASK_PR_READ_TOOL,
|
|
422
|
+
TASK_RESUME_TOOL,
|
|
423
|
+
TASK_START_TOOL,
|
|
424
|
+
TASK_STATUS_TOOL,
|
|
425
|
+
TASK_TOOL_CATALOG,
|
|
426
|
+
TASK_TOOL_ERROR_KINDS,
|
|
427
|
+
TASK_TOOL_NAMES,
|
|
428
|
+
taskToolByName,
|
|
429
|
+
taskToolError,
|
|
430
|
+
taskStartRequestIdentity,
|
|
431
|
+
TaskStartResultSchema,
|
|
432
|
+
EscalationEvidenceSchema,
|
|
433
|
+
EscalationInputsSchema,
|
|
434
|
+
EscalationInputVersionsSchema,
|
|
435
|
+
EscalationRunIdentitySchema,
|
|
436
|
+
FreshnessSchema,
|
|
437
|
+
ObservedSchema,
|
|
438
|
+
PageRequestSchema,
|
|
439
|
+
RequestedAuthoritySchema,
|
|
440
|
+
TaskCancelInputSchema,
|
|
441
|
+
TaskCancelOutcomeSchema,
|
|
442
|
+
TaskCancelResultSchema,
|
|
443
|
+
TaskEscalationPacketSchema,
|
|
444
|
+
TaskEscalationReadInputSchema,
|
|
445
|
+
TaskEscalationReadResultSchema,
|
|
446
|
+
MAX_RETURNED_TEXT_CHARS,
|
|
447
|
+
TaskPrCheckSchema,
|
|
448
|
+
TaskPrPauseSchema,
|
|
449
|
+
TaskPrReadInputSchema,
|
|
450
|
+
TaskPrReadResultSchema,
|
|
451
|
+
TaskPrReviewRecordSchema,
|
|
452
|
+
TaskPrVerdictSchema,
|
|
453
|
+
TaskToolRefSchema,
|
|
454
|
+
TaskResumeInputSchema,
|
|
455
|
+
TaskResumeResultSchema,
|
|
456
|
+
TaskStartInputSchema,
|
|
457
|
+
TaskConfidenceSchema,
|
|
458
|
+
TaskPhaseHistorySchema,
|
|
459
|
+
TaskStatusInputSchema,
|
|
460
|
+
TaskStatusItemSchema,
|
|
461
|
+
TaskStatusResultSchema,
|
|
462
|
+
TaskToolErrorSchema
|
|
463
|
+
} from './task-tools'
|
|
464
|
+
export type {
|
|
465
|
+
Freshness,
|
|
466
|
+
OperatorGrantedTool,
|
|
467
|
+
PageRequest,
|
|
468
|
+
RequestedAuthority,
|
|
469
|
+
TaskCancelInput,
|
|
470
|
+
TaskCancelOutcome,
|
|
471
|
+
TaskCancelResult,
|
|
472
|
+
TaskEscalationPacket,
|
|
473
|
+
TaskEscalationReadInput,
|
|
474
|
+
TaskEscalationReadResult,
|
|
475
|
+
TaskPrCheck,
|
|
476
|
+
TaskPrReadInput,
|
|
477
|
+
TaskPrReadResult,
|
|
478
|
+
TaskPrReviewRecord,
|
|
479
|
+
TaskPrVerdict,
|
|
480
|
+
TaskResumeInput,
|
|
481
|
+
TaskResumeResult,
|
|
482
|
+
TaskStartInput,
|
|
483
|
+
TaskStartRequestInput,
|
|
484
|
+
TaskConfidence,
|
|
485
|
+
TaskPhaseHistory,
|
|
486
|
+
TaskStartResult,
|
|
487
|
+
TaskStatusInput,
|
|
488
|
+
TaskStatusResult,
|
|
489
|
+
TaskToolDefinition,
|
|
490
|
+
TaskToolError,
|
|
491
|
+
TaskToolErrorKind,
|
|
492
|
+
TaskToolHandlerBinding,
|
|
493
|
+
TaskToolName,
|
|
494
|
+
TaskToolRef
|
|
495
|
+
} from './task-tools'
|
|
268
496
|
export { checkFirstPushDispatchGate, parseTaskBranch } from './first-push-dispatch-gate'
|
|
269
497
|
export type {
|
|
270
498
|
DispatchReadinessFact,
|
|
@@ -319,5 +547,191 @@ export type {
|
|
|
319
547
|
} from './milestone-validation'
|
|
320
548
|
export { findWorkspaceEscapes } from './workspace-escape'
|
|
321
549
|
export type { WorkspaceEscapeFinding, WorkspaceEscapeReason, WorkspaceEscapeSourceFile } from './workspace-escape'
|
|
322
|
-
export { parseRationaleFields, renderBrief } from './brief-render'
|
|
550
|
+
export { extractBoundaryFilePaths, extractSourceRevision, parseRationaleFields, renderBrief } from './brief-render'
|
|
323
551
|
export type { BriefFacts, RationaleFieldKey, RenderResult, SurfaceFileFact } from './brief-render'
|
|
552
|
+
export {
|
|
553
|
+
hasObjectivesHeading,
|
|
554
|
+
isIssueNotFoundError,
|
|
555
|
+
objectivesSectionBounds,
|
|
556
|
+
objectivesVersion,
|
|
557
|
+
objectivesOf,
|
|
558
|
+
renderObjectives,
|
|
559
|
+
resolveObjectivesSource
|
|
560
|
+
} from './objectives'
|
|
561
|
+
export type { Objective, ObjectivesSource, ParsedObjectives } from './objectives'
|
|
562
|
+
export {
|
|
563
|
+
assessRound,
|
|
564
|
+
concludedLoopRefusal,
|
|
565
|
+
initialLoopState,
|
|
566
|
+
isConcludedJournal,
|
|
567
|
+
isPublishedSummaryComment,
|
|
568
|
+
nextRoundNumber,
|
|
569
|
+
parseSummaryConfidenceRows,
|
|
570
|
+
reconstructRounds,
|
|
571
|
+
renderSummary,
|
|
572
|
+
SUMMARY_TABLE_HEADER
|
|
573
|
+
} from './dev-review-loop'
|
|
574
|
+
export type {
|
|
575
|
+
Confidence,
|
|
576
|
+
Decision,
|
|
577
|
+
DevReviewLoopEventInput,
|
|
578
|
+
FindingObservation,
|
|
579
|
+
FindingState,
|
|
580
|
+
Journal,
|
|
581
|
+
LoopConfig,
|
|
582
|
+
LoopState,
|
|
583
|
+
Observations,
|
|
584
|
+
PauseReason,
|
|
585
|
+
PendingRound,
|
|
586
|
+
ReconstructedJournal,
|
|
587
|
+
ReconstructionInput,
|
|
588
|
+
ReviewGateFact,
|
|
589
|
+
RoundOutcome,
|
|
590
|
+
RoundRecord,
|
|
591
|
+
RoundStats,
|
|
592
|
+
VerdictObservation
|
|
593
|
+
} from './dev-review-loop'
|
|
594
|
+
export {
|
|
595
|
+
buildHeader,
|
|
596
|
+
classifyStoredLine,
|
|
597
|
+
CONFIDENCE_REASON_MAX_LENGTH,
|
|
598
|
+
createFixtureStore,
|
|
599
|
+
DispatchEventSchema,
|
|
600
|
+
DevReviewLoopEventSchema,
|
|
601
|
+
EffectEventSchema,
|
|
602
|
+
ForgeOpSchema,
|
|
603
|
+
ForgeWriteEventSchema,
|
|
604
|
+
GateEventSchema,
|
|
605
|
+
GateOutcomeSchema,
|
|
606
|
+
HandoffEventSchema,
|
|
607
|
+
HeaderMetaV1Schema,
|
|
608
|
+
HeaderMetaV2Schema,
|
|
609
|
+
HeaderSchema,
|
|
610
|
+
HostSchema,
|
|
611
|
+
HOST_VALUES,
|
|
612
|
+
InputVersionsSchema,
|
|
613
|
+
KNOWN_SCHEMA_VERSIONS,
|
|
614
|
+
LineageSchema,
|
|
615
|
+
LogEventSchema,
|
|
616
|
+
OperationEventSchema,
|
|
617
|
+
OperationResultSchema,
|
|
618
|
+
ProvenanceSchema,
|
|
619
|
+
readPageFrom,
|
|
620
|
+
recordIdentity,
|
|
621
|
+
redact,
|
|
622
|
+
RoleAttemptEventSchema,
|
|
623
|
+
RoleAttemptOutcomeSchema,
|
|
624
|
+
RoleSchema,
|
|
625
|
+
ROLE_VALUES,
|
|
626
|
+
UsageEventSchema
|
|
627
|
+
} from './log'
|
|
628
|
+
export type {
|
|
629
|
+
AppendOutcome,
|
|
630
|
+
DispatchEvent,
|
|
631
|
+
DispatchOutcome,
|
|
632
|
+
DevReviewLoopEvent,
|
|
633
|
+
EffectEvent,
|
|
634
|
+
FixtureStoreOptions,
|
|
635
|
+
ForgeOp,
|
|
636
|
+
ForgeWriteEvent,
|
|
637
|
+
GateEvent,
|
|
638
|
+
GateOutcome,
|
|
639
|
+
HandoffEvent,
|
|
640
|
+
Header,
|
|
641
|
+
HeaderInput,
|
|
642
|
+
HeaderMetaV1,
|
|
643
|
+
HeaderMetaV2,
|
|
644
|
+
Host,
|
|
645
|
+
InputVersions,
|
|
646
|
+
Lineage,
|
|
647
|
+
LogEvent,
|
|
648
|
+
LogStore,
|
|
649
|
+
OperationEvent,
|
|
650
|
+
OperationResult,
|
|
651
|
+
OverflowDiagnostic,
|
|
652
|
+
Provenance,
|
|
653
|
+
ReadDiagnostics,
|
|
654
|
+
ReadPage,
|
|
655
|
+
ReadRecord,
|
|
656
|
+
RecordIdentity,
|
|
657
|
+
ReviewFinding,
|
|
658
|
+
Role,
|
|
659
|
+
RoleAttemptEvent,
|
|
660
|
+
RoleAttemptOutcome,
|
|
661
|
+
Subject,
|
|
662
|
+
UsageEvent,
|
|
663
|
+
UsageUnits
|
|
664
|
+
} from './log'
|
|
665
|
+
export {
|
|
666
|
+
acquireOwnership,
|
|
667
|
+
appendTransition,
|
|
668
|
+
CONTROL_RECORD_VERSION,
|
|
669
|
+
consumeResolutionOnce,
|
|
670
|
+
defaultControlStoreDeps,
|
|
671
|
+
defaultIsPidAlive,
|
|
672
|
+
InvalidEffectKeyError,
|
|
673
|
+
InvalidEscalationIdError,
|
|
674
|
+
InvalidRunIdError,
|
|
675
|
+
listStartedEffectKeys,
|
|
676
|
+
markEffectUncertain,
|
|
677
|
+
migrateLegacyTask,
|
|
678
|
+
mkdirNoSymlinks,
|
|
679
|
+
normalizeOutcome,
|
|
680
|
+
parseEffectRecord,
|
|
681
|
+
parseEscalationRecord,
|
|
682
|
+
parseInputRecord,
|
|
683
|
+
parseLoopStateRecord,
|
|
684
|
+
parseManifestRecord,
|
|
685
|
+
parseOwnershipRecord,
|
|
686
|
+
parseResolutionRecord,
|
|
687
|
+
parseRunRecord,
|
|
688
|
+
parseTransitionRecord,
|
|
689
|
+
readCurrentOwnership,
|
|
690
|
+
readEffect,
|
|
691
|
+
readEscalation,
|
|
692
|
+
readInput,
|
|
693
|
+
readLoopState,
|
|
694
|
+
readManifest,
|
|
695
|
+
readResolution,
|
|
696
|
+
readRun,
|
|
697
|
+
readTransitions,
|
|
698
|
+
StaleEpochWriteError,
|
|
699
|
+
CONTROL_AREA_DIRNAME,
|
|
700
|
+
writeEffect,
|
|
701
|
+
writeEscalation,
|
|
702
|
+
writeInput,
|
|
703
|
+
writeLoopState,
|
|
704
|
+
writeManifest,
|
|
705
|
+
writeRun
|
|
706
|
+
} from './control-store'
|
|
707
|
+
export type {
|
|
708
|
+
AcquireResult,
|
|
709
|
+
ConsumeResolutionResult,
|
|
710
|
+
ControlRecord,
|
|
711
|
+
ControlStoreDeps,
|
|
712
|
+
EffectInput,
|
|
713
|
+
EffectRecord,
|
|
714
|
+
EffectStatus,
|
|
715
|
+
EscalationInput,
|
|
716
|
+
EscalationRecord,
|
|
717
|
+
InputInput,
|
|
718
|
+
InputRecord,
|
|
719
|
+
LoopBudgets,
|
|
720
|
+
LoopStateInput,
|
|
721
|
+
LoopStateRecord,
|
|
722
|
+
ManifestInput,
|
|
723
|
+
ManifestRecord,
|
|
724
|
+
MigrationResult,
|
|
725
|
+
NormalizedOutcome,
|
|
726
|
+
OutcomeSignals,
|
|
727
|
+
OwnershipRecord,
|
|
728
|
+
ParsedRecord,
|
|
729
|
+
ResolutionInput,
|
|
730
|
+
ResolutionRecord,
|
|
731
|
+
RoundHeadIdentity,
|
|
732
|
+
RunInput,
|
|
733
|
+
RunRecord,
|
|
734
|
+
TaskOutcomeStatus,
|
|
735
|
+
TransitionInput,
|
|
736
|
+
TransitionRecord
|
|
737
|
+
} from './control-store'
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { parseTaskBranch } from './first-push-dispatch-gate'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* First-push Issue self-assignment
|
|
5
|
-
* Pure — no `fs`, no `gh`/`git` shell-outs. The CLI shim
|
|
4
|
+
* First-push Issue self-assignment. Pure — no `fs`, no `gh`/`git` shell-outs. The CLI shim
|
|
6
5
|
* (`bin/assign-task-issue.ts`, wired into `.husky/pre-push`) gathers the
|
|
7
6
|
* facts — does the remote ref already exist, which Issue does the topology
|
|
8
7
|
* row name, who is currently assigned, who is the authenticated pusher —
|
|
9
8
|
* and this evaluator decides whether to assign.
|
|
10
9
|
*
|
|
11
|
-
* Produces the signal Studio's dispatch-visibility chip
|
|
10
|
+
* Produces the signal Studio's dispatch-visibility chip
|
|
12
11
|
* renders: `facts.assigned = assigneesCount > 0`. Assignment had never been
|
|
13
12
|
* mechanized anywhere — it happened only when the Principal remembered to
|
|
14
|
-
* assign by hand, so a genuinely in-flight task (
|
|
13
|
+
* assign by hand, so a genuinely in-flight task (a real task: two real
|
|
15
14
|
* commits pushed) looked identical to an untouched one. The task branch's
|
|
16
15
|
* FIRST real push is the earliest genuine "in flight" evidence (assigning
|
|
17
16
|
* at brief-authoring time would reintroduce the false positive task 26 was
|