Repository navigation
Exclude .browser-ui-repair-source from the domain secret scan - #1287
Conversation
codexFactory's browser-UI-repair loop materializes its pinned upstream source (the openxFactory/openDox/openDox-code/openXdox/openXdox-code union) into a gitignored .browser-ui-repair-source/ cache inside the repository. scan_secrets walks the filesystem, not git, so a local run of the canonical validator after that cache exists fails on a line of pinned openDox-code (src/opendox/runtime/app.py:470, a bearer-header parse whose local name satisfies the assignment heuristic at SECRET_PATTERNS[1]), while CI stays green only through step order. Pinned upstream content is not the domain's own surface; this is the same rationale and the same one-line shape as f2e4e96 (.openxfactory-pin). Authority: Brett Heap, 2026-10-09T17:35:29Z, chose "(A) Add the cache to SKIP_DIRS (Recommended)", recorded at codeXfactory/codeXfactory#526 (comment 6086050454). Refs codeXfactory/codeXfactory#526 Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 2 hours by commenting |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe validator now skips codexFactory’s gitignored Flow diagram for scoped secret-scan exclusionflowchart LR
A[scan_secrets walks repository filesystem] --> B{Directory name is in SKIP_DIRS?}
B -->|Yes: .browser-ui-repair-source| C[Skip pinned upstream cache]
B -->|No| D[Scan files for possible secrets]
C --> E[Validation passes without cache false positive]
D --> F[Preserve normal secret detection]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
|
Lane: codexfactory-1 (codeXfactory-1) WORD, recorded before any act. Brett Heap answered first-hand in lane codeXfactory-1's own session at 2026-10-09T21:00:16Z (transcript time). He chose the recommended option in a multiple-choice prompt: "Merge when green (Recommended)". As offered, that is: the lane merges it, an admin merge on his word, under openxFactory's landing rules. Its effect reaches codexFactory at the next pin advance. Recorded on codeXfactory/codexFactory#526. |
|
Lane: codexfactory-1 (codeXfactory-1) LANDING — lane codeXfactory-1, session 2b17a476-c057-4a49-abbf-dadbc5529729@Eagle, 2026-10-09T22:36:51Z, PR #1287 into opensoft/openxFactory main, at head The word is Brett Heap's, first-hand in this lane's session: "Merge when green (Recommended)", given at 2026-10-09T21:00:16Z by the session transcript's timestamp. It is recorded on this PR in comment 6089182312, and as a register RULED line at 2026-10-09T21:01:53Z. This PR touches no All 13 required-and-reported checks pass on this head (skipped checks excepted). No other LANDING is open on opensoft/openxFactory main, in the register or in any open PR's comments. |
|
Lane: codexfactory-1 (codeXfactory-1) LANDED — lane codeXfactory-1, session 2b17a476-c057-4a49-abbf-dadbc5529729@Eagle, 2026-10-09T22:38:47Z, PR #1287 into opensoft/openxFactory main → opensoft/openxFactory main is free for the next Rule 6 lander. |
…currency-dispositions Re-levels the ratified packet onto openxFactory main, which moved past the merge base 9a272c6 by #1290 (a8ab303, openXwallet-2's nested-chain group 6: contracts/openxwallet-pin.yaml, the openXwallet gitlink, verify-openxwallet-pin.py, scripts/doc_health/pin_shapes.py, five workflows and their tests) and #1287 (85516e0, .browser-ui-repair-source in the domain secret scan's SKIP_DIRS). No conflict. tests/doc-health/test_pin_shape_adapter.py auto-merged with both sides' intent kept: main's re-measured verify-openxwallet-pin.py line citations (:194 -> :225, :443 -> :551) and this branch's live openspec-cli record count (5 -> 3). Neither side touches the other's surface: main moves no line of contracts/openspec-cli-pin.yaml, README.md or this packet. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Takes #1290, #1287 and #1288 for the landing round. None of them touches the release surface: contracts/manifest.yaml, contracts/releases/, contracts/CHANGELOG.md and contracts/README.md are unchanged, and no contract-v4.1 inventory member moved. The three manifest rows whose files moved (openspec-cli-pin, openxwallet-pin, domain-factory-conformance-validator) carry no per-file sha256. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ration PR-2 (#1294, 33d2a56) and PR-3 (#1296, 978e9cb) landed; their branches are deleted, so main is the source for Phases 2 and 3 from here on. Main also brings #1287, #1288, #1295 and #1289. Resolution: - resolution.py: the admission order keeps Phase 5's A4 (`_workflow_revision`) and Phase 2's final step 9, which reads the `declared` projection entry `_council_and_class` returns. - The invocation-directory check takes main's separator-terminated prefix (the PR-1 follow-up) and keeps the mode name, so `select` says so. - The family README gains Phase 3's snapshot and assignment row beside Phase 5's binding row; the corpus contract's `issued` row carries both Phase 4's `public_key` amendment and Phase 3's live-snapshot soundness note. - evidence.md: Phase 3's final records go at the end of § Phase 3, before § Phase 4 (as merged from 03cb77e) and § Phase 6. - Tests: Phase 3's final assignment-area docstring (snapshot half shared, retry vectors the consumer's) inside Phase 6's all-areas test; Phase 3's pre-review `check` tests kept beside Phase 4's and Phase 5's. - refusal_code is unchanged: 92 codes, one copy each of binding_unresolved and broker_capability_insufficient, at Phase 4's position. - The conformance index is regenerated: 641 vectors. Lane: codexfactory-2 (codeXfactory-2) Co-Authored-By: Claude Opus 5.5 <[email protected]>



