Skip to content

fix: chess/discovery builds — add http.capnp, remove stale IPFS dep (v0.0.4.1)#333

Merged
lthibault merged 3 commits intomasterfrom
fix/chess-build-http-capnp
Apr 3, 2026
Merged

fix: chess/discovery builds — add http.capnp, remove stale IPFS dep (v0.0.4.1)#333
lthibault merged 3 commits intomasterfrom
fix/chess-build-http-capnp

Conversation

@lthibault
Copy link
Copy Markdown
Contributor

@lthibault lthibault commented Apr 3, 2026

Summary

  • Chess/discovery build fix: stem.capnp imports http.capnp for the HttpClient graft field, but chess and discovery didn't compile it. Added to both build scripts.
  • Remove stale IPFS dep: chess example called get_ipfs() on the graft response (field removed after UnixFS consolidation). Replaced IPFS replay publishing with local debug logging.
  • Dead code cleanup: removed unused ipfs_capnp module and ipfs.capnp compilation from chess and discovery (stem.capnp doesn't import it). Fixed stale doc comment claiming IPFS publishing.
  • Makefile: removed make run-daemon (use target/release/ww run crates/kernel std/shell directly after make)

Pre-Landing Review

No issues found.

Adversarial Review

Claude subagent found 3 fixable items (dead ipfs_capnp, stale doc comment, dead prev_cid chain). First two fixed. prev_cid chain left as-is (harmless, will be cleaned in a future replay refactor).

Test plan

  • 192 host lib tests pass
  • 505 glia tests pass
  • make chess passes
  • make discovery passes
  • make oracle passes
  • Counter has separate pre-existing issue (schema-id missing inject feature)

stem.capnp imports http.capnp for the HttpClient graft field, but
chess and discovery didn't compile it. Also removes the chess
example's dependency on get_ipfs() (removed from graft response
per UnixFS consolidation). Replay publishing is now a local log.

Removes make run-daemon — after make, run the binary directly:
  target/release/ww run crates/kernel std/shell
Adversarial review found: ipfs_capnp module compiled but unused
(stem.capnp doesn't import ipfs.capnp), and play_rpc_game doc
comment still claimed IPFS publishing.
@lthibault lthibault changed the title fix: chess/discovery builds missing http.capnp + remove stale IPFS dep fix: chess/discovery builds — add http.capnp, remove stale IPFS dep (v0.0.4.1) Apr 3, 2026
@lthibault lthibault merged commit 5852ad9 into master Apr 3, 2026
6 checks passed
@lthibault lthibault deleted the fix/chess-build-http-capnp branch April 3, 2026 21:43
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