Skip to content

fix(runtime): keep inherited history parent-owned - #2084

Merged
codeforester merged 1 commit into
mainfrom
bug/2083-20260903-keep-inherited-base-children-from-mutating-parent-history-me
Sep 3, 2026
Merged

fix(runtime): keep inherited history parent-owned#2084
codeforester merged 1 commit into
mainfrom
bug/2083-20260903-keep-inherited-base-children-from-mutating-parent-history-me

Conversation

@codeforester

@codeforester codeforester commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep completion history ownership with the invocation that created the run bundle.
  • Prevent inherited Base children from marking the parent bundle complete.
  • Clarify the delegated-history contract and add regression coverage.

Issue

Fixes #2083

Follow-up to #2080.

Validation

  • bats --print-output-on-failure cli/bash/commands/basectl/tests/runtime-dispatch.bats — 40 passed
  • bats --print-output-on-failure cli/bash/commands/basectl/tests/workspace.bats — 15 passed
  • Workspace clone tests — 5 passed
  • Real workspace dry-run fan-out — 0 inherited-context warnings, 1 primary history row, 1 run bundle
  • ./bin/base-test — 1,115 Python and 899 BATS passed
  • ShellCheck and git diff --check passed

Docs Impact

Updated docs/observability.md to document that inherited Base children do not write separate completion records or mutate the parent lifecycle.

Workspace clone semantics and repository materialization behavior are unchanged.

@codeforester
codeforester requested a review from a team as a code owner September 3, 2026 09:03
@codeforester
codeforester merged commit 74f9e6b into main Sep 3, 2026
19 checks passed
@codeforester
codeforester deleted the bug/2083-20260903-keep-inherited-base-children-from-mutating-parent-history-me branch September 3, 2026 16:59
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.

Keep inherited Base children from mutating parent history metadata

1 participant