Make upstream automations self-owned and observable - #1157
Merged
Conversation
…tream validation sandbox","authority":"manual","impact":"compatible"}
… sandboxed authority reads","authority":"manual","impact":"compatible"}
…endent of host config","authority":"manual","impact":"compatible"}
…get in validation","authority":"manual","impact":"compatible"}
… candidate sandbox","authority":"manual","impact":"compatible"}
…de the active sandbox","authority":"manual","impact":"compatible"}
…reap its children","authority":"manual","impact":"compatible"}
…r local socket authority","authority":"manual","impact":"compatible"}
…s sandbox process tree","authority":"manual","impact":"compatible"}
…n CLI diagnostics","authority":"manual","impact":"compatible"}
…ted validation","authority":"manual","impact":"compatible"}
…tible PostgreSQL changes","authority":"manual","impact":"compatible"}
…lidation sandbox","authority":"manual","impact":"compatible"}
| import importlib.util | ||
| import os | ||
| from pathlib import Path | ||
| import unittest |
…d and observable","authority":"manual","impact":"compatible"}
…d recovery evidence","authority":"manual","impact":"compatible"}
| from upstream_autopilot_lib import cli as cli_module | ||
| from upstream_autopilot_lib import core as core_module | ||
| from upstream_autopilot_lib import effects as effects_module | ||
| from upstream_autopilot_lib import handoff as handoff_module |
| """Standalone Codex upstream adaptation policy and state machine.""" | ||
|
|
||
| from .core import * # noqa: F403 | ||
| from .handoff import * # noqa: F403 |
| if create: | ||
| try: | ||
| os.mkdir("handoffs", mode=0o700, dir_fd=root_descriptor) | ||
| except FileExistsError: |
| now=now, | ||
| ) | ||
|
|
||
| def land_started_state(self, *, include_token=False): |
| candidate = find_candidate(state, candidate_id) | ||
| lease_matches(candidate, "reviewer", token, now) | ||
| decision = candidate.get("decision") | ||
| active_handoff = candidate.get("handoff") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
env PATH=/nix/store/h2vxf9d0mwgc7gcxm8m468gv9zdyl4da-python3-3.12.13/bin:$PATH cargo make check-upstream-automation: passed in 631.47 secondsgit diff --check: passedAcceptance Boundary
Repository behavior is verified at head
489b3e94fbe89377d410c7687dd1d7436448c066. After landing, the scheduled clean-main run must still prove the live Maintainer -> worker subagent -> Reviewer subagent -> Decodex land path and native task self-archive behavior. The live browser publisher must separately prove publish readback and restoration to the original X account.