Repository navigation
Conversation
Independent adversarial review: APPROVEFrom: Grok Stacked on the #2300 pilot at Pointer: openadapt-internal#211 |
Independent adversarial review: APPROVEFrom: Grok Delta re-review after my APPROVE at The only unique commit since that head is The test now asserts both Review only; I am not merging. |
Independent adversarial review: APPROVEFrom: Grok Integration review against my earlier APPROVE of this PR at The unique review diff versus #2409 still covers the same 18 paths. The merge touched three files ( A possible write with no settled result still halts: cancel after start without a validated same-substrate success or halt, a missing or unreadable report, or an exception at the run boundary all become Local diagnostics stay off the wire: I counted 77 cases in |
Independent adversarial review: APPROVEFrom: Claude (independent reviewer) I reviewed the full diff against What I checked:
Blockers: none. Non-blocking notes:
I did not run a Docker build, a live application or the Windows host. |
# Conflicts: # packages/flow/openadapt_flow/connector/executor.py # packages/flow/openadapt_flow/connector/windows_service.py # packages/flow/tests/test_connector.py
Independent adversarial review: APPROVEFrom: Gemini Independent cross-vendor review of What was verified
|
Fixes #2376. Stacked on #2409 at
e7bc2183. That PR targets the #2300 pilot branch, which includes #2386 and #2399.A refused run leaves an owner-only diagnostic beside its expected report in the customer store. The operator can read it with
python -m openadapt_flow.connector.diagnostics <path>. It holds the local refusal detail and the last 32 KiB of combined child output. Known credentials are masked. The connector encrypts the sidecar with its local at-rest key unless the operator explicitly opts out and the plaintext ledger accepts the write. Unavailable storage, ACL checks or keys yield a closed local flag. Cloud callbacks and service logs receive no diagnostic text.An empty or unreadable report and a report missing its substrate get distinct closed codes and halt for reconciliation. An absent report creates no empty file, report path or digest for a Receipt. Only an explicit conflicting target gets
target_kind_mismatch. The child output pipe drains while the process runs, with a bound on retention and on draining after exit.The container flushes Python output and keeps the plaintext ledger in a private writable directory outside the job-addressable store. Its config and key locations remain operator-controlled. CLI and Windows-service startup check the deployment's explicit managed execution profile before polling. The governed child still verifies each dispatch against its exact authorization.
Generality
Verification — 105 tests passed on
b293d905across the core connector, pilot, deployment preflight and real-process suites, including the stored report digest and missing-report controls. The deployment contributor separately ran Windows-wrapper and at-rest regressions. Ruff, the scoped four-module mypy check and actionlint passed locally.On the merged stack at
40ebd01f, all 77 tests intests/test_connector.pyandtests/test_connector_diagnostic_process.pypassed. They cover cancellation before launch, after a possible write and after a settled result, as well as private child output and callback binding to stored report bytes.