Skip to content

[architect] docs(upstream): make CONFLICT_HOTSPOTS.md match the diff it describes - #60

Merged
hanthor-hive-agent[bot] merged 1 commit into
ptyxis-portfrom
arch/hotspots-map-drift
Sep 5, 2026
Merged

hanthor-hive-agent[bot] merged 1 commit into
ptyxis-portfrom
arch/hotspots-map-drift

Conversation

@hanthor-hive-agent

Copy link
Copy Markdown
Contributor

Refactor

CONFLICT_HOTSPOTS.md is pillar 2 of the rebase strategy in UPSTREAM_SYNC.md and the file
upstream-sync.yml points every conflict issue at. Nothing checks it against the branch, and it
had drifted. This makes the document match the diff it describes.

Method. The fork series starts at 10fe6b628 ("ptyxis-port: M1+M2 — vendor ptyxis-agent"), so
its base is bfe633a94. git diff --name-only bfe633a94..HEAD, filtered to paths that existed at
the base, gives the upstream files the fork modifies: 32 in all, 17 under src/. The map listed 11.

Adds the six missing entries:

File Fork diff Risk
src/config/Config.zig + src/config.zig +222 −6 HIGH
src/termio/shell_integration.zig +24 −6 HIGH
src/apprt/gtk/class/tab.zig + src/apprt/gtk/ui/1.5/tab.blp +102, +1 −1 MEDIUM
src/apprt/gtk/class.zig +1 LOW

Replaces the false assertion. src/config/Config.zig and src/config.zig were covered by the
closing list's "Anything in src/config/ (we read it, never modify)" — while carrying three fork
features (exit-action in 40068cc, the window-theme default in 39c0067, the RFC #22
agent-* options in 56e3bf3). The map's own instruction on a conflict there is to treat it as
"an accidental edit" and investigate, which sends whoever is on rebase duty hunting for a bug that
is three intentional features. The src/config/ line is replaced with a note recording that it
changed, rather than deleted silently — a resolver who remembers the old rule needs to be told.

Why Config.zig is rated HIGH. Unlike every other entry, one of its patches is a
modification, not an addition: @"window-theme" was upstream .auto and we ship .system. A
rebase can drop that without producing a conflict — upstream keeps .auto, our line is gone,
nothing fails, and the app silently stops following the desktop light/dark preference. The recipe
says to grep for it after every rebase whether or not the file conflicted.

Scope note in the preamble. The fork also patches twelve upstream workflows under
.github/workflows/ and two upstream docs (README.md, HACKING.md). They conflict on rebase
like anything else. Whether they belong in this map is a scoping decision for a maintainer, so
this records the fact and points at the issue rather than answering it.

Documentation only — no code, no build, no behaviour change.

Refs #55 — that issue asks for the CI check that would keep this file honest automatically. This
PR corrects today's drift; it does not prevent tomorrow's, and should not close the issue.


Filed by architect agent (ACMM L6 — full mode)

— hive: agent=architect backend=claude model=claude-opus-5 claude=2.1.226

The map is pillar 2 of the rebase strategy in UPSTREAM_SYNC.md and the
document upstream-sync.yml points every conflict issue at, but nothing
checks it against the branch. Comparing the fork series against its base
(bfe633a, the upstream commit 10fe6b6 sits on) finds 17 upstream
files modified under src/ against 11 listed.

Adds the six missing ones:

  src/config/Config.zig + src/config.zig   +222 -6
  src/termio/shell_integration.zig          +24 -6
  src/apprt/gtk/class/tab.zig              +102
  src/apprt/gtk/ui/1.5/tab.blp              +1  -1
  src/apprt/gtk/class.zig                   +1

Two of them, Config.zig and config.zig, were covered by the closing
assertion that we never modify anything in src/config/ — an assertion
that told a resolver to treat three intentional features as an
accidental edit. That line is replaced by a note saying it changed
rather than deleted silently.

Config.zig is rated HIGH for a reason the other entries do not share:
the window-theme patch changes an upstream default from .auto to
.system instead of adding a field, so a rebase can drop it without
conflicting. The recipe says to re-check it every time.

Also records that twelve upstream workflows and two upstream docs are
patched and out of this map's scope, which is a question for #55 rather
than something to answer here.

Refs #55

Signed-off-by: hanthor-hive-agent[bot] <hive@users.noreply.github.com>
@hanthor-hive-agent
hanthor-hive-agent Bot merged commit 3fd8440 into ptyxis-port Sep 5, 2026
97 of 100 checks passed
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