Skip to main content

Cortex task feedback and Notes

Status: Ready

Truth label: Current

Audience: Fleet operator

Reader outcome: Use cortex task feedback and Notes in Cortex, with every control, its verification, and its limits stated.

Last verified: 2026-09-13

Use the thumbs buttons or Feedback history on a completed or failed task in Overview. The editor shows the exact task ID, current rating/comment and prior feedback. Save a new rating to correct the current one. Earlier feedback remains readable and exportable. Positive, neutral and negative ratings are available; legacy values 2 through 5 remain readable and selectable.

Choose Whole task or One attempt, then load that target. The attempt field uses its exact run ID; the current run is suggested when available. Task ratings apply to linked learning without a more specific attempt rating. Attempt ratings apply only to learning carrying that exact task/run pair. Legacy learning with no run ID is not guessed into an attempt. New worker learning saves its run ID.

Cortex reports how many learning records received the current rating, when none matched, or when a derived update failed. A task-level correction preserves more specific attempt ratings. Rating metadata changes do not re-embed lesson text. A new rating version corrects the current judgment while retaining prior events. Choose Neutral to remove that target's positive or negative weighting.

New feedback is canonical in feedback.sqlite3. The feedback index and lesson rating metadata are derived copies. Cortex supplies request IDs and revision checks, so a lost response can be retried without another event and a stale editor cannot overwrite a newer target rating. Older clients can still append without a request ID. Their retries do not gain deduplication automatically.

Retry learning/index updates applies current ratings and retries failed event indexing without creating more feedback. Both failure types remain visible in history. New learning for a rated task triggers reconciliation. SQL and Chroma are separate stores; a derived update can fail after the canonical rating was saved. The UI reports that condition rather than claiming the rating affected recall. Feedback remains readable when the vector service is unavailable; legacy index history is then marked unavailable.

Use Load more feedback for older target events. Export identifies the target, loaded count and incomplete history. Legacy vector feedback remains readable alongside canonical events, without rewriting or inventing attempt IDs. Global legacy browsing uses a bounded window; opening a task reads its exact matches. Retention controls and a durable background projection queue remain follow-through. These ratings do not approve writing examples or establish a causal method or model improvement.

Positive and negative task-learning factors already run through shared source filtering for chat, tools and previews. Their current values are fixed at 1.2 and 0.5; a neutral rating uses 1. Policy editing and visible score components remain retrieval work.

Both the Chat Note button and Memory's note editor now save to the notes collection. Browse Notes in Memory to inspect or edit them. The unused search_memories tool and writer helper were removed. Its legacy memory collection remains registered so existing data roots open; conversation and CPMI recall remain available.

Verification uses a private real Chroma store with fake embeddings. It covers lessons beyond record 100, all matching lessons, feedback beyond record 1,000, rating correction/history, no match, projection failure, and removal of the unused tool. The Cortex browser check verifies ratings, updates, history/export, unmatched status, Notes placement, and reload. No live operator data is changed.

For voice and chat, use reply ratings. Those records target an exact chat turn and do not update task-linked lessons or retrieval weights.

Exact artifacts and lessons​

Choose Rate this version in retained deliverables or Rate lesson in Memory. Output feedback in Manage Cortex browses all saved targets with paging, including withdrawn judgments and historical versions. Search results with a retained lesson ID also expose the rating action. Comments, corrections, withdrawal and export are available in this editor. Stale edits preserve your unsaved comment.

Artifact identity includes the run ID, path, version and SHA-256. Brain asks Central for the retained file and its actual task lineage before accepting an active rating. Unretained bytes and mismatching hashes cannot receive an exact artifact judgment. Text evidence is copied into feedback history up to 128,000 characters, with an explicit completeness flag. Binary ratings retain identity, not another binary copy. Each version has independent history. Artifact ratings are annotations; they do not silently rate a whole attempt or infer which lesson came from that artifact.

Lesson identity includes its ID and a hash of the entire text. Shared retrieval applies the current active exact-text judgment after scope filtering and before ranking. It takes precedence over an attempt or whole-task rating. Neutral overrides that broader weighting with a factor of 1. Withdrawing the judgment restores the broader rating. Edited text needs its own review. No old lesson judgment is projected onto edited bytes, and no lesson text is re-embedded to apply this override. Memory browse also shows the effective rating. Retrieval traces identify the judgment used.

New output judgments and their evidence live in the same feedback SQLite database. They are not embedded as factual or voice learning. Successful request retries remain readable after source deletion or Central downtime. New active saves recheck the source; withdrawal uses retained history and can work after deletion. History/export remains available offline from Central and Chroma. A source can change after the save-time check because those stores do not share a transaction; subsequent lesson retrieval checks the current text hash again. If the rating database cannot be read, retrieval reports that event and uses existing task/attempt weights.

The focused checks cover exact-text precedence, edits, neutrality, withdrawal, deleted-source retries, concurrent corrections, pagination, binary hashes, server lineage, shared retrieval and API validation. The browser workflow covers the operator controls against private Chroma and Central stores. Large legacy Memory Paged collection browsing and correction history now ship. Bulk retention policies remain separate work.

Shared search ranks candidate sets of at most 512 records directly from retained vectors using the collection's L2, cosine or inner-product distance. This includes small filtered subsets of larger collections. It avoids a reproduced local Chroma case where a metadata-updated lesson remained readable by ID but disappeared from approximate search. No retained text is re-embedded. Traces mark exact_small_set; larger candidate sets retain approximate search. This is bounded retrieval behavior, not evidence that overall recall or writing quality improved. Chroma's supported update API remains the metadata-write path. Large-set recall and the upstream omission still need evaluation.

Memory collection corrections now preserve before/after evidence, failed writes and guarded restoration. Restoring exact earlier lesson text can reactivate an applicable existing exact-text judgment. See Memory collections.