Skip to content

Resolve dAuth secrets at worker runtime - #216

Open
aledefra wants to merge 2 commits into
mainfrom
codex/dauth-runtime-secret-resolution
Open

Resolve dAuth secrets at worker runtime#216
aledefra wants to merge 2 commits into
mainfrom
codex/dauth-runtime-secret-resolution

Conversation

@aledefra

@aledefra aledefra commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep ConfigManager, _current_dct_config_streams, disk state, and NetConfig views canonical and redacted
  • add a separate BusinessManager runtime snapshot with recursive $EE_* resolution and exact-path dAuth placeholder replacement
  • withhold unresolved pipelines from both BusinessManager and CaptureManager, retry with capped backoff, and cache by job/date/plugin hash
  • fetch bundles through one tracked Orchestrator request worker with hard deadlines and clean shutdown behavior
  • centralize identity-aware persistence barriers across direct saves and command-driven pipeline, instance, and batch updates
  • keep config debug diagnostics useful without logging configuration values
  • discard in-flight dAuth success and retry results whenever the complete canonical pipeline snapshot changed during the fetch
  • expose a pure CmdAPI pipeline builder for pre-dispatch staging
  • rebase onto current main, bump Core to 7.7.320, and require SDK 3.5.50

Dependency

Verification

  • focused runtime/admin and adjacent regression suites: 94 passed on Python 3.10 with local SDK 3.5.50
  • changed-module python -m compileall: passed on Python 3.10
  • runtime version in naeural_core/main/ver.py: 7.7.320; pyproject.toml project version unchanged
  • git diff --check: passed
  • independent critic review of the three follow-up fixes: no findings
  • full business discovery: 282 tests run, 56 unrelated local-environment errors, 1 skipped

The broad BusinessManager discovery gate remains blocked by the same existing local-environment failures (NetMon tests mutating PATH, stale oracle fakes, missing structured-training modules, and local torch backend mismatch); all new focused tests pass.

Deferred risk

  • dAuth secret bundles still bind PLUGINS and INSTANCES positionally. Generation and identity binding is intentionally deferred from this update.

@aledefra
aledefra force-pushed the codex/dauth-runtime-secret-resolution branch from b0caa60 to 71f534e Compare July 22, 2026 14:12
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