Skip to content

test(blackbox): fix Windows lifecycle path comparisons - #205

Closed
dayebishouji wants to merge 1 commit into
aoci-spec:mainfrom
dayebishouji:fix/windows-lifecycle-path-comparisons
Closed

dayebishouji wants to merge 1 commit into
aoci-spec:mainfrom
dayebishouji:fix/windows-lifecycle-path-comparisons

Conversation

@dayebishouji

Copy link
Copy Markdown
Contributor

What changes and why

Windows bringup reported three failures on a working binary. The OpenCode checks searched raw JSON for native path strings even though the generated command used forward slashes. The locale comparison also kept forward-slash fixture roots in Guide command strings, so two equivalent commands from different fixtures appeared to differ.

Read the OpenCode command from the JSON and compare the executable and repository by file identity. Normalize both spellings of the fixture root in the locale comparison while continuing to compare the command and its other arguments.

Affected public contracts

  • Test harness only.

Verification

  • Same Windows binary on both runs. bringup went from 47 passed and 3 failed to 50 passed and 0 failed, with one characterization in each run.
  • Pointing OpenCode at a different existing repository still failed its check. Adding a different Guide command argument still produced a locale comparison difference.
  • All 31 black-box script unit tests and all 10 AOCI index quality checks passed.
  • The local Windows shell has no make. The local make fast and make verify targets could not run.

Cognition

Updated the lifecycle harness Entry and Baseline together. AOCI reported alignment with no remaining work.

@dayebishouji
dayebishouji force-pushed the fix/windows-lifecycle-path-comparisons branch from 7cecd88 to 01e9ca1 Compare November 23, 2026 03:02
@alkor2000 alkor2000 closed this in 79780ec Nov 23, 2026
@alkor2000

Copy link
Copy Markdown
Contributor

Landed on main as 79780ec, with you as the author. Thanks, comparing by file identity instead of string spelling is the right fix, and it keeps the check meaningful (a different repository still fails it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants