Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge remote-tracking branch 'origin/capy/gbra218-member-reads' into capy/gbra218-folder-rules
garrytan63df2cd2a0b7
diff --cc test/fixtures/goldens/catalog/pglite-engine-init-default.jsonindex 3a4d0c53ca,c9fc2d764d..ee923b4825--- a/test/fixtures/goldens/catalog/pglite-engine-init-default.json+++ b/test/fixtures/goldens/catalog/pglite-engine-init-default.json@@@ -1713,67 -1670,8 +1713,67 @@@"5 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()","6 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"],- "flags": "relkind=r rls=false force_rls=false"+ "flags": "relkind=r rls=true force_rls=false"},+ "access_pending_coverage": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 prefix text/text NOT NULL",+ "3 reason text/text NOT NULL",+ "4 revision bigint/int8 NULL",+ "5 detail jsonb/jsonb NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_migrations": {+ "columns": [+ "1 id text/text NOT NULL",+ "2 source_id text/text NOT NULL",+ "3 direction text/text NOT NULL",+ "4 phase text/text NOT NULL",+ "5 receipts jsonb/jsonb NOT NULL DEFAULT '{}'::jsonb",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_revisions": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 revision bigint/int8 NOT NULL",+ "3 rules jsonb/jsonb NOT NULL",+ "4 digest text/text NOT NULL",+ "5 change_kind text/text NOT NULL",+ "6 origin text/text NOT NULL",+ "7 operation_id text/text NULL",+ "8 proposed_by text/text NULL",+ "9 approved_by text/text NULL",+ "10 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "11 applied_at timestamp with time zone/timestamptz NULL",+ "12 approved_at timestamp with time zone/timestamptz NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_state": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_rules": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 rule_id text/text NOT NULL",+ "3 prefix text/text NOT NULL",+ "4 readable_by ARRAY/_text NOT NULL",+ "5 revision bigint/int8 NOT NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 created_by text/text NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },"access_tokens": {"columns": ["1 id uuid/uuid NOT NULL DEFAULT gen_random_uuid()",diff --cc test/fixtures/goldens/catalog/pglite-engine-init-fts-portuguese.jsonindex 93c5fdf920,cc2e56f060..5583790335--- a/test/fixtures/goldens/catalog/pglite-engine-init-fts-portuguese.json+++ b/test/fixtures/goldens/catalog/pglite-engine-init-fts-portuguese.json@@@ -1713,67 -1670,8 +1713,67 @@@"5 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()","6 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"],- "flags": "relkind=r rls=false force_rls=false"+ "flags": "relkind=r rls=true force_rls=false"},+ "access_pending_coverage": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 prefix text/text NOT NULL",+ "3 reason text/text NOT NULL",+ "4 revision bigint/int8 NULL",+ "5 detail jsonb/jsonb NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_migrations": {+ "columns": [+ "1 id text/text NOT NULL",+ "2 source_id text/text NOT NULL",+ "3 direction text/text NOT NULL",+ "4 phase text/text NOT NULL",+ "5 receipts jsonb/jsonb NOT NULL DEFAULT '{}'::jsonb",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_revisions": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 revision bigint/int8 NOT NULL",+ "3 rules jsonb/jsonb NOT NULL",+ "4 digest text/text NOT NULL",+ "5 change_kind text/text NOT NULL",+ "6 origin text/text NOT NULL",+ "7 operation_id text/text NULL",+ "8 proposed_by text/text NULL",+ "9 approved_by text/text NULL",+ "10 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "11 applied_at timestamp with time zone/timestamptz NULL",+ "12 approved_at timestamp with time zone/timestamptz NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_state": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_rules": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 rule_id text/text NOT NULL",+ "3 prefix text/text NOT NULL",+ "4 readable_by ARRAY/_text NOT NULL",+ "5 revision bigint/int8 NOT NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 created_by text/text NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },"access_tokens": {"columns": ["1 id uuid/uuid NOT NULL DEFAULT gen_random_uuid()",diff --cc test/fixtures/goldens/catalog/pglite-engine-init-high-dims.jsonindex f6c22dfcca,e0fc703f4f..5aabe27aea--- a/test/fixtures/goldens/catalog/pglite-engine-init-high-dims.json+++ b/test/fixtures/goldens/catalog/pglite-engine-init-high-dims.json@@@ -1709,67 -1666,8 +1709,67 @@@"5 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()","6 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"],- "flags": "relkind=r rls=false force_rls=false"+ "flags": "relkind=r rls=true force_rls=false"},+ "access_pending_coverage": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 prefix text/text NOT NULL",+ "3 reason text/text NOT NULL",+ "4 revision bigint/int8 NULL",+ "5 detail jsonb/jsonb NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_migrations": {+ "columns": [+ "1 id text/text NOT NULL",+ "2 source_id text/text NOT NULL",+ "3 direction text/text NOT NULL",+ "4 phase text/text NOT NULL",+ "5 receipts jsonb/jsonb NOT NULL DEFAULT '{}'::jsonb",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_revisions": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 revision bigint/int8 NOT NULL",+ "3 rules jsonb/jsonb NOT NULL",+ "4 digest text/text NOT NULL",+ "5 change_kind text/text NOT NULL",+ "6 origin text/text NOT NULL",+ "7 operation_id text/text NULL",+ "8 proposed_by text/text NULL",+ "9 approved_by text/text NULL",+ "10 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "11 applied_at timestamp with time zone/timestamptz NULL",+ "12 approved_at timestamp with time zone/timestamptz NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_state": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_rules": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 rule_id text/text NOT NULL",+ "3 prefix text/text NOT NULL",+ "4 readable_by ARRAY/_text NOT NULL",+ "5 revision bigint/int8 NOT NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 created_by text/text NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },"access_tokens": {"columns": ["1 id uuid/uuid NOT NULL DEFAULT gen_random_uuid()",diff --cc test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.jsonindex ff2740fcfe,1659a74967..81a01936ec--- a/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.json+++ b/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.json@@@ -1713,67 -1670,8 +1713,67 @@@"5 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()","6 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"],- "flags": "relkind=r rls=false force_rls=false"+ "flags": "relkind=r rls=true force_rls=false"},+ "access_pending_coverage": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 prefix text/text NOT NULL",+ "3 reason text/text NOT NULL",+ "4 revision bigint/int8 NULL",+ "5 detail jsonb/jsonb NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_migrations": {+ "columns": [+ "1 id text/text NOT NULL",+ "2 source_id text/text NOT NULL",+ "3 direction text/text NOT NULL",+ "4 phase text/text NOT NULL",+ "5 receipts jsonb/jsonb NOT NULL DEFAULT '{}'::jsonb",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 updated_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_revisions": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 revision bigint/int8 NOT NULL",+ "3 rules jsonb/jsonb NOT NULL",+ "4 digest text/text NOT NULL",+ "5 change_kind text/text NOT NULL",+ "6 origin text/text NOT NULL",+ "7 operation_id text/text NULL",+ "8 proposed_by text/text NULL",+ "9 approved_by text/text NULL",+ "10 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "11 applied_at timestamp with time zone/timestamptz NULL",+ "12 approved_at timestamp with time zone/timestamptz NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_policy_state": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },+ "access_rules": {+ "columns": [+ "1 source_id text/text NOT NULL",+ "2 rule_id text/text NOT NULL",+ "3 prefix text/text NOT NULL",+ "4 readable_by ARRAY/_text NOT NULL",+ "5 revision bigint/int8 NOT NULL",+ "6 created_at timestamp with time zone/timestamptz NOT NULL DEFAULT now()",+ "7 created_by text/text NULL"+ ],+ "flags": "relkind=r rls=true force_rls=false"+ },"access_tokens": {"columns": ["1 id uuid/uuid NOT NULL DEFAULT gen_random_uuid()",