Skip to content

Harden reviewer runtime and profile output boundaries - #6

Merged
dkropachev merged 2 commits into
feat/adaptive-review-controllerfrom
test/runtime-integration
Oct 25, 2026
Merged

dkropachev merged 2 commits into
feat/adaptive-review-controllerfrom
test/runtime-integration

Conversation

@dkropachev

@dkropachev dkropachev commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Issue

Docker trials do not attach container stdin, so the task prompt is lost before it reaches the reviewer. Mocked subprocess coverage does not exercise this behavior or real container cleanup. Profile promotion also permits private output inside a reviewed fixture repository.

Fix

Forward stdin and add real Docker lifecycle integration with a fake reviewer and synthetic authentication. Cover output capture, read-only source, failure, timeout, interruption, and removal without inference. Accept immutable local image IDs and retain interrupted receipts explicitly.

Check all frozen fixture repository roots before writing a promoted profile, including paths reached through symlink aliases. Keep successful profile output outside the package and reviewed repositories.

Require successful native review coverage with verified bounds on all inherited host-visible input before acceptance. Historical fail-closed native evidence remains useful, but does not meet this requirement.

Decisions

  • Choice: PR Harden reviewer runtime and profile output boundaries #6 requires successful native review coverage with verified bounds on all inherited host-visible input. Negative fail-closed integration alone does not satisfy acceptance. This does not establish model capacity or authorize paid calibration.

@dkropachev dkropachev changed the title Validate and repair the Docker reviewer lifecycle Harden reviewer runtime and profile output boundaries Oct 25, 2026
@dkropachev
dkropachev force-pushed the test/runtime-integration branch from b28a189 to 3190ebe Compare October 25, 2026 04:43
Forward trial prompts on stdin and accept immutable local image IDs.
Retain interrupted receipts and charge unfinished attempts the greater
of reserved and elapsed time so cleanup cannot restore campaign limits.

Remove named version probes on every exit path, propagate cleanup
failures, and document recovery. Exercise output, read-only mounts,
failures, timeout, SIGINT, and container removal with a fake reviewer
and synthetic authentication in the Docker integration job.
Validate every frozen fixture repository and resolve distinct contained
report and profile destinations before exporting private artifacts.
Stage both exports in a fresh private directory so legacy temporary
symlinks or hardlinks cannot redirect writes or corrupt comparison data.

Cover later fixture roots, final-path aliases, destination collisions,
and legacy temporary links with synthetic promotion regressions.
@dkropachev
dkropachev force-pushed the test/runtime-integration branch from 5f5b74b to 2a592c7 Compare October 25, 2026 15:44
@dkropachev
dkropachev merged commit b9104af into feat/adaptive-review-controller Oct 25, 2026
11 checks passed
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