Skip to content

Commit bb20cc1

Browse files
committed
Close PR 30 verification evidence
1 parent cb210ee commit bb20cc1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎memory-bank/features/FT-016/brief.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ The current review adapter invokes `codex review --uncommitted`. As documented a
143143
| `EVID-02` | pass | `TestAdapterInvocations`, `TestScopedReviewArgsDisableLoginShellToPreserveWrapperPath`, `TestScopedReviewArgsRequireScopedGitEnvironment`, `TestReviewScopePrivateIndexSurvivesScopedShellEnvironment`, `TestReviewScopeRemovesInheritedGitTransportEnvironment`, `TestLinkGitHelpersReservesScopedConfigurationFile`, app fake-runner integration, `TestExecPassesInvocationEnvironment`, `TestExecOverridesInheritedEnvironment` and `TestExecUnsetsInheritedEnvironment`; `go test ./internal/codex ./internal/app ./internal/repository ./internal/runner`, including non-login shell startup and inherited config/function sanitization. |
144144
| `EVID-03` | pass | `TestReviewBasePrecedence`, `TestConfigCommand`, `TestReviewMetadataUsesResolvedCommitForEventSafety` and workflow/app event assertions; affected suite passed. |
145145
| `EVID-04` | pass | Root README, domain rules/states, engineering architecture and FT-016 converge by semantic read-through; `make docs-lint` passes after the documented-global-option evidence update. |
146-
| `EVID-05` | partial | Original delivery passed `go test ./...`, `go vet ./...`, `make docs-lint`, `git diff --check` and the required [PR #19 Verify run](https://github.com/dapi/code-converge/actions/runs/29949418336). Follow-up hardening passed its pre-merge local suites; reconciliation validation, required PR #30 CI and independent final review remain pending. |
146+
| `EVID-05` | pass | Original delivery passed `go test ./...`, `go vet ./...`, `make docs-lint`, `git diff --check` and the required [PR #19 Verify run](https://github.com/dapi/code-converge/actions/runs/29949418336). The reconciled PR #30 head `cb210eede0c068db3ae58a680aaf84bc6f59cd45` passed the same local suite plus `go test -race ./internal/codex ./internal/repository ./internal/runner ./internal/app ./internal/workflow`, independent Codex review session `019f911a-1214-7843-a205-551329dbd977` reported no actionable correctness findings, and the required [PR #30 Verify run](https://github.com/dapi/code-converge/actions/runs/30050371885) passed. |

‎memory-bank/features/FT-016/decision-log.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ The reasoning bounds this feature to review-input selection, separates issue fac
300300
- **Review scope:** PR #30 merged with current `master`, including provider identity parsing, scoped Git global-option parsing, private-index snapshot compatibility and FT-022's schema-constrained result channel.
301301
- **Important:** first independent review reported two `P2` findings: userless SCP-style remotes were parsed as URI schemes before SCP syntax, and the documented `--exec-path=<path>` Git form was rejected. The second review confirmed those fixes and reported one `P1`: unconditional `git add --sparse -A` made every review fail on older supported Linux Git installations, even outside sparse checkout. The next review confirmed the compatibility fix and reported one `P1`: caller-exported `GIT_INDEX_FILE`, `GIT_EXEC_PATH` or repository selectors survived the PATH-only runner override and could redirect Codex or absolute Git commands. A fourth review confirmed that sanitization and reported two `P1` findings: non-login shell startup (`.zshenv`, `BASH_ENV`, or exported functions) could still replace the wrapper path, and an explicit or aliased split-index request could write shared-index state outside the disposable command index. A fifth review confirmed those remediations and reported one `P2`: Go-only escapes from `strconv.Quote` can make a valid Unix environment value invalid TOML in a Codex `-c` override. A sixth review confirmed the TOML fix and reported one `P2`: JSON replaces invalid UTF-8 bytes in Linux paths, which could change repository identity and fall back to the real index. A seventh review confirmed the path validation and reported one `P2`: `submodule add` creates a nested repository but inherited the disposable superproject index. The next re-review confirmed that fix and reported one `P2`: `submodule update --init` has the same nested-clone behavior. The following full review confirmed the nested-repository remediation and reported one `P2`: an uppercase `.GIT` URL suffix survived canonicalization and could reject an otherwise valid GitHub PR. The next review confirmed that normalization and reported one `P2`: value-taking options before a submodule action could be mistaken for the action and bypass no-index isolation.
302302
- **Changes:** try SCP syntax before URI parsing while excluding `://` transports; accept `--exec-path=<path>`; fall back to plain `git add -A` after a failed sparse-aware add only when `core.sparseCheckout` is confirmed disabled; and extend the runner/review-target contract with explicit environment removal so top-level review Git and Codex invocations sanitize inherited Git transports. Force a neutral shell/startup environment through Codex policy, remove inherited Git config injection and exported shell functions, reject reviewed-root commands or aliases that explicitly enable split-index, encode shell-policy values as TOML basic strings while rejecting non-UTF-8 values actionably, validate all JSON-sidecar paths as UTF-8 before wrapper creation, and withhold the review index from all potentially repository-creating submodule operations just like `clone` and `worktree add`. A child-only no-index marker preserves that classification across helper and alias descendants, while inherited copies are removed before review. Normalize the optional `.git` suffix after case folding the repository name. Parse known value-taking submodule options before identifying its action, and conservatively withhold the review index for unknown pre-action options. An active sparse checkout fails actionably when the installed Git lacks the required option. Added deterministic and real-shell regressions for all findings and retained the current FT-022 final-message-only classification path during conflict resolution.
303-
- **Verification:** `go test ./...`, `go vet ./...`, `make docs-lint`, `git diff --check` and `go test -race ./internal/codex ./internal/repository ./internal/runner ./internal/app ./internal/workflow` pass after the complete remediation. The focused real-Git scenario covers `submodule add`, deinitialization and `submodule update --init --recursive`, confirms the nested repository uses its own clean index, confirms the stable review snapshot is unchanged, and confirms an inherited no-index marker is removed before Codex. The provider regressions cover case-insensitive repository names and `.git` suffixes; parser regressions cover separate and attached submodule option values plus fail-closed unknown options. Independent Codex review session `019f911a-1214-7843-a205-551329dbd977` reported no actionable correctness findings against `master`. Required PR #30 CI remains closure evidence.
303+
- **Verification:** `go test ./...`, `go vet ./...`, `make docs-lint`, `git diff --check` and `go test -race ./internal/codex ./internal/repository ./internal/runner ./internal/app ./internal/workflow` pass after the complete remediation. The focused real-Git scenario covers `submodule add`, deinitialization and `submodule update --init --recursive`, confirms the nested repository uses its own clean index, confirms the stable review snapshot is unchanged, and confirms an inherited no-index marker is removed before Codex. The provider regressions cover case-insensitive repository names and `.git` suffixes; parser regressions cover separate and attached submodule option values plus fail-closed unknown options. Independent Codex review session `019f911a-1214-7843-a205-551329dbd977` reported no actionable correctness findings against `master`. Required [PR #30 Verify run](https://github.com/dapi/code-converge/actions/runs/30050371885) passed for implementation head `cb210eede0c068db3ae58a680aaf84bc6f59cd45`; the evidence-only commit's CI remains the final publication check.
304304
- **Human gate:** no; these changes restore already accepted provider, compatibility and fail-closed snapshot contracts.
305305

306306
### 2026-07-23 Original-delivery closure and evidence-convergence review

0 commit comments

Comments
 (0)