Lane: codexfactory-1 (codeXfactory-1)
What
Adds
.browser-ui-repair-sourcetoSKIP_DIRSinscripts/validate-domain-factory.py, with a comment in the.openxfactory-pinentry's style. One file, +12/-1. No OpenSpec change, no behaviour change for any directory not named.browser-ui-repair-source.Why
codexFactory's browser-UI-repair loop materializes its pinned upstream source (the openxFactory/openDox/openDox-code/openXdox/openXdox-code union) into a gitignored
.browser-ui-repair-source/cache inside the repository.scan_secretswalks the filesystem withroot.rglob("*"), not git, so it reaches the ignored copy. On the pinned openDox-codedede32b4,src/opendox/runtime/app.py:470is a bearer-header parse (get_principal) whose local name satisfies the assignment heuristic atSECRET_PATTERNS[1]. It is a request-time parse, not a literal secret. A local run of the canonical validator after the cache exists therefore fails. CI stays green only because of step order (validate-docs.shruns before the identity--checkthat builds the cache), so a reorder or a reused runner workspace would turn it red.Pinned upstream content is not the domain's own surface: the same rationale as
.openxfactory-pin.Before / after proof
Run from this branch's validator over a clean
git archiveof codexFactory827cfb26(scratch dir, no cache), then with a planted.browser-ui-repair-source/<pin>-PLANTED/openDox/code/src/opendox/runtime/app.pyholding the real pinned file (blobf485a917, equal to openDox-codedede32b4's blob; the heuristic matches line 470 only).66303e66)0 error(s), 0 warning(s) -> PASS, exit 066303e66)ERROR: possible secret in .browser-ui-repair-source/0992369a…-PLANTED/openDox/code/src/opendox/runtime/app.py→1 error(s) -> FAIL, exit 10 error(s), 0 warning(s) -> PASS, exit 0not-a-cache/src/app.py(negative control)1 error(s) -> FAIL, exit 1 (the skip is name-scoped, not blanket)The planted directory was removed before the commit. The commit holds only the one-file diff.
Tests and validators (on this branch)
python3 -m pytest tests/hermes_runtime_contracts/test_domain_factory_subject_scope_and_profile_kind.py tests/hermes_runtime_contracts/test_domain_factory_deprecation_retirements.py tests/hermes_runtime_contracts/test_topology_and_identity.py -q:101 passed. These are the files that invokevalidate-domain-factory.py, two of the cases with the secret scan on.python3 scripts/validate-openspec-cli-pin.py --all --strict: exit 0,@fission-ai/[email protected] verified … 0 UNDISPOSITIONED failures(1 pre-existing accepted exception, unrelated).validate-domain-factory.py(contracts/manifest.yaml:183-196carries no sha256 for it).SKIP_DIRSmembership is a possible follow-up if wanted.Precedent and route
f2e4e960(2026-07-14, "Exclude .openxfactory-pin from the domain secret scan"): one file, +7/-1, a direct commit tomainwith no PR (gh api repos/opensoft/openxFactory/commits/f2e4e960/pullsis empty), no OpenSpec change, no test. No promoted openxFactory spec governsscan_secrets. The direct push is no longer open (Tier-1 ruleset 18962101, 2026-07-15), so this is a plain PR, which is the same route minus the direct push.Authority
Brett Heap, first-hand, 2026-10-09T17:35:29Z, chose "(A) Add the cache to SKIP_DIRS (Recommended)". It is recorded at codeXfactory/codexFactory#526, comment 6086050454 (https://github.com/codeXfactory/codexFactory/issues/526#issuecomment-6086050454). The option offered was a one-line openxFactory change beside the
.openxfactory-pinprecedent, drafted by the lane as an openxFactory PR for his merge.Reach
Every domain running the canonical validator skips one more directory name at any depth; only codexFactory produces that name. codexFactory sees it at its next pin advance past this merge (CI and
validate-docs.shread the validator from the pinned checkout). Lane evidence:2026-10-09/successors/7.7-7.2.mdand7.7-repro-real/(a real cache, 171 files, one hit).Not merged by the author; for Brett Heap's merge.
Refs codeXfactory/codexFactory#526
🤖 Generated with Claude Code
Summary by Sourcery
Bug Fixes:
.browser-ui-repair-sourcecache as a possible secret.