Repository navigation
feat: compose independent harness context sources - #1875
Merged
Merged
Conversation
JAORMX
marked this pull request as ready for review
September 24, 2026 12:32
This was referenced Sep 24, 2026
JAORMX
force-pushed
the
impl/harness-context
branch
from
September 25, 2026 06:00
c733495 to
5979dd2
Compare
JAORMX
force-pushed
the
impl/harness-context
branch
from
September 25, 2026 07:08
5979dd2 to
1512453
Compare
JAORMX
force-pushed
the
plan/harness-context-consumers
branch
from
September 25, 2026 08:45
09d2881 to
04254b4
Compare
JAORMX
force-pushed
the
impl/harness-context
branch
from
September 25, 2026 08:45
1512453 to
71e91e8
Compare
Preserve the verified shared source-composition implementation before rebasing onto the refreshed model and interface contract. Independent review is still required before publication. Co-Authored-By: OpenAI <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: OpenAI <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Thread server-owned read-only source acquisition through session factories and discovery, retain source-owned releases, and restrict judge context suppression to internal roles. Include focused regression proofs and composition documentation for local independent review. Co-Authored-By: Mecatl <[email protected]>
Co-Authored-By: Mecatl <[email protected]>
Prove child factory retention, exact scheduled and restart acquisition, failed attempt isolation, and registration selection at real service boundaries. Co-Authored-By: Mecatl <[email protected]>
Co-Authored-By: Mecatl <[email protected]>
Co-Authored-By: Mecatl <[email protected]>
Bind default child instructions to the admitted startup source, retain process sources through pending creation cleanup, and discard cancelled lazy binding attempts. Cover child families, trust restrictions, concurrent shutdown, and same-holder retries. Co-Authored-By: Mecatl <[email protected]>
Preserve the new admission-submission inventory on main, give harness context distinct row IDs, and align its decision reference. Co-Authored-By: Mecatl <[email protected]>
JAORMX
force-pushed
the
impl/harness-context
branch
from
September 25, 2026 09:18
71e91e8 to
6998b8b
Compare
Merged
2 tasks
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.
Stage and approval boundary
Implementation PR targeting
main, under the approved plan amendment #1878 and original plan #1814. Both plan PRs are merged. The implementation has been rebased ontomaincontaining the plan amendment and contextual guardrails (#1510).The directing human authorized the bug fixes, lightweight rebases, and PR updates. Implementation approval and merge remain separate; this PR has not been merged.
Implementation
UsesExecutionWorkspacereceive lazy, exact-authorized read-only workspace acquisition. No runner or execution read-ledger evidence is supplied.Fixes from the merge-risk review
The implementation includes three fixes and maintained regressions:
harness_contextblock or selecting child execution files.internal/app/harness_context_regression_test.godrives real Build/Service Subagent, direct-write, Parallel, Team, no-FS, and untrusted-source cases, including conflicting execution content and rejected child writes. It also covers concurrent creation/shutdown, blocked attempt cleanup, immediate cancellation cleanup, same-holder retry, and principal/process deferred fallback. Internal utility roles remain excluded from harness instructions.Independent Spec, Standards, Test adequacy, security, architecture, reuse, duplication, and UX review of the fixes completed; actionable findings were addressed and re-reviewed. No public API or plan amendment was introduced by these fixes.
PANEL: ship_blockers=0 important=0 advisory=0 reviewer_failures=0Verification and rebase scope
Before rebasing, focused race tests (including repeated runs),
task test,task test:race,task lint,task docs,task site:build,task api:check, the 25-AC harness-context trace, and the offline demo passed. The demo exercised Read, permission ask/approval, Write result, Team, and background Subagent. Targeted mutation checks failed as intended and were restored.The combined documentation/API/global-trace command exhausted its time budget during the global trace; no completed global
task ac-trace-strictresult is claimed. Subsequent verification was interrupted by the directing human's request to perform a lightweight rebase and rely on CI.After the plan merge: rebased only the implementation commits onto main, without replaying the squashed plan. Resolved
internal/app/build.goandinternal/app/catalog.goconflicts by retaining both contextual-guardrail state/worker posture and harness-context retirement/inheritance. Checked diff integrity and range-diff preservation.Focused post-rebase tests passed:
TestDefaultHarnessInstructionsFlowToChildren,TestInternalPurposeChildRolesExcludeOperatorProfile, andTestContextualWorkerReviewDetailUsesLiveRootOwnership. No full verification rerun was performed, as requested. CI must verify the current PR head; pre-rebase results are not post-rebase proof.Local evidence remains under
.scratch/pr1875-bugfixes/in.scratch/worktrees/impl-harness-context-20260923; these logs are not uploaded artifacts. No paid live tests were run by this change.Excluded scope
No inventory RPC migration, history transfer, recovery recipes, SessionAccess, new storage fencing, or generic child-binding framework. Existing SessionLease/resume contracts remain unchanged. No MicroVM, native Kubernetes, or Redis backend implementation is claimed here. #580, #1579, #1614, and sibling #1811 retain their own integration work; this PR does not close them.