Repository navigation
fix: treat an empty installed JSON file as blank - #270
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
|
Review summary: no findings.
Blocking findings (P0/P1): 0. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
|
Review summary No blocking findings, and nothing else worth an inline comment.
P0: 0 · P1: 0 · P2: 0 · P3: 0 |
furedea
approved these changes
Dec 1, 2026
furedea
pushed a commit
that referenced
this pull request
Dec 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.10.1](agent-harness-v0.10.0...agent-harness-v0.10.1) (2026-12-01) ### Bug Fixes * treat an empty installed JSON file as blank ([#270](#270)) ([b16c370](b16c370)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
furedea
added a commit
to furedea/dotfiles
that referenced
this pull request
Dec 2, 2026
## 変更 `agent-harness` の flake input を v0.10.1(58b900f)に更新する. v0.10.0(furedea/agent-harness#268)は Antigravity の MCP 設定ファイル `~/.gemini/config/mcp_config.json` を同期するようになったが,Antigravity が作る 0 バイトのファイルを JSON として読めず,home-manager の activation が `agentHarnessAntigravityMcpServers` で止まっていた(以降の activation,Claude の `settings.json` の同期などが走らない).v0.10.1(furedea/agent-harness#270)は,既存ファイルが空または空白だけのとき空の設定として扱う. ## 確認 - `nix flake check` が通る. - lock の commit が `agent-harness-v0.10.1` タグと一致する. ## マージ後の確認 1. `sudo darwin-rebuild switch` が最後まで通る(`{}` を書き込む回避策は不要). 2. Claude のセッションを起動し直し,ツールを使っても `Usage: audit_log.py denied …` の hook エラーが出ない. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #269
原因
#268 の MCP ファイル同期が installed の JSON を
Json::parseでそのまま読むため,Antigravity が初回起動時に作る 0 バイトのmcp_config.jsonでEOF while parsingとなり,activation 全体が中断していた.YAML には installed の空文書を blank とする既存の扱いがあったが,JSON にはなかった.修正
Json::parseがRole::Installedかつ空白のみのテキストを空オブジェクトとして読む(YAML と同じ方針.codec レベルなので全 installed JSON に適用)[],nullは従来どおりエラー(既存のpi_rejects_invalid_documents…が維持を確認)mcpServersが書かれることを確認)備考
リリースと dotfiles の lock 更新後は,回避策の
printf '{}\n' >は不要になる.ADR は YAML との整合のみで新たな決定がないため追加していない.🤖 Generated with Claude Code