Skip to content

feat(serve): require native receipt before ignored labels - #75

Merged
lukemaj merged 1 commit into
mainfrom
fix/245-context-shown-evidence
Oct 14, 2026
Merged

lukemaj merged 1 commit into
mainfrom
fix/245-context-shown-evidence

Conversation

@lukemaj

@lukemaj lukemaj commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

What: Context serves gain native shown proof on the report and card, and ignored labels require a governed action after receipt.
Why: Hook settlement alone does not prove model receipt, and a later shown fact must not make earlier actions eligible for ignored.
So what: The consumer and Chromeria producer are merged; natural Claude rocky receipt remains acceptance on Chromeria #245 after the next ordinary build.

Read the fact through the moment's delivery key. Validate the evidence version, harness source, native IDs, slot/turn/request shape and finite ordered timestamps before exposing consumption. Missing columns, unsupported sources and malformed evidence stay unproven. The card marks actions from raw Observer timestamps and native IDs before discarding those fields; ignored must cite an eligible event. Deny behavior stays unchanged.

Proof: python -m unittest tests.test_report tests.test_card, 46 tests pass. Native report positives and the legacy-claim control failed before implementation. The earlier governed action failed the expected rejection before the card fix. Coverage includes both sources, small timestamps, malformed versions/IDs/times, unsupported harnesses, primary-key joins, earlier actions, unrelated time ties and the exact consuming call. Python 3.14 fixture ResourceWarnings occur on the base too. git diff --check and versionctl release-check pass; the compatible capability moves 1.0.0 to 1.1.0.

Old flag-only assertions now require validated consumption; deny positives remain. A tie assertion compares event IDs instead of incidental query order. Private captures remain outside source. No runtime activation, hook installation, restart or deployment.

The design is clear for build under the planner's false-positive bar. The producer's native-source and manual-thread endpoint limits remain on Chromeria #306. This validates the recorded contract; live rocky acceptance is still open. Both exact-head independent Sol and Grok findings/statuses passed before delegated merge. The declared standalone suite passes: 163 executed, 19 opt-in skips. Acceptance and merge proof: #75 (comment).

Chromeria producer PR #313 is now merged at 555f0a00198b7aba75d8e8ce13af9c7d983712f4 after fresh exact-head Sol/Grok successes and green CI. The reviewed/merged producer and consumer trees match. Both task worktrees and local/remote branches are retired and verified absent, with proof preserved outside the checkouts and both main checkouts unchanged. No runtime activation or live receipt is claimed.

Refs toolboxmd/chromeria#245
Refs #15

Requirements and who asked: The user/#245 and recipe Check/widening6 require native per-row proof and Cue ignored only after consumption; #15 owns the report and card.
Deleted: Hook settlement and claim flags as context proof, unchecked JSON positives and pre-consumption ignored; no native reread, provenance service or unrelated deny/anchor work.
Bottleneck: Natural rocky proof after the next ordinary build; both implementations, exact-head reviews, merges and task cleanup are complete.
Checked myself: Clean reconciled base, complete reviewed contract/callers, failing-before report/card cases, 46 tests, full diff/privacy check and versionctl transition/release-check; producer/consumer merged-tree identity and task resource retirement.

Implemented by Codex gpt-6.1-sol, max, in the Codex harness through T3 Code.

@lukemaj
lukemaj force-pushed the fix/245-context-shown-evidence branch from db950f7 to 42f4d66 Compare October 14, 2026 17:34
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

What: Consumer head 42f4d66349759be817d077f33dbe85b59dd092d7 is published with its map refs and both exact-head reviews pending.
Why: The report's validated native consumption must decide both the shown fact and which governed actions may be labeled ignored.
So what: Wait for independent Sol and Grok findings/statuses, finish producer integration, then merge under existing authority; live rocky proof remains on #245.

Base 5dc096cac8c0fecf548aba2b8b1886a12d226118; ContextMD 1.1.0. python -m unittest tests.test_report tests.test_card: 46 tests pass with exit 0. Before implementation, native report/legacy-claim controls failed; before the card change, an earlier governed action was accepted instead of raising LabelError. Focused proof and release-check are recorded; full-suite and live verification are not claimed. After PR creation, only three map refs were added; Git blob comparisons confirm runtime, tests, prompt, README, version and changelog are identical to the passing candidate. git diff --check and release-check pass on this final head.

