Skip to content

fix: retain safe native dependency refresh diagnostics - #129

Merged
roodboi merged 1 commit into
nextfrom
codex/native-refresh-diagnostics
Oct 5, 2026
Merged

roodboi merged 1 commit into
nextfrom
codex/native-refresh-diagnostics

Conversation

@roodboi

@roodboi roodboi commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

When dependency refresh failed before native hack exec or hack run, the frontend discarded the runtime's structured error identifiers and reported only an unconfirmed outcome. This made an isolated linked-worktree qualification failure impossible to diagnose from its retained CLI output.

Preserve only explicitly reviewed, value-free identifiers from NativeRuntimeRequestError, including known nested cause codes. Unknown identifiers, ordinary errors, forged fields, raw messages, paths and input remain omitted. The existing refusal, one request, no replay, and refresh-before-command boundary are unchanged.

Validation: 23 focused refresh/exec/one-off tests passed; changed source/test lint, CLI typecheck and lint, full repository typecheck/check and staged privacy checks passed. Full repository tests passed: CLI 1,827 passed, 67 skipped, zero failures. CLI tasks executed; database tasks were cached.

Release signal: fix, diagnostic-only. This does not fix or identify the original native refresh failure, authorize retry, or establish fresh native application acceptance. The retained uncertain fixture was not mutated. A fresh supervised qualification run is the next diagnostic gate.

Discovered while qualifying HACK-1163; separate from the domain harness in #128. Base: protected next.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@roodboi
roodboi merged commit e2fff9f into next Oct 5, 2026
10 checks passed
@roodboi
roodboi deleted the codex/native-refresh-diagnostics branch October 5, 2026 01:22
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.

1 participant