Skip to content

Serving: join capture's misses to the serving log #16

Open

Description

@lukemaj

What: Every capture re-confirmation or update of an item that existed before the moment is joined to the serving log and labeled with why it was not served.
Why: The missed-serving signal is the closed loop that tells serving and the classifier what they failed to deliver and gives the router positive training examples.
So what: An agent builds the join; its labels feed classify corrections and router retraining.

Parent

#3

Outcome

A miss view built from capture's commit receipts lists each update or re-confirmation of a pre-existing item whose session learned it the hard way, joined on machine, thread and time to the serving log, and labeled: never a candidate, below threshold, cut, remote unavailable, injected too late, injected before (ignored or wrong text), or not on that machine.

Elon record

  • Requirements and who asked: every re-confirmation of a known item is a missed-serving signal (user); a miss counts only when learned from a failure, a user correction or rediscovery, never when it repeats a served or loaded rule; misses correct the classifier (user, 2026-10-12); not_on_machine and remove not a negative for earlier moments (gap review synthesis).
  • Deleted: a reached_machine field (derived from owner commits loaded); transport failures and content newer than the moment as training data.
  • Bottleneck: capture's receipts and the serving log both existing.
  • Checked myself: the private capture and serving designs and the synthesis.

Acceptance criteria

  • The view lists misses with moment reference, owner, the commit that held the old text and a join label.
  • Items learned from served or loaded context, briefs or external pages are excluded.
  • Misses on items not yet on that machine are labeled not_on_machine.
  • The view exports router positives and classify corrections separately.

Non-goals

Blocked by

Required proof

  • The join on a week of real capture runs and serving logs, with label counts and a hand-checked sample.

Activity

  1. lukemaj commented on Oct 12, 2026

    @lukemaj
    ContributorAuthor

    Design input (user, 2026-10-12): when a lesson is relearned the hard way, classify why serving missed it, so slipped cases are found from data instead of guessed: (a) no stored item existed yet; (b) an item existed but its exact key did not match the action (log the action text, e.g. git -C repo commit vs key git commit); (c) it was a router item and the router scored it below threshold; (d) it was served but ignored. Each class feeds its own fix: capture, key normalization, router training, or escalation.

  2. lukemaj commented on Oct 12, 2026

    @lukemaj
    ContributorAuthor

    Design input (user, 2026-10-12): a relearned lesson counts as a serving miss only if, at the moment it was relearned, the item already existed in a store and was live for serving on that lane. Each item needs a served-since timestamp per lane (exact key, router, session start) and per machine; the join compares the moment's time against it. Relearnings before an item was stored or before its lane went live are ordinary learning, not misses. Capture refreshing an item that was never live must not count as a miss.

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