mirror of
https://github.com/different-ai/openwork.git
synced 2026-11-28 23:32:20 +08:00
* test(evals): replace evals/specs with core journeys per product promise Delete unit and integration tests that leaked into evals/specs, fold the remaining e2e specs into 60 core journeys under evals/core (one or more per promise in evals/promises.ts), and retire evals/specs. spec-lint (evals/scripts/spec-lint) replaces the boundary and channel ratchets: no baselines, one bad fixture per rule, and every error says what to do instead and which core journey to extend. Tooling (test-files, journey catalog, pr-proof, parity runner) finds journeys by basename in core/ and proofs/. * test(evals): drop polynomial regexes from journey behaviors * ci(evals): run the full core journey suite in its own workflow PR proof caps changed specs at 32. A PR made only of core journeys and proofs over that cap keeps the core chat journey as PR proof; the new Core journeys workflow runs every non-packaged journey nightly, on demand, and on a PR that changes the workflow. * test(evals): cut e2e to nine core journeys; move security rules to den-api API tests - evals/core keeps the nine journeys in evals/journeys.ts; promises.ts, sharedWorlds and every other core journey are gone, along with the worlds and behaviors only they used (187 -> 28 world files). - spec-lint shrinks to three rules: allowed-files, real-product, honest. - Security rules (escalation, tenant isolation, member API keys, admin-only actions, MCP OAuth, skill access, audit secrets) are now 23 API tests in ee/apps/den-api/test/api against the real app and a throwaway MySQL database (~14s), run in CI next to the Den unit tests. - Core journeys run on every PR and nightly; packaged smoke runs only app-smoke and packaged-update-install. - New verify-openwork skill: how to prove a change on the real product. * test(evals): fix three core journeys found red on their first CI run - secure-keys-in-chat declares the web surface its world now uses. - agent-connection-journey stops clicking a folded 'Show steps' button the chat no longer renders for single-call runs (#5547). - thread-restart world stops the leftover renderer dev server before waiting for its port, and fails if app processes outlive a quit. - core-chat runs only in the PR Core journey lane (it needs a Freestyle world). * test(evals): drop journey steps the den-api API tests now prove secure-keys-in-chat no longer re-proves member key isolation, team-leave key removal and redirect/echo redaction through the UI; ee/apps/den-api/test/api covers them in seconds. thread-continues-after-restart drops the folded ArrowUp prompt-recall step, which is not part of surviving a restart. * test(evals): retire remote-session-subagents spec after its PR proof #5975 added it to the retired evals/specs; its proof already ran on that PR. Also removes a world no spec uses. * test(evals): drop the stale slow-history restart case The app no longer issues the uncapped history read that case slowed down (0 delayed reads in CI), so it could not fail on the behavior it named. The crash and quit cases keep the user-visible claim.