Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds shared temporal-filter guidance and documentation explaining that kind matches record.type rather than record.kind. Example: Query decisions and events dated 2026-10-04 with knowledge_chronicle_since.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR accurately clarifies an existing Knowledge contract that current main still leaves unexplained; no introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherKnowledge exposes shared operation schemas through Gateway tool descriptors; temporal queries consume date and type filters and return eligible dated records. flowchart LR
A[Shared temporal schema] --> B[Gateway tool descriptors]
B --> C[Agent query]
C --> D[Knowledge service]
D --> E[Scoped temporal retrieval]
E --> F[Dated records]
Technical reviewBest possible solution: Merge the shared schema clarification and guide update while preserving the established filter semantics. Do we have a high-confidence way to reproduce the issue? Source confirms the missing main-branch description and differing filter comparisons; supplied Gateway traces demonstrate the distinction, but this read-only review ran no target code. Is this the best way to solve the issue? This is the smallest complete fix: explain exact type matching and omission behavior at the existing shared schema owner and in the retrieval guide. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f89b123d7fee. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +6, Tests 0, Docs +6. Total +12 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 8, 2026, 5:25 AM ET / 10:25 UTC (Revision 3). |
|
@clawsweeper re-review Added actual shipped-Gateway/CLI proof for unchanged head Immutable source-bound proof · sanitized actual command/output excerpt. The separate proof-only commit leaves the code candidate unchanged. Normal plugin startup was used; side-effect services were skipped, with no model call, real memory, production installation or model-comprehension claim. |
|
🦞👀 Re-review progress:
|
|
Built-Gateway contract proof (secretless Base: The fixture requested the real // main
{"type":"string","maxLength":64}
// candidate
{"type":"string","maxLength":64,"description":"Exact record.type filter, such as decision, event, or meeting; unlike search/lookup kind (page, claim, relationship). Omit to include all eligible dated types."}Removing only that description leaves every other input-schema field identical. The same fixed tool-call sequence then published two fictional dated claims through the real
Within each lane, returned IDs matched the actual remember receipts. Record projections were identical across lanes apart from fresh-store UUIDs. This proves the contract-text improvement and unchanged filtering, not any model-behavior improvement: the fixture made identical predetermined queries on both. The existing filter remains the exact Simplification: removed the added mock plugin-registration harness and its test-line allocation; the metadata guard is consolidated into the existing chronicle suite, preserving both existing IANA-zone cases in a table. No runtime filtering, validation limits, defaults, or storage behavior changed. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
CI classification for exact head
Local candidate validation completed: 13 chronicle tests, 14 provider-prefix stability tests, scoped TypeScript, touched-file format/lint. The contract guard fails on frozen main because its kind description is absent. The built-Gateway contract/query proof is linked in the PR body. Fresh exact-head ClawSweeper review: 5/6, no findings. Release recovery prerequisite: The single allowed retry failed again before validation:
No further rerun was requested. These are external tool-download infrastructure failures, not candidate validation failures. |
|
Landed in 578e256. Thanks @saariuslystoned. The temporal kind filter now documents that it matches record types. |
…tooling-lint-selection-20261108 * commit 'b0e90e6a4b359fff7756698067fdce4758b1907b': (38 commits) fix(android): Talk button demands a realtime provider on a native Talk setup (#191194) chore: trace first-run Gateway work and verify later replies (#195185) fix(knowledge): keep deleted messages out of reply previews (#195126) fix(agents): preserve streamed replies across Gateway restarts (#195164) perf(ci): reuse SDK transport path boundaries (#195180) fix(sandbox): avoid pauses for unchanged command checkpoints (#195120) fix(test): make retention checks portable across runtimes (#195091) fix(knowledge): clarify temporal kind filters (#194995) improve: reduce Gateway allocation while draining SQLite receipts (#195129) fix: reduce streaming CPU after reply and voice directives (#195145) fix: reduce Markdown reparsing during streamed tool-call checks (#195161) fix: restore the main dead-export gate (#195158) improve(ci): pack small UI selections into fewer jobs (#195107) fix(muse): quota and sign-in failures end with no reply (#195148) fix: allow first release push with shipped patch bytes (#195174) fix(ci): narrow single-config tooling selections (#195147) fix(packaging): reject incompatible prepublish plugin cohorts (#195152) fix(ci): prepare verified Bun before parity checks (#195155) fix: Incognito agent turns stall before execution (#195005) fix: credentialed search and speech providers work without picking a provider (#195169) ...
fix(knowledge): describe temporal kind filters as record types The temporal Knowledge tools accepted `kind` as an undescribed string, but chronicle execution compares it to the record type (chronicle.ts), not to the page, claim or relationship categories that the grep and lookup tools use. A query such as kind:"claim" therefore matched nothing. The tool schema and docs now say that `kind` is an exact record type and give examples. Filtering is unchanged. Evidence: a built Gateway with a real agent turn through the registered chronicle tool. The schema that the provider receives gives no guidance on main and names the record types with this change. kind:"claim" returns nothing and kind set to a real record type returns the dated records, on both main and this change. Details: openclaw#194995 (comment). Thanks @saariuslystoned. Co-authored-by: Ayaan Zaidi <[email protected]>
Closes #194974.
What Problem This Solves
Temporal Knowledge tools accept an exact
record.typefilter, but their schemas did not explain thatkinddiffers from thepage/claim/relationshipcategories used by search and lookup. A copiedkind: "claim"can therefore yield no dated decisions or events.The shared temporal schema now describes that existing distinction for timeline, day, and since. The retrieval guide explains it too. Accepted values and filtering remain unchanged.
Evidence
Built Gateway proof: #194995 (comment)
Separate main/candidate Gateways delivered their actual
tool_describeschemas to a local provider fixture. Main had nokinddescription; candidate names exact record types. All other input schema fields matched. Identical fixed queries over two claims published throughknowledge_rememberreturnedclaim: 0,decision: 1,event: 1, and omitted-kind: 2 on both. This is a contract-text improvement, not a claim of changed model behavior or filtering.Focused validation: chronicle suite (13 passed), provider-prefix stability suite (14 passed), scoped TypeScript, and touched-file lint (0 warnings/errors). The new contract guard fails on main because
properties.kind.descriptionis undefined. The added mock registration harness and allocation file were removed; its guard is consolidated into the existing suite, retaining both date-zone cases.Delta against frozen main
a599ca49348: production +6 net (7 added / 1 removed), tests 0 net, documentation +6. The small production growth is the one shared description; no new runtime machinery.Original fix and documentation by @saariuslystoned; maintainer follow-up supplies built-Gateway proof and test consolidation.