@attalabs/vinaya 0.31.0 → 0.33.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 +2 -3
- package/aeg-root/contracts/principal-operator.md +18 -5
- package/aeg-root/roles/developer/reference.md +3 -3
- package/aeg-root/roles/operator.md +69 -16
- package/aeg-root/roles/planner/reference.md +1 -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/pr-report-template.md +7 -2
- package/dist/checks/bin/check-body-bare-digits.js +340 -101
- package/dist/checks/bin/check-branch-topology.js +184 -105
- package/dist/checks/bin/check-brief-shape.js +333 -94
- package/dist/checks/bin/check-changeset-coverage.js +1028 -248
- package/dist/checks/bin/check-ci-shard-coverage.js +82 -0
- package/dist/checks/bin/check-closes-n.js +184 -105
- package/dist/checks/bin/check-coherence.js +345 -145
- package/dist/checks/bin/check-dead-branch-push.js +179 -59
- package/dist/checks/bin/check-dispatch-readiness.js +350 -150
- package/dist/checks/bin/check-doc-coverage-push.js +1011 -231
- package/dist/checks/bin/check-doc-coverage.js +1015 -235
- package/dist/checks/bin/check-doctrine-no-procedures.js +333 -94
- package/dist/checks/bin/check-doctrine-portability.js +1013 -233
- package/dist/checks/bin/check-evidence-fresh.js +1010 -222
- package/dist/checks/bin/check-exec-bits.js +1009 -229
- package/dist/checks/bin/check-first-push-dispatch.js +343 -145
- package/dist/checks/bin/check-issue-assignment.js +186 -107
- package/dist/checks/bin/check-issue-milestone-attach.js +176 -56
- package/dist/checks/bin/check-issue-objectives-numbering.js +176 -56
- package/dist/checks/bin/check-issue-parts-coverage.js +176 -56
- package/dist/checks/bin/check-issue-surface-globs.js +363 -143
- package/dist/checks/bin/check-issue-title-grammar.js +176 -56
- package/dist/checks/bin/check-issue-tranche-label.js +176 -56
- package/dist/checks/bin/check-main-branch-refusal.js +176 -56
- package/dist/checks/bin/check-no-disk-state.js +176 -56
- package/dist/checks/bin/check-pr-premise-reassert.js +333 -92
- package/dist/checks/bin/check-pr-report-density.js +176 -56
- package/dist/checks/bin/check-principal-test-plan-wait.js +176 -54
- package/dist/checks/bin/check-quoted-command.js +999 -217
- package/dist/checks/bin/check-reader-resolvable-prose.js +1011 -229
- package/dist/checks/bin/check-registry-gates.js +186 -56
- package/dist/checks/bin/check-retired-vocabulary.js +997 -215
- package/dist/checks/bin/check-review-gate.js +403 -203
- package/dist/checks/bin/check-single-plan-pr.js +176 -56
- package/dist/checks/bin/check-surface-scope.js +184 -105
- package/dist/checks/bin/check-test-plan.js +176 -54
- package/dist/checks/bin/check-token-collection-wired.js +182 -57
- package/dist/checks/bin/check-token-report.js +178 -58
- package/dist/checks/bin/check-workspace-escape.js +1011 -229
- package/dist/index.js +5971 -3489
- package/dist/lib/pre-push-cache-test-run.js +4431 -0
- package/dist/lib/pre-push-select-tests.js +799 -110
- package/package.json +3 -2
- 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 +212 -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 +27 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/journal-reconstruction.ts +123 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/dev-review-loop/render-summary.ts +27 -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 +379 -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 +239 -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 +184 -0
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/review-status.ts +65 -18
- package/studio-standalone/_node_modules/@attalabs/aeg-core/src/ruling-ordinal.ts +76 -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-tools.ts +488 -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 +314 -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]__0ls23oh._.js +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{[root-of-the-server]__0r7e54g._.js → [root-of-the-server]__18paley._.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/{1dc2_-c_gavj1.js → 1ce2dj27_cgbj.js} +4 -4
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{3xg6-flovrcx-.js → 22s44f5k3ecmj.js} +1 -1
- package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/34hhdtbp20krb.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/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/aeg-core}/bin/verify-coherence.ts +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → vl7QVqELe1AQ-9kaOd9mR}/_buildManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → vl7QVqELe1AQ-9kaOd9mR}/_clientMiddlewareManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/web/.next/static/{e8XbZ2vlVz40KzHmlqhwP → vl7QVqELe1AQ-9kaOd9mR}/_ssgManifest.js +0 -0
|
@@ -35,7 +35,7 @@ export {
|
|
|
35
35
|
} from './claude-code-transcript'
|
|
36
36
|
export type { MeteringCapability, MeteringCapabilityDeps, MeteringIncapableReason } from './claude-code-transcript'
|
|
37
37
|
// The hardened deps every real caller of `resolveMeteringCapability` should
|
|
38
|
-
// build from
|
|
38
|
+
// build from — a sibling module, not part of the pure adapter above.
|
|
39
39
|
export { hardenedMeteringDeps, isTrustedMeteringStat } from './metering-io-guard'
|
|
40
40
|
export { declarationsIn, findCollisions } from './symbol-collisions'
|
|
41
41
|
export type { SymbolCollision, SymbolDeclaration } from './symbol-collisions'
|
|
@@ -61,6 +61,27 @@ export {
|
|
|
61
61
|
WAIVER_LABEL,
|
|
62
62
|
WAIVER_LABEL_REVIEW
|
|
63
63
|
} from './waiver-label'
|
|
64
|
+
export {
|
|
65
|
+
blockingSeverities,
|
|
66
|
+
CODE_REVIEW_SEVERITY_ORDER,
|
|
67
|
+
codeReviewBlockingSeverities,
|
|
68
|
+
DEFAULT_REVIEW_POLICY,
|
|
69
|
+
evaluateCodeReview,
|
|
70
|
+
evaluateReviewFindings,
|
|
71
|
+
evaluateSecurityReview,
|
|
72
|
+
isKnownSeverity,
|
|
73
|
+
isProseLocation,
|
|
74
|
+
PROSE_CAP_SEVERITY,
|
|
75
|
+
SECURITY_SEVERITY_ORDER,
|
|
76
|
+
securityBlockingSeverities
|
|
77
|
+
} from './review-policy'
|
|
78
|
+
export type {
|
|
79
|
+
CodeReviewSeverity,
|
|
80
|
+
PolicyEvaluation,
|
|
81
|
+
PolicyFinding,
|
|
82
|
+
ReviewPolicy,
|
|
83
|
+
SecuritySeverity
|
|
84
|
+
} from './review-policy'
|
|
64
85
|
export { deriveSection7, globsOverlap } from './derive-section7'
|
|
65
86
|
export type { Section7Match } from './derive-section7'
|
|
66
87
|
export { checkManifestValidity, parseNoDocRules } from './manifest-validity'
|
|
@@ -76,7 +97,7 @@ export { deriveTierFromDiff, overrideActive, readTierFromPrBody, TIER_FIELD } fr
|
|
|
76
97
|
export {
|
|
77
98
|
checkAutonomyClause,
|
|
78
99
|
checkBriefSections,
|
|
79
|
-
|
|
100
|
+
checkClosesNPresence as checkBriefClosesN,
|
|
80
101
|
checkCommandsCarryOutput,
|
|
81
102
|
checkConsumerTests,
|
|
82
103
|
checkDefeatCases,
|
|
@@ -85,6 +106,8 @@ export {
|
|
|
85
106
|
checkForgeTitle,
|
|
86
107
|
checkNoAgentBoxes,
|
|
87
108
|
checkNoUnpinnedCodeClaims,
|
|
109
|
+
checkObjectivesCopy,
|
|
110
|
+
checkObjectivesCoverage,
|
|
88
111
|
checkPlanPrNoCloses,
|
|
89
112
|
checkPremiseCoverage,
|
|
90
113
|
checkPrincipalPlaceholder,
|
|
@@ -95,29 +118,44 @@ export {
|
|
|
95
118
|
checkTestPlanExclusivity,
|
|
96
119
|
checkTierField,
|
|
97
120
|
checkWorktreeStep0,
|
|
121
|
+
packagesNamedIn,
|
|
122
|
+
AEG_BRIEF_V1_MARKER,
|
|
98
123
|
AGENT_BOXES_REFUSED_SINCE_PR,
|
|
124
|
+
briefMarkerFor,
|
|
99
125
|
BRIEF_RULES_SINCE_PR,
|
|
100
126
|
COMMAND_WORDS,
|
|
101
127
|
COMMIT_TYPE_STYLE,
|
|
102
128
|
COMMIT_TYPES,
|
|
129
|
+
contentAfterNLines,
|
|
130
|
+
contentAfterTwoLines,
|
|
103
131
|
extractFencedBlocks,
|
|
132
|
+
frozenBriefContent,
|
|
104
133
|
headerRegion,
|
|
105
134
|
inferBranchFromBody,
|
|
106
135
|
isBriefShaped,
|
|
107
136
|
isGrandfatherableBriefRuleError,
|
|
108
137
|
isTaskBranch,
|
|
109
|
-
|
|
138
|
+
parseBriefMarkerVersion,
|
|
139
|
+
partitionBriefErrorsByRollout,
|
|
140
|
+
PART_CITATION_RE,
|
|
141
|
+
resolveNewestFrozenBrief
|
|
142
|
+
} from './brief-validation'
|
|
143
|
+
export type {
|
|
144
|
+
BriefSectionResult,
|
|
145
|
+
BriefSectionsOptions,
|
|
146
|
+
FencedBlock,
|
|
147
|
+
FrozenBriefCandidate,
|
|
148
|
+
ResolvedFrozenBrief
|
|
110
149
|
} from './brief-validation'
|
|
111
|
-
export type { BriefSectionResult, BriefSectionsOptions, FencedBlock } from './brief-validation'
|
|
112
150
|
export { checkDoctrineNoProcedures } from './doctrine-no-procedures'
|
|
113
151
|
export type { DoctrineFile, DoctrineProcedureFinding } from './doctrine-no-procedures'
|
|
114
|
-
export { checkPrReportDensity, checkScopeDensity
|
|
152
|
+
export { checkDecisionsDensity, checkPrReportDensity, checkScopeDensity } from './pr-report-density'
|
|
115
153
|
export type { DensityResult } from './pr-report-density'
|
|
116
154
|
export {
|
|
117
155
|
checkA1,
|
|
118
156
|
checkA2,
|
|
119
157
|
checkA3,
|
|
120
|
-
|
|
158
|
+
checkClosesNTopology,
|
|
121
159
|
checkD1,
|
|
122
160
|
checkL1,
|
|
123
161
|
checkL2,
|
|
@@ -125,6 +163,8 @@ export {
|
|
|
125
163
|
checkL4,
|
|
126
164
|
checkL5,
|
|
127
165
|
checkR1,
|
|
166
|
+
checkR2,
|
|
167
|
+
checkR3,
|
|
128
168
|
checkT1,
|
|
129
169
|
checkT2,
|
|
130
170
|
checkT3,
|
|
@@ -134,7 +174,14 @@ export {
|
|
|
134
174
|
R1_GRANDFATHERED_ISSUES,
|
|
135
175
|
scopeT2ToPlanPr
|
|
136
176
|
} from './coherence-checks'
|
|
137
|
-
export type {
|
|
177
|
+
export type {
|
|
178
|
+
CheckFailure,
|
|
179
|
+
CheckResult,
|
|
180
|
+
CoherenceFailureCode,
|
|
181
|
+
ForgeIssue,
|
|
182
|
+
TrancheFile,
|
|
183
|
+
TaskEntry
|
|
184
|
+
} from './coherence-checks'
|
|
138
185
|
export {
|
|
139
186
|
buildProvenanceBlock,
|
|
140
187
|
extractIssue,
|
|
@@ -143,7 +190,7 @@ export {
|
|
|
143
190
|
taskRefFromBranch
|
|
144
191
|
} from './archive-task'
|
|
145
192
|
export type { MergedPrFacts } from './archive-task'
|
|
146
|
-
export { extractCodeReviewVerdict, extractSecurityReviewVerdict } from './verdict-extraction'
|
|
193
|
+
export { extractCodeReviewVerdict, extractSecurityReviewVerdict, VERDICT_MARKER_SOURCE } from './verdict-extraction'
|
|
147
194
|
export type { VerdictExtraction } from './verdict-extraction'
|
|
148
195
|
export {
|
|
149
196
|
CHANGESET_RELEASE_BRANCH,
|
|
@@ -153,18 +200,80 @@ export {
|
|
|
153
200
|
isReviewGateExemptBranch
|
|
154
201
|
} from './review-gate'
|
|
155
202
|
export type { ReviewGateComment, ReviewGateInput, ReviewGateResult, ReviewGateVerdict } from './review-gate'
|
|
203
|
+
export { newestPrincipalRulingAuthor, newestPrincipalRulingOrdinal } from './ruling-ordinal'
|
|
204
|
+
export type { RulingComment } from './ruling-ordinal'
|
|
205
|
+
export {
|
|
206
|
+
briefHash,
|
|
207
|
+
buildReviewInputManifest,
|
|
208
|
+
compareManifest,
|
|
209
|
+
isBoundToBase,
|
|
210
|
+
isBoundToBriefHash,
|
|
211
|
+
isBoundToHead,
|
|
212
|
+
isBoundToObjectives,
|
|
213
|
+
isBoundToPatch,
|
|
214
|
+
isBoundToPolicy,
|
|
215
|
+
isBoundToRulings,
|
|
216
|
+
manifestAsEchoed,
|
|
217
|
+
policyDigest
|
|
218
|
+
} from './review-input-manifest'
|
|
219
|
+
export type {
|
|
220
|
+
EchoedManifest,
|
|
221
|
+
ManifestBindingResult,
|
|
222
|
+
ReviewInputManifest,
|
|
223
|
+
ReviewInputManifestFacts
|
|
224
|
+
} from './review-input-manifest'
|
|
156
225
|
export {
|
|
157
226
|
checkBlastRadiusScope,
|
|
158
227
|
checkConflictCompleteness,
|
|
228
|
+
checkDocsWithinSurface,
|
|
229
|
+
checkDocumentationCitesObjective,
|
|
230
|
+
checkIssueBriefSections,
|
|
231
|
+
checkIssueObjectives,
|
|
159
232
|
checkIssueRationale,
|
|
160
233
|
checkIssueType,
|
|
234
|
+
checkMilestoneAttach,
|
|
161
235
|
checkNoBriefContent,
|
|
236
|
+
checkNoForeignTaskOwnership,
|
|
237
|
+
checkObjectivesRespectBoundary,
|
|
238
|
+
checkPartsCiteDefinedObjectives,
|
|
239
|
+
checkPartsCoverageAndSequence,
|
|
162
240
|
checkProjectsRegistered,
|
|
163
241
|
checkRationaleNamesDocs,
|
|
242
|
+
checkRationaleSurfaceCoverage,
|
|
243
|
+
checkSurfaceExcludesBoundDoc,
|
|
244
|
+
checkSurfaceGlobsResolve,
|
|
245
|
+
checkSurfaceOverlap,
|
|
246
|
+
checkTrancheLabelPresence,
|
|
247
|
+
checkSurfaceScope,
|
|
164
248
|
declaredProjects,
|
|
165
|
-
|
|
249
|
+
edgesNameEachOther,
|
|
250
|
+
frozenSectionsChanged,
|
|
251
|
+
globCoversPath,
|
|
252
|
+
isTaskIssueBodyShaped,
|
|
253
|
+
isTaskIssueLabelSet,
|
|
254
|
+
BRIEF_SECTIONS_SINCE_ISSUE,
|
|
255
|
+
DOCUMENTATION_SINCE_ISSUE,
|
|
256
|
+
OBJECTIVES_SINCE_ISSUE,
|
|
257
|
+
parseIssueDocumentation,
|
|
258
|
+
parseIssueParts,
|
|
259
|
+
parseIssueStopConditions,
|
|
260
|
+
parseIssueSurface,
|
|
261
|
+
parseIssueTestPlan
|
|
262
|
+
} from './issue-validation'
|
|
263
|
+
export type {
|
|
264
|
+
FrozenSection,
|
|
265
|
+
IssueDocumentation,
|
|
266
|
+
IssueDocumentationSource,
|
|
267
|
+
IssuePart,
|
|
268
|
+
IssueSectionResult,
|
|
269
|
+
IssueSurface,
|
|
270
|
+
IssueTestPlan,
|
|
271
|
+
SurfaceScopeResult,
|
|
272
|
+
SurfaceScopeViolation,
|
|
273
|
+
ProjectPath,
|
|
274
|
+
TaskIssueFacts,
|
|
275
|
+
TaskSurfaceFacts
|
|
166
276
|
} from './issue-validation'
|
|
167
|
-
export type { IssueSectionResult, ProjectPath, TaskIssueFacts } from './issue-validation'
|
|
168
277
|
export { findHeadingLine, findTable, rowToRecord } from './markdown-table'
|
|
169
278
|
export type { ParsedTable, TableRow } from './markdown-table'
|
|
170
279
|
export { deriveDiagramModel } from './diagram-model'
|
|
@@ -195,6 +304,8 @@ export {
|
|
|
195
304
|
export type { DerivationRule, ForgeFactInput } from './state-machine-model'
|
|
196
305
|
export { checkPremises, parsePremiseBlock } from './premise-check'
|
|
197
306
|
export type { PremiseAssertion, PremiseCheckResult } from './premise-check'
|
|
307
|
+
export { checkDocClaims } from './doc-claim'
|
|
308
|
+
export type { ClaimBinding, ClaimFinding, DocClaimSourceFile } from './doc-claim'
|
|
198
309
|
export { classifyLeftover } from './leftover-detection'
|
|
199
310
|
export type { LeftoverInput, LeftoverResult, LeftoverVerdict } from './leftover-detection'
|
|
200
311
|
export { checkDeadBranchPush } from './dead-branch-push-guard'
|
|
@@ -210,11 +321,14 @@ export { checkDoctrinePortability } from './doctrine-portability'
|
|
|
210
321
|
export type { PortabilityFinding, PortabilitySourceFile } from './doctrine-portability'
|
|
211
322
|
export {
|
|
212
323
|
checkReaderResolvableProse,
|
|
324
|
+
checkSourceComments,
|
|
213
325
|
checkUndefinedVocabulary,
|
|
214
326
|
checkUnresolvableReferences,
|
|
215
327
|
classifyProseFile,
|
|
328
|
+
extractComments,
|
|
216
329
|
legacySlugPattern,
|
|
217
330
|
parseGlossaryTerms,
|
|
331
|
+
PRODUCT_SLUG_SCOPE,
|
|
218
332
|
stripNonProse
|
|
219
333
|
} from './reader-resolvable-prose'
|
|
220
334
|
export type { ProseFileClass, ProseFinding, ProseSourceFile } from './reader-resolvable-prose'
|
|
@@ -242,6 +356,8 @@ export type {
|
|
|
242
356
|
} from './local-anchor-coverage'
|
|
243
357
|
export { checkDispatchReadiness } from './dispatch-gate'
|
|
244
358
|
export type {
|
|
359
|
+
DispatchBlocker,
|
|
360
|
+
DispatchBlockerClass,
|
|
245
361
|
DispatchConflictsWithFact,
|
|
246
362
|
DispatchDependsOnFact,
|
|
247
363
|
DispatchEdgeFact,
|
|
@@ -265,6 +381,76 @@ export { findDeadBranchPushes } from './dead-branch-push-audit'
|
|
|
265
381
|
export type { DeadBranchFact, DeadBranchPush } from './dead-branch-push-audit'
|
|
266
382
|
export { checkBranchTopology, taskBranchTopologyFields } from './branch-topology-gate'
|
|
267
383
|
export type { BranchTopologyInput, BranchTopologyResult, BranchTopologyVerdict } from './branch-topology-gate'
|
|
384
|
+
export { issueBranchName, parseTaskBranchIdentity } from './task-branch-identity'
|
|
385
|
+
export type { TaskBranchIdentity } from './task-branch-identity'
|
|
386
|
+
export {
|
|
387
|
+
capabilityUnavailable,
|
|
388
|
+
DEFAULT_PAGE_LIMIT,
|
|
389
|
+
isOperatorGranted,
|
|
390
|
+
isTaskToolName,
|
|
391
|
+
MAX_PAGE_LIMIT,
|
|
392
|
+
OPERATOR_STATUS_FOLLOW,
|
|
393
|
+
OPERATOR_TOOL_GRANT,
|
|
394
|
+
TASK_CANCEL_TOOL,
|
|
395
|
+
TASK_ESCALATION_READ_TOOL,
|
|
396
|
+
TASK_RESUME_TOOL,
|
|
397
|
+
TASK_START_TOOL,
|
|
398
|
+
TASK_STATUS_TOOL,
|
|
399
|
+
TASK_TOOL_CATALOG,
|
|
400
|
+
TASK_TOOL_ERROR_KINDS,
|
|
401
|
+
TASK_TOOL_NAMES,
|
|
402
|
+
taskToolByName,
|
|
403
|
+
taskToolError,
|
|
404
|
+
taskStartRequestIdentity,
|
|
405
|
+
TaskStartResultSchema,
|
|
406
|
+
EscalationEvidenceSchema,
|
|
407
|
+
EscalationInputsSchema,
|
|
408
|
+
EscalationInputVersionsSchema,
|
|
409
|
+
EscalationRunIdentitySchema,
|
|
410
|
+
FreshnessSchema,
|
|
411
|
+
ObservedSchema,
|
|
412
|
+
PageRequestSchema,
|
|
413
|
+
RequestedAuthoritySchema,
|
|
414
|
+
TaskCancelInputSchema,
|
|
415
|
+
TaskCancelOutcomeSchema,
|
|
416
|
+
TaskCancelResultSchema,
|
|
417
|
+
TaskEscalationPacketSchema,
|
|
418
|
+
TaskEscalationReadInputSchema,
|
|
419
|
+
TaskEscalationReadResultSchema,
|
|
420
|
+
TaskToolRefSchema,
|
|
421
|
+
TaskResumeInputSchema,
|
|
422
|
+
TaskResumeResultSchema,
|
|
423
|
+
TaskStartInputSchema,
|
|
424
|
+
TaskStatusInputSchema,
|
|
425
|
+
TaskStatusItemSchema,
|
|
426
|
+
TaskStatusResultSchema,
|
|
427
|
+
TaskToolErrorSchema
|
|
428
|
+
} from './task-tools'
|
|
429
|
+
export type {
|
|
430
|
+
Freshness,
|
|
431
|
+
OperatorGrantedTool,
|
|
432
|
+
PageRequest,
|
|
433
|
+
RequestedAuthority,
|
|
434
|
+
TaskCancelInput,
|
|
435
|
+
TaskCancelOutcome,
|
|
436
|
+
TaskCancelResult,
|
|
437
|
+
TaskEscalationPacket,
|
|
438
|
+
TaskEscalationReadInput,
|
|
439
|
+
TaskEscalationReadResult,
|
|
440
|
+
TaskResumeInput,
|
|
441
|
+
TaskResumeResult,
|
|
442
|
+
TaskStartInput,
|
|
443
|
+
TaskStartRequestInput,
|
|
444
|
+
TaskStartResult,
|
|
445
|
+
TaskStatusInput,
|
|
446
|
+
TaskStatusResult,
|
|
447
|
+
TaskToolDefinition,
|
|
448
|
+
TaskToolError,
|
|
449
|
+
TaskToolErrorKind,
|
|
450
|
+
TaskToolHandlerBinding,
|
|
451
|
+
TaskToolName,
|
|
452
|
+
TaskToolRef
|
|
453
|
+
} from './task-tools'
|
|
268
454
|
export { checkFirstPushDispatchGate, parseTaskBranch } from './first-push-dispatch-gate'
|
|
269
455
|
export type {
|
|
270
456
|
DispatchReadinessFact,
|
|
@@ -319,5 +505,187 @@ export type {
|
|
|
319
505
|
} from './milestone-validation'
|
|
320
506
|
export { findWorkspaceEscapes } from './workspace-escape'
|
|
321
507
|
export type { WorkspaceEscapeFinding, WorkspaceEscapeReason, WorkspaceEscapeSourceFile } from './workspace-escape'
|
|
322
|
-
export { parseRationaleFields, renderBrief } from './brief-render'
|
|
508
|
+
export { extractBoundaryFilePaths, extractSourceRevision, parseRationaleFields, renderBrief } from './brief-render'
|
|
323
509
|
export type { BriefFacts, RationaleFieldKey, RenderResult, SurfaceFileFact } from './brief-render'
|
|
510
|
+
export {
|
|
511
|
+
hasObjectivesHeading,
|
|
512
|
+
isIssueNotFoundError,
|
|
513
|
+
objectivesSectionBounds,
|
|
514
|
+
objectivesVersion,
|
|
515
|
+
objectivesOf,
|
|
516
|
+
renderObjectives,
|
|
517
|
+
resolveObjectivesSource
|
|
518
|
+
} from './objectives'
|
|
519
|
+
export type { Objective, ObjectivesSource, ParsedObjectives } from './objectives'
|
|
520
|
+
export {
|
|
521
|
+
assessRound,
|
|
522
|
+
initialLoopState,
|
|
523
|
+
isPublishedSummaryComment,
|
|
524
|
+
nextRoundNumber,
|
|
525
|
+
reconstructRounds,
|
|
526
|
+
renderSummary,
|
|
527
|
+
SUMMARY_TABLE_HEADER
|
|
528
|
+
} from './dev-review-loop'
|
|
529
|
+
export type {
|
|
530
|
+
Confidence,
|
|
531
|
+
Decision,
|
|
532
|
+
DevReviewLoopEventInput,
|
|
533
|
+
FindingObservation,
|
|
534
|
+
FindingState,
|
|
535
|
+
Journal,
|
|
536
|
+
LoopConfig,
|
|
537
|
+
LoopState,
|
|
538
|
+
Observations,
|
|
539
|
+
PauseReason,
|
|
540
|
+
PendingRound,
|
|
541
|
+
ReconstructedJournal,
|
|
542
|
+
ReconstructionInput,
|
|
543
|
+
RoundOutcome,
|
|
544
|
+
RoundRecord,
|
|
545
|
+
RoundStats,
|
|
546
|
+
VerdictObservation
|
|
547
|
+
} from './dev-review-loop'
|
|
548
|
+
export {
|
|
549
|
+
buildHeader,
|
|
550
|
+
classifyStoredLine,
|
|
551
|
+
CONFIDENCE_REASON_MAX_LENGTH,
|
|
552
|
+
createFixtureStore,
|
|
553
|
+
DispatchEventSchema,
|
|
554
|
+
DevReviewLoopEventSchema,
|
|
555
|
+
EffectEventSchema,
|
|
556
|
+
ForgeOpSchema,
|
|
557
|
+
ForgeWriteEventSchema,
|
|
558
|
+
GateEventSchema,
|
|
559
|
+
GateOutcomeSchema,
|
|
560
|
+
HandoffEventSchema,
|
|
561
|
+
HeaderMetaV1Schema,
|
|
562
|
+
HeaderMetaV2Schema,
|
|
563
|
+
HeaderSchema,
|
|
564
|
+
HostSchema,
|
|
565
|
+
HOST_VALUES,
|
|
566
|
+
InputVersionsSchema,
|
|
567
|
+
KNOWN_SCHEMA_VERSIONS,
|
|
568
|
+
LineageSchema,
|
|
569
|
+
LogEventSchema,
|
|
570
|
+
OperationEventSchema,
|
|
571
|
+
OperationResultSchema,
|
|
572
|
+
ProvenanceSchema,
|
|
573
|
+
readPageFrom,
|
|
574
|
+
recordIdentity,
|
|
575
|
+
redact,
|
|
576
|
+
RoleAttemptEventSchema,
|
|
577
|
+
RoleAttemptOutcomeSchema,
|
|
578
|
+
RoleSchema,
|
|
579
|
+
ROLE_VALUES,
|
|
580
|
+
UsageEventSchema
|
|
581
|
+
} from './log'
|
|
582
|
+
export type {
|
|
583
|
+
AppendOutcome,
|
|
584
|
+
DispatchEvent,
|
|
585
|
+
DispatchOutcome,
|
|
586
|
+
DevReviewLoopEvent,
|
|
587
|
+
EffectEvent,
|
|
588
|
+
FixtureStoreOptions,
|
|
589
|
+
ForgeOp,
|
|
590
|
+
ForgeWriteEvent,
|
|
591
|
+
GateEvent,
|
|
592
|
+
GateOutcome,
|
|
593
|
+
HandoffEvent,
|
|
594
|
+
Header,
|
|
595
|
+
HeaderInput,
|
|
596
|
+
HeaderMetaV1,
|
|
597
|
+
HeaderMetaV2,
|
|
598
|
+
Host,
|
|
599
|
+
InputVersions,
|
|
600
|
+
Lineage,
|
|
601
|
+
LogEvent,
|
|
602
|
+
LogStore,
|
|
603
|
+
OperationEvent,
|
|
604
|
+
OperationResult,
|
|
605
|
+
OverflowDiagnostic,
|
|
606
|
+
Provenance,
|
|
607
|
+
ReadDiagnostics,
|
|
608
|
+
ReadPage,
|
|
609
|
+
ReadRecord,
|
|
610
|
+
RecordIdentity,
|
|
611
|
+
ReviewFinding,
|
|
612
|
+
Role,
|
|
613
|
+
RoleAttemptEvent,
|
|
614
|
+
RoleAttemptOutcome,
|
|
615
|
+
Subject,
|
|
616
|
+
UsageEvent,
|
|
617
|
+
UsageUnits
|
|
618
|
+
} from './log'
|
|
619
|
+
export {
|
|
620
|
+
acquireOwnership,
|
|
621
|
+
appendTransition,
|
|
622
|
+
CONTROL_RECORD_VERSION,
|
|
623
|
+
consumeResolutionOnce,
|
|
624
|
+
defaultControlStoreDeps,
|
|
625
|
+
defaultIsPidAlive,
|
|
626
|
+
InvalidEffectKeyError,
|
|
627
|
+
InvalidEscalationIdError,
|
|
628
|
+
InvalidRunIdError,
|
|
629
|
+
listStartedEffectKeys,
|
|
630
|
+
markEffectUncertain,
|
|
631
|
+
migrateLegacyTask,
|
|
632
|
+
mkdirNoSymlinks,
|
|
633
|
+
normalizeOutcome,
|
|
634
|
+
parseEffectRecord,
|
|
635
|
+
parseEscalationRecord,
|
|
636
|
+
parseInputRecord,
|
|
637
|
+
parseLoopStateRecord,
|
|
638
|
+
parseManifestRecord,
|
|
639
|
+
parseOwnershipRecord,
|
|
640
|
+
parseResolutionRecord,
|
|
641
|
+
parseRunRecord,
|
|
642
|
+
parseTransitionRecord,
|
|
643
|
+
readCurrentOwnership,
|
|
644
|
+
readEffect,
|
|
645
|
+
readEscalation,
|
|
646
|
+
readInput,
|
|
647
|
+
readLoopState,
|
|
648
|
+
readManifest,
|
|
649
|
+
readResolution,
|
|
650
|
+
readRun,
|
|
651
|
+
readTransitions,
|
|
652
|
+
StaleEpochWriteError,
|
|
653
|
+
CONTROL_AREA_DIRNAME,
|
|
654
|
+
writeEffect,
|
|
655
|
+
writeEscalation,
|
|
656
|
+
writeInput,
|
|
657
|
+
writeLoopState,
|
|
658
|
+
writeManifest,
|
|
659
|
+
writeRun
|
|
660
|
+
} from './control-store'
|
|
661
|
+
export type {
|
|
662
|
+
AcquireResult,
|
|
663
|
+
ConsumeResolutionResult,
|
|
664
|
+
ControlRecord,
|
|
665
|
+
ControlStoreDeps,
|
|
666
|
+
EffectInput,
|
|
667
|
+
EffectRecord,
|
|
668
|
+
EffectStatus,
|
|
669
|
+
EscalationInput,
|
|
670
|
+
EscalationRecord,
|
|
671
|
+
InputInput,
|
|
672
|
+
InputRecord,
|
|
673
|
+
LoopBudgets,
|
|
674
|
+
LoopStateInput,
|
|
675
|
+
LoopStateRecord,
|
|
676
|
+
ManifestInput,
|
|
677
|
+
ManifestRecord,
|
|
678
|
+
MigrationResult,
|
|
679
|
+
NormalizedOutcome,
|
|
680
|
+
OutcomeSignals,
|
|
681
|
+
OwnershipRecord,
|
|
682
|
+
ParsedRecord,
|
|
683
|
+
ResolutionInput,
|
|
684
|
+
ResolutionRecord,
|
|
685
|
+
RoundHeadIdentity,
|
|
686
|
+
RunInput,
|
|
687
|
+
RunRecord,
|
|
688
|
+
TaskOutcomeStatus,
|
|
689
|
+
TransitionInput,
|
|
690
|
+
TransitionRecord
|
|
691
|
+
} 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
|