You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
orch frontier set: base-chain resolver gaps from the 0.15.25 sync (unscheduled) #195
Record the review findings against orch frontier set's pull-request base-chain resolver, which the 0.15.25 sync (#191, PR #194) takes verbatim from upstream ce649c0. Unscheduled: per AGENTS.md, build this only after one of these failures is seen in real use.
Findings (PR #194, head 90a89e30abce47d8fbbd91a880ded540e79a748c)
All are in plugins/pstack/skills/poteto-mode/scripts/orch/store.ts, upstream code unchanged by the port.
gh pr list runs without --repo, so a fork checkout can query the fork instead of the base repository (store.ts:1072).
--state all plus a single-row guard rejects a branch that has one open PR and an older closed or merged PR (store.ts:1125).
A checkout on trunk returns an empty chain, and frontier.set writes it as generation n+1 (store.ts:1189).
After the bottom PR merges and the host retargets its child to trunk, recomputing from the merged branch drops the remaining stack (store.ts:1208; also Greptile P1).
A closed intermediate PR hides its open descendants on the downward walk (store.ts:1141).
Trunk comes only from refs/remotes/origin/HEAD, else main; a master, develop or non-origin base misresolves (store.ts:1180, two findings).
gh pr list keeps its default 30-row limit, so an older open child behind 30 newer closed rows is missed (store.ts:1067).
Fork stacks keep local ancestry while every PR targets trunk, so a base-chain walk finds one PR (store.ts:1193).
gh inherits CLICOLOR_FORCE / GH_FORCE_TTY, which can color its JSON before JSON.parse (store.ts:1033).
Why unscheduled
No Orchestrate program has run orch frontier set on studio2 (the only store, ~/.claude/orchestrate/upstream-sync-0.14.7/, has no frontier.json), and Open Pstack batches run through run-these and Mergify. Each failure gives a wrong or empty computed frontier.json that the next orch frontier set overwrites; none affects security, secrets, data or a review or merge gate. The findings were classed pre-accepted and waived on PR #194.
Acceptance (when scheduled)
The failure is reproduced from a real Orchestrate run, with the command and its output.
The fix goes to cursor/plugins first, since the code is upstream's; the port takes it in the next sync.
Closing as not planned. These findings are recorded in PR #194, under its head-1 Unfret section: ten findings in orch/store.ts, classed pre-accepted and waived on that head. They are also in the sync's batch ledger.
They are still in the code. As of 2026-10-20, plugins/pstack/skills/poteto-mode/scripts/orch/store.ts on main is byte-identical to upstream's 0.15.25 copy, and neither repository has changed it since. But they matter only when an Orchestrate program runs orch frontier set, and none has run it since this resolver landed.
Reopen this only if one of these failures shows up in a real Orchestrate run, with the command and its output. Because the code is upstream's, the fix then goes to cursor/plugins first, and the port takes it in the next sync.
Activity
ericlitman commentedon Oct 20, 2026
Closing as not planned. These findings are recorded in PR #194, under its head-1 Unfret section: ten findings in
orch/store.ts, classedpre-acceptedand waived on that head. They are also in the sync's batch ledger.They are still in the code. As of 2026-10-20,
plugins/pstack/skills/poteto-mode/scripts/orch/store.tsonmainis byte-identical to upstream's 0.15.25 copy, and neither repository has changed it since. But they matter only when an Orchestrate program runsorch frontier set, and none has run it since this resolver landed.Reopen this only if one of these failures shows up in a real Orchestrate run, with the command and its output. Because the code is upstream's, the fix then goes to cursor/plugins first, and the port takes it in the next sync.