Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(find_pages): classify find_pages in the read-trust registry (labeled, as list_pages), the coverage ledger, the source-isolation matrix and the remote redaction sweep (#7191)
garrytan4c97d41ea8a7
diff --git a/src/core/eligibility/registry.ts b/src/core/eligibility/registry.tsindex d715fcfadf..13241aab16 100644--- a/src/core/eligibility/registry.ts+++ b/src/core/eligibility/registry.ts@@ -30,7 +30,7 @@ export const OP_READ_TRUST: Readonly<Record<string, ReadTrustHandling>> = {get_chunks: 'filtered', get_timeline: 'filtered', takes_list: 'filtered', takes_search: 'filtered',assemble_evidence: 'filtered',entity: 'labeled', synthesize: 'labeled', think: 'labeled',- search_by_image: 'labeled', list_pages: 'labeled', volunteer_context: 'filtered',+ search_by_image: 'labeled', list_pages: 'labeled', find_pages: 'labeled', volunteer_context: 'filtered',get_versions: 'labeled', get_raw_data: 'labeled', resolve_slugs: 'labeled',get_recent_salience: 'labeled', find_anomalies: 'labeled', get_recent_transcripts: 'labeled',find_orphans: 'labeled', traverse_graph: 'labeled', get_links: 'labeled', get_backlinks: 'labeled',diff --git a/test/operations-coverage-ledger.test.ts b/test/operations-coverage-ledger.test.tsindex c6f5c2b0bd..1dfad39152 100644--- a/test/operations-coverage-ledger.test.ts+++ b/test/operations-coverage-ledger.test.ts@@ -38,6 +38,7 @@ const LEDGER: Record<string, string> = {put_pages: 'test/put-pages-batch.test.ts',delete_page: 'test/pages-source-scoping-4329.test.ts',list_pages: 'test/list-pages-truncation.test.ts',+ find_pages: 'test/page-lookup-7191.test.ts',restore_page: 'test/pages-source-scoping-4329.test.ts',purge_deleted_pages: 'test/operations-trust-boundary.test.ts',purge_fact: 'test/purge-fact.test.ts',diff --git a/test/operations-source-isolation-matrix.test.ts b/test/operations-source-isolation-matrix.test.tsindex f40dddb4aa..978f5378f4 100644--- a/test/operations-source-isolation-matrix.test.ts+++ b/test/operations-source-isolation-matrix.test.ts@@ -153,6 +153,7 @@ const MATRIX: Row[] = [expectScoped: r => { expect(r === null || leakToken(r) === null).toBe(true); } },{ name: 'entity_identity_list', mode: 'isolated', args: {} },{ name: 'list_pages', mode: 'isolated', args: { limit: 100 } },+ { name: 'find_pages', mode: 'isolated', args: { pattern: '*', limit: 100 } },{ name: 'search', mode: 'isolated', args: { query: 'BETAMARKER', limit: 20 } },{ name: 'query', mode: 'isolated', args: { query: 'BETAMARKER', limit: 20 } },{ name: 'assemble_evidence', mode: 'isolated', args: { hits: [{ source_id: 'srcbeta', slug: 'notes/beta-note', chunk_id: 0 }], return_unit: 'page' } },diff --git a/test/retrieval-op-redaction.test.ts b/test/retrieval-op-redaction.test.tsindex 9d39de76c6..fb762a5333 100644--- a/test/retrieval-op-redaction.test.ts+++ b/test/retrieval-op-redaction.test.ts@@ -134,6 +134,7 @@ const SWEEP: Record<string, Row> = {entity: { args: { name: 'people/alice-example' } },synthesize: { skip: 'LLM-backed; keyless test env returns no composition. Wrapper coverage is the registration test below.' },list_pages: { args: { limit: 100 } },+ find_pages: { args: { pattern: '*', limit: 100 } },search: { args: { query: 'PLANTMARK note body', limit: 20 } },query: { args: { query: 'PLANTMARK note body', limit: 20 } },assemble_evidence: { args: { hits: [{ source_id: SRC, slug: 'notes/n1', chunk_id: 0 }], return_unit: 'page' } },