Skip to content

a-change-is-committed-where-it-is-made: a change is on the server from the moment it is made - #872

Merged
VeryComplexAndLongName merged 4 commits into
mainfrom
a-change-is-committed-where-it-is-made
Oct 10, 2026
Merged

VeryComplexAndLongName merged 4 commits into
mainfrom
a-change-is-committed-where-it-is-made

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

Summary

The owner's report on HppMCP (2026-10-10): four changes, each in its own worktree, read as somebody else's with no button on their cards. Two causes, both fixed here (openspec/changes/a-change-is-committed-where-it-is-made, ADR 0043 amended):

  • Agents were told where to commit, never when. The rules now say: commit the planning artifacts on the change's branch and git push -u origin <change-id> as soon as they are written; commit and push after every task; nothing left unpushed; nothing of a change on main.
  • The product did not commit either. Create Change (both hosts) now commits the new change on its branch and pushes it; a refused push leaves it made and says why (OSW-GIT-203). The git stage commits what the stages left before it pushes (OSW-GIT-103).
  • Commit Change: a new action in core's list (card + Show Actions..., both hosts) that commits everything the change's own worktree holds and pushes it. Refused in the checkout / on the default branch / while a run is going.
  • "not on the server" on a card whose change's branch was never pushed or differs from the server — read from the refs the survey already lists (no extra git process per directory).
  • Arranged by step, a card of a change's own worktree now offers its actions, as it did only on the board.
  • Messages OSW-GIT-001..203 in the register (ratchet stays 290); docs/messages.md regenerated.

Test plan

  • typecheck, lint (0 errors)
  • core: change-commit (real git + bare remote), change-in-its-worktree, worktree-survey, change-actions, workflow rules, message register, git stage
  • webui PipelineView 107; extension 536; server change-actions 5
  • openspec validate --strict; merge gate names only 4.3 open
  • e2e in CI
  • 4.3 Human-only in HppMCP

🤖 Generated with Claude Code

…m the moment it is made

The rules agents are given said where a change's commits go and never
when; four changes of one repository sat untracked in their worktrees,
their branches where main was, and their cards offered nothing arranged by
step.

- The rules say when: the planning artifacts committed on the change's
  branch and pushed with an upstream as soon as they are written, the work
  of every task, nothing left unpushed, nothing on main.
- Create Change commits the new change on its branch and pushes it; a
  refused push leaves it made and says why.
- The git stage commits what the stages left before it pushes.
- The survey says where a change's own branch is not on the server, from
  the refs it lists anyway; the card says so.
- Commit Change, in core's list of actions and both hosts, commits what a
  change's worktree holds and pushes it.
- A card of a change's own worktree offers its actions arranged by step.
- Messages OSW-GIT-001..203; ADR 0043 amended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s icon

The web UI draws a change action's codicon from its own outline table,
which had no git-commit. Taken from the codicon font VS Code ships, as the
others were; the existing outlines are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…runs from its card, there

The owner's check on HppMCP showed the card of a change worked in its own
worktree with every action but the run: its Start was refused for a change
this checkout does not have.

- The card of a change's own worktree offers Run Change..., in both
  arrangements; "running" while a run of it reports from there.
- The editor accepts the card's Start for a change of its own worktree,
  and Run Change resolves the change where it is worked and runs it there,
  with that worktree's harness.
- The standalone's run dialog, schedule and chain take the worktree's root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@VeryComplexAndLongName
VeryComplexAndLongName merged commit 152755f into main Oct 10, 2026
10 checks passed
@VeryComplexAndLongName
VeryComplexAndLongName deleted the a-change-is-committed-where-it-is-made branch October 10, 2026 13:36
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