No CONTRIBUTING file, delivery profile or CI workflow is declared in this repository. Website impact is none: this changes the local CLI report/card and their existing README guidance, with no website or URL. The source/parser and current checks still require both independent findings comments before their success statuses. Private traces stay outside Git.

Requirements and who asked: The user requires both independent exact-head reviews and correct native-proof/ignored behavior; the updated map rule requires the shipped part's PR refs.
Deleted: Flag-only context proof, earlier governed actions, incidental tie order, transferred design approval and repeated version transitions.
Bottleneck: Exact-head independent consumer verdicts plus the producer candidate.
Checked myself: Published PR head/base, linked PR, final map diff, equal runtime/test/version blobs, 46-test exit 0, release-check and current pending review contexts.

@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent Grok review of 42f4d66349759be817d077f33dbe85b59dd092d7 (base 5dc096cac8c0fecf548aba2b8b1886a12d226118) for toolboxmd/chromeria#245. No blocking findings.

rows() sets context and carry_print shown to yes only when consumption() accepts one integer-v1 Claude or Codex receipt. The join is moments.delivery = deliveries.delivery, and it runs when shown and shown_json both exist. claims.checked does not grant context receipt. A malformed, cross-wired, non-finite, or unsupported-harness payload stays unproven, so ignored stays closed. not_shown maps to no and leaves ignored closed.

The card copies that validated value. after_consumption is taken from the raw Observer event before ts and native_id are dropped: strictly later than consumed.at, or an exact match on the consuming id or call. allowed_labels and check_label require shown == yes, a consumption value, and a governed action whose id matches an eligible event with the same Python type. A no_evidence card still has no labels. Deny shown is unchanged. JSON and the rendered card show the source, the Claude request reference, and the unproven reason. The label prompt places the boundary at the first response output. README states the same rule. docs/map.md refs SR, SC, and SP include PR #75. VERSION is 1.1.0.

Checked the nine-file diff against design v4 section 5 and v3 section 8. PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tests.test_report tests.test_card ran 46 tests, exit 0. A scratch probe on synthetic databases checked a legacy checked flag, a planted payload field, a Grok receipt, not_shown, carry_print, and a proven no_evidence card. Python 3.14 emitted the pre-existing sqlite ResourceWarnings; no assertion failed. This is not live verification and not a CI result. The producer was outside this review.

@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

What: Independent Sol implementation review finds zero blocking findings in the ContextMD consumer at 42f4d66349759be817d077f33dbe85b59dd092d7.
Why: The native-receipt parser matches the frozen contract, and ignored requires a cited action eligible after consumption.
So what: This exact-head consumer verdict satisfies the Sol review step; the parent retains the remaining checks, Grok verdict and merge, while natural rocky acceptance stays open on Chromeria #245.

Verdict: SUCCESS, zero blocking findings in the inspected consumer scope. I did not author or change this candidate. Base 5dc096cac8c0fecf548aba2b8b1886a12d226118, branch fix/245-context-shown-evidence, target main, ContextMD 1.1.0.

Reviewed all nine changed files and surrounding report/card CLI consumers against current #245, recipe Check/widening6, v3's consumer section and authoritative v4 section 5. The strict parser rejects unsupported/mismatched sources, non-integer evidence versions, incomplete source-specific native identities, malformed consumption, nonfinite/overflowing times and contradictory ordering. Context uses the moment's delivery primary key; legacy claim flags and old/partial column sets cannot certify receipt. One validated Consumption supplies both shown and the card boundary.

The card marks raw Observer events before dropping timestamps/native IDs. Earlier actions and unrelated time ties cannot be ignored; strictly later actions and the exact consuming native ID/call can. Governed-event ID types must match, so true and "1" cannot stand in for integer 1. Every no_evidence gap still blocks all labels. Deny behavior is unchanged. Source/request/reason are visible, and the prompt/rendering describe first response output rather than request start. The SR/SC/SP map refs include PR #75; version/changelog and existing README guidance are consistent with the change.

