Repository navigation
test(workflows): validate real JS fact-check pipeline and lifecycle limits - #282
Merged
Merged
Conversation
yanpgwang
marked this pull request as ready for review
October 26, 2026 13:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem, rationale, and scope
A two-Agent QuickJS proof does not establish that the dynamic-workflow cookbook's computational pattern works. This research slice exercises independently authored frozen JS for extract → per-item verify → conditional skeptic → final report through actual QuickJS, Run pump, PG frontier/receipts, outboxes and Thread runner. It explicitly demonstrates that the full public user loop remains unavailable; it does not claim CMA parity or a live/upstream notebook run.
What changed
Verification
7397538af3b69a43cd356299c15d52bf8344ac4a, diff SHA-25672a73fc9b9df09b762751b5a85fd44d092a068d9df7102410f1fd430769cd103.-race(102.684s), with 16/16/12 business invocations and 33/33/25 journal decisions.make test-service-corepassed: PG107.593s, Temporal74.184s; NATS/S3/core packages passed.make verifypassed: zero lint issues, unit/race tests and vet.make docs-checkpassed: 70 pages with links, anchors, assets, search and Markdown exports.make test-workflow-quickjs-integrationtarget passed in full (58.770s): all seven original real-JS cases, three fact-check schedules and lifecycle probes.API impact and design provenance
No public API/SDK/schema changes. Read actual pinned/current SDK08 and CMA security notebook source and saved outputs (pins and saved-script hash recorded in
docs/design/workflow-dynamic-acceptance.md). The SDK saved script uses per-item pipeline concurrency, not a global verification barrier. The security application's 17/20 → three missing repairs → three inconsistent rechecks is a different business workflow and was not executed. Pure local JS pipeline and explicit JSON parsing are stated deviations from the SDK helpers/schema option; phase UI, file tools, metadata and model routing are absent. No external SDK/client is executed or added as a dependency.Durability and security
Existing real coordination components are reused, with no second journal or agent loop. Default worker/application still enable no JS evaluator. Run terminal result, durable primary notification/final answer and aggregate lifecycle barrier remain missing. The tested QuickJS profile is one study candidate, not a production engine decision or strong-isolation qualification. Separate Run-worker replacement is not a Thread-worker hard-crash or actual server ACK-frame-loss experiment. Known response usage is counted once; lost provider work may have unobserved billed cost. Fixtures own isolated schemas/workflows/containers, and user DBs, credentials, settings and deployments are untouched.
Checklist