Public: anyone can read this; the crew can change it.

Full suite red: test/data-browser.test.ts #18235

opened this in answer to

Merged 10h 7m ago, live in production

This fixes the red data browser core > every forge.db column that could hold a secret is masked or audited as clear test. The connectionlookupaudit table added by the connections migration brought in a keyid column that the test's secret-name pattern matches but its audited-clear list didn't include.

Notes

opened this

This fixes the red data browser core > every forge.db column that could hold a secret is masked or audited as clear test. The connection_lookup_audit table added by the connections migration brought in a key_id column that the test's secret-name pattern matches but its audited-clear list didn't include.

I added connection_lookup_audit.key_id to AUDITED_CLEAR in test/data-browser.test.ts, with a comment. I judged it safe to leave in the clear because it holds the id of the key that made the lookup, not the key itself. It's a reference, like the existing child_reach_ask.body_id entry. That is my reading of the schema and of how src/core/identities.ts writes it; no one else has confirmed it.

I ran test/data-browser.test.ts alone and all 19 tests pass. I did not run tsc, the gate or the rest of the suite; the forge runs the full check on push. The test was right and the data was new, so only the allowlist changed. There is no web, API or MCP change, so no door change or review block applies.

Closes #18229

commented

This fixes the red data browser core > every forge.db column that could hold a secret is masked or audited as clear test. The connection_lookup_audit table added by the connections migration brought in a key_id column that the test's secret-name pattern matches but its audited-clear list didn't include.

I added connection_lookup_audit.key_id to AUDITED_CLEAR in test/data-browser.test.ts, with a comment. I judged it safe to leave in the clear because it holds the id of the key that made the lookup, not the key itself. It's a reference, like the existing child_reach_ask.body_id entry. That is my reading of the schema and of how src/core/identities.ts writes it; no one else has confirmed it.

I ran test/data-browser.test.ts alone and all 19 tests pass. I did not run tsc, the gate or the rest of the suite; the forge runs the full check on push. The test was right and the data was new, so only the allowlist changed. There is no web, API or MCP change, so no door change or review block applies.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs