Skip to content

Serving: label served moments as irrelevant, followed, ignored or wrong #15

Open

Description

@lukemaj

What: A daily sample of served moments is labeled irrelevant, followed, ignored or wrong by one judge that the user checks with 10 labels a week.
Why: A missed serving shows only what was not served; ignored serves, false fires and wrong or stale items need their own signal, and that signal must agree with the user.
So what: An agent builds the labeler; the user labels 10 served moments a week as its check.

Parent

#3

Outcome

Each day, an Opus-class judge reads a sample of served moments and holdout would-fires (entry, window and the following events) and labels each. Weekly agreement with the user's 10 labels is reported. Labels feed lane correction and capture's rewrites of unclear items.

Elon record

  • Requirements and who asked: one serve-outcome labeler, an Opus-class judge checked against 10 user labels a week, labeling irrelevant, followed, ignored or wrong (user, 2026-10-12); one labeler instead of separate loops for ignored, false fires and stale items (gap review synthesis).
  • Deleted: a separate "serve is wrong" report tool (a correction that contradicts a served id is the report); automatic escalation or demotion in v1.
  • Bottleneck: the serving log with delivery outcomes.
  • Checked myself: the gap reviews and synthesis; the user's decision record.

Acceptance criteria

  • A daily labeled sample covers served moments and holdout would-fires, by lane.
  • Weekly agreement with the user's 10 labels is reported, with the labels stored as private benchmark data.
  • ignored labels are trusted only for seams the canary proved.

Non-goals

  • Acting on labels automatically.

Blocked by

Required proof

  • One week of labels and the first agreement check against the user's labels.

