Skip to content

fix: preserve full stage execution tally metadata - #36

Merged
JustinJLeopard merged 1 commit into
demo-buildfrom
desktop-codex/finding8-stage-tally
Aug 10, 2026
Merged

fix: preserve full stage execution tally metadata#36
JustinJLeopard merged 1 commit into
demo-buildfrom
desktop-codex/finding8-stage-tally

Conversation

@JustinJLeopard

Copy link
Copy Markdown
Owner

Contract

Close the bounded Finding 8 observability gap without changing the user-facing or Discord detail.

  • preserve done/total done
  • emit done, failed, skipped, blocked, unverified, and total from the already validated canonical ResultTally
  • no synthesizer, Discord, tracing, vocabulary, executor, sandbox, checkpoint/B2, install, or runtime change

Evidence

  • RED: 2/2 failed only because skipped/blocked/unverified were absent
  • focused: 69 passed
  • adjacent focused: 124 passed
  • full: 546 passed + 14 subtests
  • independent exact-head P0-P2 review: PASS
  • git diff --check: PASS

Exact head: 01f1efb7d5f33142c254e1c949103c135f0558d5
Tree: 749f399adce00d3c1cc1085eebd754b0d8a136ad

Copilot AI lite review requested due to automatic review settings August 10, 2026 01:42
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
justai-demo Ready Ready Preview Aug 10, 2026 1:42am

Request Review

@JustinJLeopard
JustinJLeopard merged commit 26af7d5 into demo-build Aug 10, 2026
3 checks passed
@JustinJLeopard
JustinJLeopard deleted the desktop-codex/finding8-stage-tally branch August 10, 2026 01:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Closes the “Finding 8” observability gap by ensuring Stage 5 (“Execute”) trace metadata preserves the full, canonical ResultTally bucket breakdown while keeping the human-facing done/total done detail unchanged.

Changes:

  • Update Stage 5 trace completion to emit full canonical tally metadata (done, failed, skipped, blocked, unverified, total) sourced from ResultTally.
  • Keep the user-facing execution detail format identical ({done}/{total} done) while deriving total from the same validated tally.
  • Add regression tests ensuring Stage 5 trace metadata includes all buckets and that the displayed detail remains compact and truthful.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
justai/orchestrator.py Emits complete ResultTally buckets into Stage 5 trace metadata while preserving done/total done output text.
tests/test_completion_integrity.py Adds tests validating Stage 5 trace metadata contains every canonical bucket (including withheld/unverified) without changing the human detail.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants