Conversation
…act execution - Plan: consolidate-project-runtime-state/01-add-runtime-layout-contract - Branch: worktree/consolidate-project-runtime-state-01-add-runtime-a45416fd - Files: docs/plans/consolidate-project-runtime-state/01-add-runtime-layout-contract.md
…ract - Plan: consolidate-project-runtime-state/01-add-runtime-layout-contract - Description: RunWield currently treats the project `.wld/` directory as both user-derived project configuration and machine-owned runtime state. The Epic makes `.wld/internal/` the one current project-runtime root, but the code needs a shared contract before existing stores can move safely. - Branch: worktree/consolidate-project-runtime-state-01-add-runtime-a45416fd - Files: docs/domain-language.md, docs/plans/consolidate-project-runtime-state/01-add-runtime-layout-contract.md, src/constants.js, src/constants.test.js, src/shared/project-runtime-layout.test.ts and 3 more
…ract - Plan: consolidate-project-runtime-state/01-add-runtime-layout-contract - Description: RunWield currently treats the project `.wld/` directory as both user-derived project configuration and machine-owned runtime state. The Epic makes `.wld/internal/` the one current project-runtime root, but the code needs a shared contract before existing stores can move safely. - Branch: worktree/consolidate-project-runtime-state-01-add-runtime-a45416fd - Files: docs/plans/consolidate-project-runtime-state/01-add-runtime-layout-contract.md, src/shared/runwield-owned-paths.test.js, src/shared/runwield-owned-paths.ts
…-add-runtime-layout-contract - Plan: consolidate-project-runtime-state/01-add-runtime-layout-contract - Description: RunWield currently treats the project `.wld/` directory as both user-derived project configuration and machine-owned runtime state. The Epic makes `.wld/internal/` the one current project-runtime root, but the code needs a shared contract before existing stores can move safely. - Branch: worktree/consolidate-project-runtime-state-01-add-runtime-a45416fd - Files: docs/plans/consolidate-project-runtime-state/01-add-runtime-layout-contract.md, docs/plans/consolidate-project-runtime-state/manual-qa.md RunWield-Publication-Attempt: a45416fd RunWield-Publication-Plan-Path: docs/plans/consolidate-project-runtime-state/01-add-runtime-layout-contract.md
…me-a45416fd' into epic/consolidate-project-runtime-state
…tion-engine execution - Plan: consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine - Branch: worktree/consolidate-project-runtime-state-02-add-legacy--4b0163db - Files: docs/plans/consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine.md
…ation-engine - Plan: consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine - Description: Version 0.10.0 must adopt inactive project-local runtime state from legacy `.wld/` paths into `.wld/internal/`. It must stop without changing files when the old state is active, ambiguous, tracked, symlinked, or tied to unfinished publication recovery. - Branch: worktree/consolidate-project-runtime-state-02-add-legacy--4b0163db - Files: docs/plans/consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine.md, src/shared/project-runtime-layout.test.ts, src/shared/project-runtime-layout.ts, src/shared/testing/project-runtime-migration-process-driver.ts, src/shared/workflow/publication-attempt.test.ts and 3 more
…ation-engine - Plan: consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine - Description: Version 0.10.0 must adopt inactive project-local runtime state from legacy `.wld/` paths into `.wld/internal/`. It must stop without changing files when the old state is active, ambiguous, tracked, symlinked, or tied to unfinished publication recovery. - Branch: worktree/consolidate-project-runtime-state-02-add-legacy--4b0163db - Files: docs/plans/consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine.md, src/plan-store.js, src/shared/lock-file-snapshot.ts, src/shared/project-runtime-layout.test.ts, src/shared/project-runtime-layout.ts and 4 more
…-add-legacy-runtime-migration-engine - Plan: consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine - Description: Version 0.10.0 must adopt inactive project-local runtime state from legacy `.wld/` paths into `.wld/internal/`. It must stop without changing files when the old state is active, ambiguous, tracked, symlinked, or tied to unfinished publication recovery. - Branch: worktree/consolidate-project-runtime-state-02-add-legacy--4b0163db - Files: docs/plans/consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine.md, docs/plans/consolidate-project-runtime-state/manual-qa.md RunWield-Publication-Attempt: 4b0163db RunWield-Publication-Plan-Path: docs/plans/consolidate-project-runtime-state/02-add-legacy-runtime-migration-engine.md
…y--4b0163db' into epic/consolidate-project-runtime-state
…res execution - Plan: consolidate-project-runtime-state/03-move-primary-runtime-stores - Branch: worktree/consolidate-project-runtime-state-03-move-primar-f995640a - Files: docs/plans/consolidate-project-runtime-state/03-move-primary-runtime-stores.md
…ores - Plan: consolidate-project-runtime-state/03-move-primary-runtime-stores - Description: Primary-owned runtime state is shared through the primary checkout. Today, several stores still construct paths under `.wld/` directly or inherit the old runtime directory. They must move under the primary checkout's `.wld/internal/` root. - Branch: worktree/consolidate-project-runtime-state-03-move-primar-f995640a - Files: docs/plans/consolidate-project-runtime-state/03-move-primary-runtime-stores.md, src/cmd/load-plan/plan-recovery-flow.test.ts, src/cmd/plans/doctor.test.ts, src/plan-store.test.js, src/shared/project-runtime-layout.test.ts and 15 more
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
gandazgul
marked this pull request as draft
September 10, 2026 17:12
…ores - Plan: consolidate-project-runtime-state/03-move-primary-runtime-stores - Description: Primary-owned runtime state is shared through the primary checkout. Today, several stores still construct paths under `.wld/` directly or inherit the old runtime directory. They must move under the primary checkout's `.wld/internal/` root. - Branch: worktree/consolidate-project-runtime-state-03-move-primar-f995640a - Files: docs/plans/consolidate-project-runtime-state/03-move-primary-runtime-stores.md, src/shared/project-runtime-layout.test.ts, src/shared/project-runtime-layout.ts, src/shared/workflow/publication-machine.ts, src/shared/worktree-registry.js and 1 more
…-move-primary-runtime-stores - Plan: consolidate-project-runtime-state/03-move-primary-runtime-stores - Description: Primary-owned runtime state is shared through the primary checkout. Today, several stores still construct paths under `.wld/` directly or inherit the old runtime directory. They must move under the primary checkout's `.wld/internal/` root. - Branch: worktree/consolidate-project-runtime-state-03-move-primar-f995640a - Files: docs/plans/consolidate-project-runtime-state/03-move-primary-runtime-stores.md, docs/plans/consolidate-project-runtime-state/manual-qa.md RunWield-Publication-Attempt: f995640a RunWield-Publication-Plan-Path: docs/plans/consolidate-project-runtime-state/03-move-primary-runtime-stores.md
…ar-f995640a' into epic/consolidate-project-runtime-state
- Plan: record-pair-plan-deviations - Branch: worktree/record-pair-plan-deviations-f00ee389 - Files: docs/plans/record-pair-plan-deviations.md
…untime-stores execution - Plan: consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores - Branch: worktree/consolidate-project-runtime-state-04-move-select-368eca2f - Files: docs/plans/consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores.md
- Plan: record-pair-plan-deviations - Description: Pair Execution lets the user inspect an increment and change direction before implementation continues. Today, revision feedback returns only to the live Plan Engineer or Frontend Engineer turn. The Session Transcript can retain the tool result, and optional metrics retain a content-free decision, but neither is Plan authority. A restart, Semantic Code Review, or Work Record generation has no structured record that the user intentionally replaced a Plan requirement. The Reviewer can then reject correct code for not matching obsolete Plan text. - Branch: worktree/record-pair-plan-deviations-f00ee389 - Files: docs/domain-language.md, docs/plan-workflow-map.md, docs/plans/record-pair-plan-deviations.md, docs/validation-authority.md, docs/workflows.md and 33 more
…runtime-stores - Plan: consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores - Description: Plan document locks, catalog locks, transition journals, and Work Record supersession locks are selected-checkout state. They protect the checkout that owns the document mutation or checkout-local operation. Today they use the old `.wld/` runtime location. - Branch: worktree/consolidate-project-runtime-state-04-move-select-368eca2f - Files: docs/plans/consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores.md, src/cmd/plans/doctor.test.ts, src/cmd/plans/doctor.ts, src/plan-store.js, src/plan-store.test.js and 7 more
- Plan: fix-epic-branch-loading-and-child-planning - Branch: worktree/fix-epic-branch-loading-and-child-planning-6ba3cf38 - Files: docs/plans/fix-epic-branch-loading-and-child-planning.md
…runtime-stores - Plan: consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores - Description: Plan document locks, catalog locks, transition journals, and Work Record supersession locks are selected-checkout state. They protect the checkout that owns the document mutation or checkout-local operation. Today they use the old `.wld/` runtime location. - Branch: worktree/consolidate-project-runtime-state-04-move-select-368eca2f - Files: docs/plans/consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores.md, src/cmd/load-plan/plan-recovery-flow.test.ts, src/shared/git-test-fixture.ts, src/shared/work-records/supersession.test.ts, src/shared/workflow/plan-location.integration.test.ts and 1 more
…-move-selected-checkout-runtime-stores - Plan: consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores - Description: Plan document locks, catalog locks, transition journals, and Work Record supersession locks are selected-checkout state. They protect the checkout that owns the document mutation or checkout-local operation. Today they use the old `.wld/` runtime location. - Branch: worktree/consolidate-project-runtime-state-04-move-select-368eca2f - Files: docs/plans/consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores.md, docs/plans/consolidate-project-runtime-state/manual-qa.md RunWield-Publication-Attempt: 368eca2f RunWield-Publication-Plan-Path: docs/plans/consolidate-project-runtime-state/04-move-selected-checkout-runtime-stores.md
…ct-368eca2f' into epic/consolidate-project-runtime-state
- Plan: fix-epic-branch-loading-and-child-planning - Description: An Epic can publish its children to a branch while the user keeps the primary checkout on another branch. Today the user must switch that checkout to see current child statuses with `/load-plan`. Automatic continuation can select a child before publication cleanup, then reload it and start Planner in the primary checkout. Planner sees old statuses and cannot see code delivered by earlier children. - Branch: worktree/fix-epic-branch-loading-and-child-planning-6ba3cf38 - Files: docs/adr/005-concurrent-worktree-isolation.md, docs/domain-language.md, docs/plans/fix-epic-branch-loading-and-child-planning.md, docs/usage.md, src/cmd/load-plan/index.ts and 10 more
- Plan: record-pair-plan-deviations - Description: Pair Execution lets the user inspect an increment and change direction before implementation continues. Today, revision feedback returns only to the live Plan Engineer or Frontend Engineer turn. The Session Transcript can retain the tool result, and optional metrics retain a content-free decision, but neither is Plan authority. A restart, Semantic Code Review, or Work Record generation has no structured record that the user intentionally replaced a Plan requirement. The Reviewer can then reject correct code for not matching obsolete Plan text. - Branch: worktree/record-pair-plan-deviations-f00ee389 - Files: docs/domain-language.md, docs/plan-workflow-map.md, docs/plans/record-pair-plan-deviations.md, docs/validation-authority.md, docs/workflows.md and 12 more
- Plan: record-pair-plan-deviations - Description: Pair Execution lets the user inspect an increment and change direction before implementation continues. Today, revision feedback returns only to the live Plan Engineer or Frontend Engineer turn. The Session Transcript can retain the tool result, and optional metrics retain a content-free decision, but neither is Plan authority. A restart, Semantic Code Review, or Work Record generation has no structured record that the user intentionally replaced a Plan requirement. The Reviewer can then reject correct code for not matching obsolete Plan text. - Branch: worktree/record-pair-plan-deviations-f00ee389 - Files: docs/plans/record-pair-plan-deviations.md RunWield-Publication-Attempt: f00ee389 RunWield-Publication-Plan-Path: docs/plans/record-pair-plan-deviations.md
…ct-361fae63' into epic/consolidate-project-runtime-state # Conflicts: # docs/prd/runwield-core-prd.md
- Plan: release-runtime-state-v0-11-0 - Branch: worktree/release-runtime-state-v0-11-0-494f198b - Files: docs/plans/release-runtime-state-v0-11-0.md
# Conflicts: # src/plan-store.test.js
# Conflicts: # scripts/release-policy.test.js
- Plan: release-runtime-state-v0-11-0 - Description: The [runtime-state Epic](consolidate-project-runtime-state.md) reports all eight children complete. Release review of `83d1c205` against `main` at `f7c2c9d8` found remaining safety gaps. The owner also observed publication stop at `CLAUDE.md`, a repository symlink to `AGENTS.md`. The other findings below are source-review findings, not yet reproduced by this planning session. No current full-suite or merge-result qualification is claimed. - Branch: worktree/release-runtime-state-v0-11-0-494f198b - Files: docs/plans/release-runtime-state-v0-11-0.md
- Plan: release-runtime-state-v0-11-0 - Description: The [runtime-state Epic](consolidate-project-runtime-state.md) reports all eight children complete. Release review of `83d1c205` against `main` at `f7c2c9d8` found remaining safety gaps. The owner also observed publication stop at `CLAUDE.md`, a repository symlink to `AGENTS.md`. The other findings below are source-review findings, not yet reproduced by this planning session. No current full-suite or merge-result qualification is claimed. - Branch: worktree/release-runtime-state-v0-11-0-494f198b - Files: .gitignore, docs/plans/release-runtime-state-v0-11-0.md, src/ui/workspace/server/astro-canonical-data.js, src/ui/workspace/server/astro-owner-data.js
- Plan: release-runtime-state-v0-11-0 - Description: The [runtime-state Epic](consolidate-project-runtime-state.md) reports all eight children complete. Release review of `83d1c205` against `main` at `f7c2c9d8` found remaining safety gaps. The owner also observed publication stop at `CLAUDE.md`, a repository symlink to `AGENTS.md`. The other findings below are source-review findings, not yet reproduced by this planning session. No current full-suite or merge-result qualification is claimed. - Branch: worktree/release-runtime-state-v0-11-0-494f198b - Files: docs/plans/release-runtime-state-v0-11-0.md RunWield-Publication-Attempt: 494f198b RunWield-Publication-Plan-Path: docs/plans/release-runtime-state-v0-11-0.md
…pic/consolidate-project-runtime-state
…ect-runtime-state # Conflicts: # src/cmd/plans/index.ts
gandazgul
marked this pull request as ready for review
September 18, 2026 13:05
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
Consolidates machine-owned project runtime state under
.wld/internal/for the 0.11 release. This creates a clear boundary between internal state and project configuration that users can commit.Plan: https://github.com/gandazgul/runwield/blob/main/docs/plans/consolidate-project-runtime-state.md
What changed
HOMEworktree fallback to their new owned paths.plans doctorwith read-only inspection, actionable migration findings, and safe repair behavior..wld/internal/rule and added staging/publication checks that reject current or legacy runtime state in commits and history..wld/settings.json, local Agents, Skills, and prompts as normal project files.Related workflow fixes included
Migration and compatibility
~/.wld/and normal home-based execution worktrees do not move.Validation
a56d754570e7c0ca9b9a43f4fb79c6f3c58ba4fd: workflow run 35242972855.