fix(cli): stop creating .install_method in Git checkout (#66189) - #66322
fix(cli): stop creating .install_method in Git checkout (#66189)#66322lEWFkRAD wants to merge 1 commit into
Conversation
Related: #54855 already supplies the focused |
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Approved
Clean, well-scoped change with good test coverage. No security concerns.
Reviewed by Hermes Agent
teknium1
left a comment
There was a problem hiding this comment.
Thanks for identifying a real updater annoyance. The premise still holds on current main: hermes_cli/config.py:503 writes the checkout-local marker, while hermes_cli/main.py:6534-6565 checks porcelain status and autostashes untracked files. The root-scoped rule in commit a1ad6a09081eb80877ed41eb9093ea8c72b0c861 addresses that path.
Problems
- The PR diff contains 51 files and 10,516 added lines unrelated to #66189, including AMDP, platform, telemetry, pet, and backup-artifact changes. The focused final commit changes only
.gitignoreandtests/test_install_sh_install_method_stamp.py. - The unrelated AMDP work adds the user-facing
reviewer_max_tokenssetting atagent/amdp/config.py:172(also documented atagent/amdp/ACTIVATION.md:48), which conflicts with the standing no-user-facing-max_tokens policy. tests/test_install_sh_install_method_stamp.py:42checks for a literal.gitignorestring rather than Git ignore behavior or the updater contract.
Suggested changes
- Rescope to the focused
.install_methodignore change and add behavioral Git/update coverage.
Automated hermes-sweeper review.
a1ad6a0 to
63fb39f
Compare
SummaryFive PRs address #66189 by ignoring the installer-created root Related pull requests
Duplicates#54855, #66216, #66322, #66723, and #67364 share the same core Suggested consolidationClose #54855 and #66322 as already implemented on main by merged #67364: its root-scoped rule is identified in the maintainer-bot evidence at commit Complex graphflowchart TD
classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a
classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d
classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937
classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151
classDef best stroke-width:3px,stroke:#b45309
classDef target stroke-width:3px,stroke:#4338ca
I66189(["issue #66189 (closed)"])
subgraph Dup54855 ["PRs duplicating each other"]
P54855["PR #54855 (open)"]
P66216["PR #66216 (closed)"]
P66322["PR #66322 (open)"]
P66723["PR #66723 (closed)"]
P67364["PR #67364 (merged)"]
end
P66322 -->|fixes| I66189
class I66189 closed
class P54855 open
class P66216 closed
class P66322 open
class P66723 closed
class P67364 merged
class P67364 best
class P66322 target
click I66189 "https://github.com/NousResearch/hermes-agent/issues/66189"
click P54855 "https://github.com/NousResearch/hermes-agent/pull/54855"
click P66216 "https://github.com/NousResearch/hermes-agent/pull/66216"
click P66322 "https://github.com/NousResearch/hermes-agent/pull/66322"
click P66723 "https://github.com/NousResearch/hermes-agent/pull/66723"
click P67364 "https://github.com/NousResearch/hermes-agent/pull/67364"
Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed (state tag in the node label). Cross-PR triage: Reviewed 5 pull requests and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 7 kB of PR diffs, 7 kB of issue/PR text, 5 kB of discussion (15 comments), 6 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch. |
Fixes #66189