-
Notifications
You must be signed in to change notification settings - Fork 2
plat 333
| Coordination | Value |
|---|---|
| Ticket state | implemented; deployment pending |
| Last synchronized | 2026-09-21 |
| Priority | P0 direction |
The file/run-based workflow evaluation subsystem is being deleted per
eval_removal_plan.md. A mandatory
replacement migration (contract 1.0.43: every workflow gains a
measurement-router → measure-outcomes route plus a workflow_metrics
table) was implemented, then rejected in final review before shipping.
- [P0] The migration imposed unnecessary topology: many steps already calculate and store the outcomes Pulse needs.
-
[P0] The proposed router cannot be created: one routing step per
workflow, and routes may not point directly at
end. -
[P0] The migration used the nonexistent
add_regular_steptool (the realadd_scripted_stepdoes not create the requiredmain.py). -
[P1] An appended router does not connect every execution path
(routes, branches, explicit
next_step_id: "end"edges bypass it). -
[P1]
workflow_metricswas documentation only: no runtime code reads or writes it. Pulse and Goal Advisor consumeworkflow_goal_metrics/pulse_goal_observationsthroughget_goal_metrics. -
[P1] Table-scoped DB authorization does not exist (steps get
database-wide read-write), and
RUN_FOLDERreusesiteration-0, so the promised permissions and immutable measurement identity were unachievable. - [P2] The migration test only checked prompt strings, so the suite stayed green despite the migration being unusable.
No mandatory route, step, or table. Any normal step or scheduled collector
may produce a run-scoped, evidence-backed measurement; Pulse does not depend
on which step or route produced it. Per legacy eval: reuse a producer's DB
output, add record_goal_observations only for Pulse history, localize to
routes, converge or dedicate a step only when genuinely required, otherwise
change nothing, and flag ambiguity for manual migration. Old evaluation
artifacts stay read-only history.
Commit f13173f80 is pushed to main.
- Deleted the 1.0.43 migration and its prompt; the upgrade chain ends at
1.0.41, with 1.0.42 retained as the current historical marker. Versions
1.0.41, 1.0.42, and an already-stamped 1.0.43 are execution-compatible, so
no workflow is blocked merely to advance through either retired checkpoint.
Added
TestNoUpgradeMandatesMeasurementTopology, a full-chain guard against the rejected topology or evaluation-retirement turn returning. - Rewrote
measurement-plan.md, the Goal Advisor/optimizer prompts, eight guidance templates, and theMetricSourceschema to the flexible contract (producer outputs + goal observations). - Scrubbed live eval path/endpoint references from active docs and schemas
(e.g.
workflow_monitoring.mdclaimed the removed/api/workflow/evaluation-reportsendpoint was current). - Deleted the orphaned
PulseEvalSummarybundles as part of the evaluation subsystem removal.
- Focused workflow-contract, schedule, manual-run, and webhook regression tests cover the retired-version compatibility window.
- The full-chain guard rejects any return of the 1.0.43 turn or the rejected mandatory measurement topology.
-
go test ./cmd/server -run 'Test.*(Upgrade|Contract|Webhook)' -count=1passes, along with the focused schedule/manual/webhook suite, pre-commit lint, the Go build, workspace build, and Electron build.
Auto-synced from docs/ on main. Edit there, not here.