Skip to content

build(deps): refresh locks and remove Nogon - #520

Merged
furedea merged 2 commits into
mainfrom
build/refresh-locks-and-adopt-nogon
Nov 25, 2026
Merged

furedea merged 2 commits into
mainfrom
build/refresh-locks-and-adopt-nogon

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

概要

Renovate の #504(lock file maintenance)の flake.lock と uv.lock を取り込み,あわせて Hister(上流で Nogon に改名)を完全に削除します.Renovate のブランチに直接コミットすると Renovate が更新を管理できなくなるため,独自 PR として取り込みます.

Supersedes #504

lock の変更

  • agent-browser 0.43.0 → 0.44.0
  • atuin 18.24.5 → 18.24.8
  • claude-code 2.1.327 → 2.1.331
  • dsh 0.2.2-rc.4 → rc.5
  • eza,ffmpeg,oxlint,tsgolint(バージョン更新)
  • gh 2.102.0 → 2.105.0
  • herdr-core 0.1.21 → 0.1.22
  • lazygit 0.61.1 → 0.66.3
  • pi-coding-agent 1.5.0 → 1.6.0
  • sandbox-runtime 0.0.81 → 0.0.83
  • t3code 0.1.10 → 0.1.11
  • uv 0.13.7 → 0.13.9
  • zizmor 1.31.0 → 1.32.0
  • hister input とその依存(flake-parts,nixpkgs)を lock から削除(この削除以外の lock 変更はありません)

Hister の削除

使われておらず(記録された検索は拡張機能が記録した Google 検索),拡張機能が全サイトと Cookie を読め,サーバーが閲覧ページを tailnet に公開し,AI(MCP)連携も未接続のため削除します.

  • flake input,パッケージ,hister.darwinModules.default,services.hister,MBP の launchd エージェント,scripts/hister/run_hister_server.sh,histerServerUrl,MBA のクライアント設定,tests/hister/,README の手順を削除
  • nix/checks.nix の hister-* contract を,どちらのホストもインストールせずサービスも動かさないことを確認する nogon-absent に置換
  • ADR-0018 を superseded にし,ADR-0051 を追加

確認

  • nix build .#checks.aarch64-darwin.{home-configuration,host-configuration,system-configurations} 成功(削除前に nogon-absent が失敗することを確認済み)
  • pytest 197 件,lefthook run pre-commit --all-files 成功
  • ローカルの bats は sandbox の制約で 1Password ソケット関連 16 件と lspmux 1 件が失敗(本変更と無関係).CI の bats-tests で確認
  • codex-review は Codex の利用上限による失敗のため対象外

マージ後の作業

  1. 両 Mac で darwin-rebuild switch --flake .#<host> を適用する.
  2. Chrome と Dia から Nogon(Hister)拡張機能を削除する.
  3. Dia の「設定 > 検索エンジン」から "Hister" のサイト内検索キーワードを削除する.
  4. MBP で tailscale serve status を実行し,4433 番ポート(hister)向けの公開設定があれば,表示内容を確認してから解除する(正確なコマンドは出力を見て決める).
  5. MBP で ~/Library/Application Support/hister(約 919 MB)を削除する.
  6. MBP で Keychain の項目 org.furedea.hister.access-token を削除する(security delete-generic-password -a "$USER" -s org.furedea.hister.access-token).
  7. MBA で ~/Library/Preferences/hister を削除する.

🤖 Generated with Claude Code

Take the lock file maintenance set and expect the nogon binary and package
name in the Hister contracts; the services.hister options, HISTER__ variables,
Keychain item and client config path stay valid upstream.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 25, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-25T08:05:51.971135Z
We couldn’t complete this review. Comment @codex review to try again.
9158a1c Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

Review summary: no findings.

I checked the nix/checks.nix change (/bin/hister → /bin/nogon, and hister → nogon in the MBA client package list). It is consistent with the launcher, which takes the binary path as an argument (scripts/hister/run_hister_server.sh), so no other code hard-codes the old binary name. The rest of the diff is lock-file churn (flake.lock, uv.lock).

I could not verify these claims offline, and the PR's post-merge steps already cover them:

  • Upstream still reads Library/Preferences/hister/config.yml and HISTER__APP__ACCESS_TOKEN.
  • The github:asciimoo/hister redirect keeps resolving.

No P0–P3 issues.

Nothing uses its search, its extension reads every site, and the server
exposes visited pages over the tailnet. Drop the flake input and package,
the MacBook Pro launchd agent and launcher, the client config, the tests and
the README setup steps, and replace the contracts with one that fails if a
host installs it again. ADR-0051 supersedes ADR-0018.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea-agent furedea-agent Bot changed the title build(deps): refresh locks and follow hister's rename to Nogon build(deps): refresh locks and remove Nogon Nov 25, 2026
@furedea