Independent proof on this exact head:

  • 46 focused report/card tests pass, exit 0: PYTHONDONTWRITEBYTECODE=1 TMPDIR=<exclusive review scratch>/tmp/focused-head-r1 python -m unittest -v tests.test_report tests.test_card.
  • Six independent synthetic boundary probes pass, including actual CLI cards for Claude and Codex, exact response-ID ties, invalid/unsupported facts, old/partial columns, all no_evidence gaps, and unchanged fixture database bytes/mtime.
  • The original base's 35 focused tests pass. Two candidate report controls fail on that base for the expected native-proof/legacy-flag causes. The independent earlier-governed-action control also fails there with LabelError not raised, and passes on this head.
  • Exact base/head git diff --check and versionctl release-check --sha 42f4d66349759be817d077f33dbe85b59dd092d7 --version 1.1.0 --json pass. The base also emits the unclosed-SQLite fixture ResourceWarnings observed on the head.

This is focused consumer proof. No complete-suite, CI success, producer implementation, model behavior or live rocky receipt is claimed. The fresh PR remains open at the required head/base; GitHub exposes no check runs. The Grok findings comment and success status were inspected; Sol and the combined context remain pending before this publication. No new blocker was established. Prompt/exec anchors and deny ordering remain with #15; existing producer coverage/metadata follow-ups retain their scope. No candidate source mutation, merge or runtime operation was performed.

Requirements and who asked: The user/#245 require exact-head native-proof and ignored-gate review; recipe Check/widening6 requires trustworthy Cue feedback.
Deleted: Legacy flags as proof, malformed positives, pre-consumption ignored and a renewed full design/live gate.
Bottleneck: Both independent exact-head verdicts plus the parent's producer/check evidence.
Checked myself: Complete diff/consumers, current contract/adjudications and frozen hashes, 46 tests, six independent probes, 35 base tests, three intended failing-before controls, clean source, live PR/check identity and version metadata.

Reviewer Color: codex/gpt-6.1-sol/max, Codex harness through T3 Code. Status context: review/independent-sol on exact 42f4d66349759be817d077f33dbe85b59dd092d7.

@lukemaj

lukemaj commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor Author

What: Both independent reviewers cleared ContextMD consumer head 42f4d66349759be817d077f33dbe85b59dd092d7, and its declared standalone test command passes.
Why: Native receipt now supplies both the per-row shown fact and the boundary that limits ignored labels.
So what: Merge this compatible consumer under delegated authority; finish the producer and retain natural Claude rocky acceptance on Chromeria #245 for the next ordinary build.

Accepted exact-head reviews, published before their success statuses:

I read both full reports, Sol's independent probe and actual positive/failing-before logs, and verified the current PR head/base plus both newest named success statuses from the authenticated lukemaj account. The validated mapping's extra audit identities do not grant labels. The dormant not_shown render wording has no producer and grants no ignored label; leave it at the existing coverage follow-up toolboxmd/chromeria#306. The system Shown term belongs to the producer. No new design round or candidate change is needed.

Exact base 5dc096cac8c0fecf548aba2b8b1886a12d226118; clean candidate before and after. PYTHONDONTWRITEBYTECODE=1 TMPDIR=<owned scratch> python3 -B -m unittest discover -s tests -t . -v completes with exit 0: 182 discovered, 163 executed successfully and 19 declared opt-in skips. CONTEXTMD_CHROMERIA was absent: 18 real-server contract tests and the corpus twin comparison were not executed. The focused 46 report/card tests and release-check also pass. No complete cross-project integration, CI, endpoint or live model receipt is claimed. The repository declares no CI workflow; current checks are the review statuses.

ContextMD remains 1.1.0. Website impact is none because the changed surface is the local report/card CLI and existing README guidance. No deployment, installation, live-checkout update or runtime restart occurs. After merge, retain only the clean task worktree/local branch for the active producer-to-consumer integration check; implementation owner retires them after that proof. Automatic remote-branch removal is verified separately.

Requirements and who asked: The user/#245 requires exact-head Sol and Grok successes, current checks and native proof before ignored; the recipe's Check and widening step 6 require trustworthy feedback.
Deleted: Earlier design verdicts as implementation approval, unchecked JSON/legacy claim positives, pre-consumption ignored and an invented live pre-merge gate.
Bottleneck: Producer implementation/reviews and cross-project evidence remain; natural rocky acceptance follows the next ordinary build.
Checked myself: Both full verdicts and findings comments, authenticated exact-head statuses, independent probe/base regression logs, clean candidate, the declared 182-test standalone command, version proof and live repository merge capabilities.

@lukemaj
lukemaj merged commit a0ed33e into main Oct 14, 2026
3 checks passed
@lukemaj
lukemaj deleted the fix/245-context-shown-evidence branch October 14, 2026 18:03
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.

1 participant