fix(aoss): align status definition with caller contract #1086

Merged
coah80 merged 1 commits from agent/bittle/aoss-status-final into main 2026-10-03 09:14:58 +00:00
coah80 commented 2026-10-03 09:13:24 +00:00 (Migrated from github.com)

Source-contract correction

Change only AOSSi_Status(void) to AOSSi_Status(int status) in AOSSLink.c, matching the existing AOSS.c declaration and six callers. The formal remains unused. No caller, body, callback, argument setup or linking change; no matching percentage gain.

Evidence and independent parent verification on a2c008c4

  • Raw original DOL supplies explicit outgoing r3 progress values 0,1,2,3,5,4 at the six AOSS_Init_old calls
  • Parent reran the recorded-text and original-object reference scan: precisely those six direct calls, no address-taken Status reference
  • Existing 13-instruction body conditionally calls its callback and returns zero; source caller and definition types are now compatible
  • This does not establish the original parameter name or callback payload semantics. Callback type, implementation and invocation are deliberately untouched; no argument is newly consumed or forwarded differently
  • Fresh AOSSLink object is whole-file byte-identical to baseline
  • All 1027 compiled source objects and the entire fresh generated report are byte-identical to current main
  • AOSSLink remains 12/14 exact, 668/2196 matched code, data2432/2432 and fuzzy99.007286%; Status remains 13/13 instructions, 100%
  • Pool0/0 identical; literal audit14 functions, no candidates/errors/skips
  • Full default progress and43U/ok, worktree and diff gates pass; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d

Recovers the previously preserved one-line correction from0173f9cc with fresh current-context verification. No live network/Wii test claimed; emitted-code neutrality is established by whole-object identity. Uploaded tree3e03abf251e4fc5c80d82a58b08d10f6d32b8928 matches tested tree. Evidence included without original binary material. No merge or auto-merge requested.

Note

Fix AOSSi_Status signature to match caller contract

Changes the AOSSi_Status definition in AOSSLink.c to accept an integer status parameter, aligning it with its declaration and the six existing callers. The callback check, callback invocation, and zero return are unchanged; the parameter is not used.

Adds aoss-status-entry-contract-20261003.md, an evidence document covering the parameter mismatch, the observed callers and their progress values, binary evidence, and rebuild validation results.

Macroscope summarized 0f5c37d.

## Source-contract correction Change only AOSSi_Status(void) to AOSSi_Status(int status) in AOSSLink.c, matching the existing AOSS.c declaration and six callers. The formal remains unused. No caller, body, callback, argument setup or linking change; no matching percentage gain. ## Evidence and independent parent verification on a2c008c4 - Raw original DOL supplies explicit outgoing r3 progress values 0,1,2,3,5,4 at the six AOSS_Init_old calls - Parent reran the recorded-text and original-object reference scan: precisely those six direct calls, no address-taken Status reference - Existing 13-instruction body conditionally calls its callback and returns zero; source caller and definition types are now compatible - This does not establish the original parameter name or callback payload semantics. Callback type, implementation and invocation are deliberately untouched; no argument is newly consumed or forwarded differently - Fresh AOSSLink object is whole-file byte-identical to baseline - All 1027 compiled source objects and the entire fresh generated report are byte-identical to current main - AOSSLink remains 12/14 exact, 668/2196 matched code, data2432/2432 and fuzzy99.007286%; Status remains 13/13 instructions, 100% - Pool0/0 identical; literal audit14 functions, no candidates/errors/skips - Full default progress and43U/ok, worktree and diff gates pass; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d Recovers the previously preserved one-line correction from0173f9cc with fresh current-context verification. No live network/Wii test claimed; emitted-code neutrality is established by whole-object identity. Uploaded tree3e03abf251e4fc5c80d82a58b08d10f6d32b8928 matches tested tree. Evidence included without original binary material. No merge or auto-merge requested. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Fix `AOSSi_Status` signature to match caller contract > Changes the `AOSSi_Status` definition in [AOSSLink.c](https://github.com/coah80/wii-ipl/pull/1086/files#diff-ffe14c6c08cb39ad7e1e1485577b9287d9089732b96df8f5eb339060c3629786) to accept an integer status parameter, aligning it with its declaration and the six existing callers. The callback check, callback invocation, and zero return are unchanged; the parameter is not used. > > Adds [aoss-status-entry-contract-20261003.md](https://github.com/coah80/wii-ipl/pull/1086/files#diff-b5553dd71460879d7cdc7621174c514de4e457114211d03442fc7b6299e719ef), an evidence document covering the parameter mismatch, the observed callers and their progress values, binary evidence, and rebuild validation results. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 0f5c37d.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-03 09:14:56 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.