furedea commented Nov 25, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

Review summary: I found no correctness, security or test-coverage problems, so I posted no inline comments.

What I checked:

  • No hister or nogon references remain outside the ADRs and the new nogon-absent contract. That covers the flake input, darwin and home modules, scripts, tests and README.
  • flake.lock has no hister entries left.
  • nogon-absent in nix/checks.nix is safe once the services.hister module is gone, because the or false fallback covers the missing option. It also checks the launchd agent, the home packages and the client config file on both hosts.
  • ADR-0018 is marked superseded by ADR-0051, and ADR-0051 supersedes ADR-0018, so the cross-references line up.

I did not run the Nix builds or the bats suite. This runner has no Darwin builder, so I'm relying on the PR's stated results for those. The cleanup steps after merge (Keychain item, data directory, Tailscale Serve route) are manual, as the PR says.

@furedea
furedea merged commit 281df9f into main Nov 25, 2026
21 of 23 checks passed
@furedea
furedea deleted the build/refresh-locks-and-adopt-nogon branch November 25, 2026 08:15
furedea added a commit that referenced this pull request Nov 25, 2026
## 概要

#520 のロック更新で入った nixpkgs の `cacert` 3.131.1 は `emSign ECC Root CA - G3`
を証明書ストアから削除済みです.`security.pki.caCertificateBlacklist`
にこの名前が残っているため,証明書バンドルのビルドが `Certs in blocklist but not in cert store`
で失敗し,`darwin-rebuild switch` が止まっていました.

## 変更内容

- `nix/darwin/default.nix`: ブロックリストから `emSign ECC Root CA - G3`
を削除しました.コメントにあった「nixpkgs の cacert が信頼しなくなったら外す」の条件を満たしたためです.`Comodo AAA
Services root` はストアに残っているので維持します.
- `nix/checks.nix`: darwinOnly に `ca-certificate-bundle` を追加し,mbp の
`/etc/ssl/certs/ca-certificates.crt`
をビルドします.評価だけの既存チェックではこの失敗を検出できませんでした.

## 確認

- 修正前の main で `checks.aarch64-darwin.ca-certificate-bundle`
が同じエラーで失敗することを確認しました.
-
修正後,`ca-certificate-bundle`,`host-configuration`,`system-configurations`
と `darwinConfigurations.mbp.system` のビルドが通りました.
- `nixfmt --check`,`statix`,`deadnix` は通過しました.

## マージ後

両 Mac で `git pull --ff-only` と `darwin-rebuild switch` を実行してください.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
furedea added a commit that referenced this pull request Nov 25, 2026
## 概要

Node.js を公式バイナリ固定から `nixpkgs-unstable` の `nodejs_24` に戻します.

- `nix/home/default.nix` の `nodejsPackage` を `unstable.nodejs_24` に変更
- `nix/packages/nodejs_bin.nix` を削除
- `flake.lock` は変更なし.root input の `nixpkgs-unstable` は lock node
`nixpkgs-unstable_2` を指し,#520 で 619c39f(2026-11-22)に固定済みで,`nodejs_24` は
24.22.2 です

Closes #276

## 検証

- `nix build` した nodejs_24:
`/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node
--version` → `v24.22.2`
- `lefthook run pre-commit --all-files`: 全て成功
- `nix flake check`: all checks passed
- eMudhra
テストホストへの通信は作業環境のサンドボックスが拒否するため,このPRでは未実施です.`/usr/bin/curl`,Safari,Chrome
が両ホストを拒否することは確認済みです

## マージ後の手順

両方の Mac で pull して `darwin-rebuild switch`
を実行し,次のコマンドで,いずれも証明書エラーで拒否されることを確認します.

```sh
for h in dv-g3b-emudhra dv-g3b-aaa-emudhra; do
  u=https://$h.we-have-a-problem.com/
  node -e "fetch('$u').then(()=>console.log('ACCEPTED'),e=>console.log('rejected:',e.cause?.code))"
  curl -sS -o /dev/null "$u" && echo ACCEPTED
  uv run --no-project python -c "import urllib.request as r;r.urlopen('$u');print('ACCEPTED')"
  uv pip install --no-deps --index-url "$u" pip
done
```

Node と curl と uv の Python は証明書エラー,uv は TLS エラーで失敗すれば期待どおりです(`ACCEPTED`
が出たら問題).


🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
@furedea-agent furedea-agent Bot mentioned this pull request Nov 25, 2026
1 task
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