Repository navigation
Main's red tests follow the code they exercise, and an ignored agent_learnings ask is dropped from the request - #139
Merged
Merged
Conversation
…earnings ask leaves the request - context.pack tests: the knowledge stubs carry `tags`, which the agent-rule filter reads on every knowledge hit. - The high-sensitivity canary expects memory.get's `user_id` and `session_id`. - The Collections menu column is 52 px, as the branch table's, so the menu button's focus ring is not clipped. - memory.set_from_messages clears an `agent_learnings=true` it ignores, so the extraction and a deferred replay never see it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
5 of 6 tasks
5 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #92
Related: #89
Related: #26
Related: #126
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
...
Why
Four checks fail on main, each where a change met a test written before it or alongside it.
test_context_pack.py: two tests lose the knowledge section (KeyError: 'knowledge', and the section missing from the order). Rules a bot states about itself in a conversation become learnings candidates an admin promotes #92 made context.pack filter knowledge hits throughserved_hits(..., lambda h: h.tags, ...). A real knowledge hit always hastags; the test stubs had none, so the section raised and was left out. The stubs now carrytags=[].test_assistant_learnings.py::test_a_request_cannot_turn_filing_on[False-True-None-False-ignored0]: Rules a bot states about itself in a conversation become learnings candidates an admin promotes #92's test expects anagent_learnings=truethat the setting overrides to reach the extraction as None. The handler named it inignored_argsbut passed the request through unchanged, so the dropped ask stayed on the input and on a deferred job's stored payload. The handler now clears the field once it is ignored. The extraction's switch was already settled from the setting, so the filing result does not change. A replay reads the setting again, and true and None resolve the same way there.test_sensitivity_high_canary.py::test_payment_and_identity_numbers_are_labelled_on_write(all five cases): The sensitivity detector labels card numbers, SSNs and stated PINs high and IBANs medium, and the sweep pages its window from a per-agent cursor #89 compares memory.get's whole response to a dict. Memory conflicts are judged in the background, every automatic retirement can be listed and undone, and graph facts follow the rows that state them #26 then addeduser_idandsession_idto memory.get, and the dict did not get them. The expected dict now has both as'-', the values the stored-row check in the same test already asserts.e2e/focus-rings.spec.ts1400 px › /admin/collections: every focus ring is drawn whole: the Collections page (The dashboard lists, creates, opens and deletes collections #126) gave its menu column 48 px. The 32 px menu button's focus ring then runs 4 px past the cell's right edge, where the table clips it. The column is now 52 px, the width the code branch table gives the same menu.Scope and risk
Three test files, one table column width, and a one-line change in
memory.set_from_messages's entry. No stored data, auth or wire change.Compatibility, rollout and rollback
Tests
Diagnosed from the main CI logs.
make format lint typecheckpass. The unit, integration and frontend suites were not run locally; this PR's CI runs them.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (Claude Code): each failure was traced from its CI log to the change that caused it.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. (format, lint and typecheck locally; the suites in CI)docs/reference/configuration.mdand thedocs/reference/tables (python scripts/codegen/docs_reference.py), the reach manifest,schemas/schema.sql(make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).main; no merged migration is edited.hooks/,lib/,bin/,skills/,.mcp.json, the Codexplugin-defaults.json) bumps both plugin manifests' version, and no other open PR uses that version.npm --prefix frontend run build) and its tests pass, iffrontend/changed. (CI)docs/describe the system as it now is, and this description names any operator steps and wire changes.tests/unit/test_public_copy.py).git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code