Activity

  1. lukemaj commented on Oct 13, 2026

    @lukemaj
    ContributorAuthor

    Parked 2026-10-13 (Elon method). Only 6 hand-written AgentsMD pointer rules are served today, so measuring serving quality now would measure almost nothing. The bottleneck is capture (contextmd#8) and Cue (#13). This resumes when capture writes real entries and Cue serves; a reviewed v2 design is ready to pick up then. No user decision needed until then.

  2. lukemaj commented on Oct 13, 2026

    @lukemaj
    ContributorAuthor

    Unparked 2026-10-13 (user): the loop must be closed by the time capture starts writing, so this is built now from its reviewed v2 design. The planner took the v2 open decisions as recommended; the user's only input is ruling items in the shared weekly ruling round.

  3. lukemaj commented on Oct 13, 2026

    @lukemaj
    ContributorAuthor

    What: The first part of #15, the no-model serve evidence report, is in PR #38 at head 78583e2. It waits for the Sol and Grok reviews.
    Why: Only exact-key pointers serve today. The design decisions (2026-10-13, all taken as recommended) build the report now and the Opus judge once Cue (#13) serves.
    So what: The planner runs both reviews and merges. The judge work starts when #13 serves items with an "applies when" line.

    State

    • Branch feat/15-serve-report, worktree contextmd-worktrees/15-report, base main at a10825d, version 0.2.0.
    • Proof: 60 tests OK (17 contract tests skipped without Chromeria); versionctl release-check OK at 78583e2; a live run on one machine's log took about 1 s.
    • Review round 1 (Opus) found 2 blocking issues on ef160b3; both are fixed in 78583e2.

    Ready for when Cue goes live

    • Evidence rows (contextmd-serve report --json): one per serve, with shown, lift, late, evidence and event_id. The judge reads these. It labels only anchored rows and uses ignored only where shown is yes.
    • The no_evidence rate: the No Observer record card, with its reasons.
    • The card shape the user rules from: what happened, why it matters, then the facts, in at most 75 words. The test enforces this.

    Still to build after #13 serves

    • The Opus judge: a window bounded by the next user message or the end of the run, capped at 60 Observer events; labels irrelevant, wrong, followed, ignored, plus a scored no_governed_action; holdout serves labeled for applicability only.
    • Code-built ruling cards, up to 10 in the shared weekly ruling round, and the trust bar.
    • Private label storage in the Promachos bench/serve-outcomes/ folder.
    • wrong to reflection only after its label passes the bar.
    • Before trusting ignored on Cue context serves: Chromeria records no per-row proof that a context serve was shown. Every context serve is unproven today.

    Elon record

    • Requirements and who asked: the no-model report now and the judge after Cue; code-built cards, no Sol; up to 10 serve cards in the shared weekly round; wrong to reflection after its bar; the no_evidence rate; holdout labeled for applicability only (user, via planner, 2026-10-13).
    • Deleted: a model judge on exact-key pointers; a scheduler; a new Chromeria table.
    • Bottleneck: Cue serving (Serving: router lane live with holdout, outage handling and rollback #13).
    • Checked myself: the PR's tests and the live run; Chromeria's outcome semantics in ServingState.ts.
  4. 2 remaining items

  5. lukemaj commented on Oct 13, 2026

    @lukemaj
    ContributorAuthor

    Card gap found in the first bake (#39): window_cap blocks every label on a worker session.

    A card's window runs from the served call to the next message into the session, capped at 60 events (WINDOW_CAP). When the cap cuts the window, build sets no_evidence = "window_cap", so allowed_labels is empty and the label prompt must return null.

    Delegated worker sessions often run far more than 60 events before their next message. So every serve in such a session is unlabelable, and waiting never clears it. On 2026-10-13 both real Claude denies of the bake entry (candidates 1619 and 1672, both shown = yes, evidence = anchored) came back window_cap. Yet the governed action, the retried call, was within the first 3 events of each window.

    Proposal: a cut window should still allow the labels the present events can prove (irrelevant, wrong, followed, ignored), and withhold only no_governed_action, because absence cannot be shown in a cut window. The cut stays visible on the card (window.end = "cap").

  6. lukemaj commented on Oct 13, 2026

    @lukemaj
    ContributorAuthor

    Planner decision 2026-10-13: accept the proposal. A card whose window was cut at the event cap still allows every label its events can prove; only no_governed_action is withheld on a cut window. Reason: worker sessions routinely pass 60 events without a new message, so the strict rule blocks most real moments (first bake #39, candidates 1619 and 1672). To be built as a small PR with tests, then Sol and Grok review.

  7. lukemaj commented on Oct 14, 2026

    @lukemaj
    ContributorAuthor

    What: #245's design investigation found existing card coverage and ordering gaps that belong to #15.
    Why: The report anchors only through tool_use_id, and today's ignored gate does not distinguish actions before model consumption from actions after it.
    So what: Keep these findings under #15; #245 will handle consumption ordering for newly proven context rows and leave deny proof behavior in its stated non-goals.

    Verified from the current consumer and a read-only bestia serving-log copy: all 21 Codex user_message context deliveries in the 59-delivery sample have null tool_use_id. report.evidence only finds anchors by that ID, so prompt serves cannot become anchored even when native shown proof exists. They need a prompt-specific native anchor; #245's delivery proof alone cannot provide the existing tool-only anchor.

    Verified from card.allowed_labels and the native sequencing pattern reported by both design reviewers: a later shown fact currently makes the whole post-trigger window eligible for ignored. A model response that was already streaming can issue another tool call after the native context attachment but before a new request consumes it. #245's context consumer must carry and enforce the consumption boundary. Deny cards have the corresponding existing ordering gap and need separate deny evidence work; no real private call was judged as a breach in this investigation.

    The reviewers also observed Codex exec-ID anchors falling back to a tool_result, because the moment carries an exec ID while the Observer call carries a model call ID. The report's fallback and the card's result-trigger rendering should be evaluated here, with exact source linkage, before claiming call-level coverage.

    A released delivery having the same text as a later rollout record was observed too, but duplicate text prevents unique attribution to that released row. That observation is not proof of a lost-settle bug and is not filed as a confirmed defect.

    Requirements and who asked: Global Work requires found problems to be recorded at their owner; #15 owns honest served-action labeling and anchor coverage.
    Deleted: Changing deny proof or Observer event reads in #245; claiming a private real-rule breach; treating matching bytes as unique released-delivery attribution.
    Bottleneck: Prompt-specific anchoring and consumption ordering, rather than the yes/no fact mapping alone.
    Checked myself: report.evidence, card.allowed_labels/window construction, the 21 null-ID prompt rows in a read-only snapshot, both complete design roasts, and the revised context boundary proposal.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions