Skip to content

feat: add just command runner with shard benchmark and demo#42

Open
jeffrey-l-turner wants to merge 11 commits intodevfrom
feature/just-shard-benchmark-demo
Open

feat: add just command runner with shard benchmark and demo#42
jeffrey-l-turner wants to merge 11 commits intodevfrom
feature/just-shard-benchmark-demo

Conversation

@jeffrey-l-turner
Copy link
Copy Markdown

@jeffrey-l-turner jeffrey-l-turner commented Mar 28, 2026

Summary

  • Add justfile with 26 recipes for shard lifecycle, supporting services, benchmark, and teardown
  • Add scripts/benchmark.sh — full-stack benchmark orchestrator (shard + f1r3drive + embers + f1r3sky)
  • Update README.md and CLAUDE.md with just commands and benchmark documentation
  • Archive completed EPOCH-002 to docs/CompletedTasks.md

Key Commands

  • just benchmark — Start shard, supporting services, run deploy/propose cycles, collect metrics, report
  • just teardown — Bring down all services and print final report
  • just up / just down / just status / just logs — Shard lifecycle
  • just up-embers / just up-f1r3sky / just up-monitoring — Supporting services

Merge Order

This PR targets dev. Merge sequence:

  1. PR feat: f1r3node-rust standalone repo integration #40 (feature/f1r3node-rust-integration-optionmain) — Rust node integration
  2. PR dev #38 (devmain) — sync dev to main
  3. This PR (feature/just-shard-benchmark-demodev) — benchmark tooling
  4. Then devmain as usual

Test Plan

  • just --list shows all 26 recipes
  • bash -n scripts/benchmark.sh passes syntax check
  • ruff check and ruff format --check pass
  • pytest test_internal.py passes
  • just benchmark runs successfully against live shard (manual verification)

- Merge 12 policy sections into CLAUDE.md (stigmergic collaboration, task claiming, PII guidelines, config conventions)
- Add AGENTS.md (condensed from CLAUDE.md) and GEMINI.md (pointer to CLAUDE.md)
- Add docs/ToDos.md, UserStories.md, Backlog.md, CompletedTasks.md templates
…e-rust

- Add user story US-001: deploy Rust shard from standalone f1r3node-rust repo
- Add EPOCH-001 with 4 tasks: services.yml, compose, shardctl support, docs
- Bi-directional linking between US-001 and EPOCH-001
- Replace template placeholders with project-specific content
…pstream

- services.yml: change URL to f1r3node-rust.git, branch dev, image f1r3node-rust
- compose/f1r3node-rust.yml: align with upstream shard.yml (F1R3FLY_IMAGE env var,
  F1R3_* runtime tuning, --required-signatures, consistent YAML command format)
- Mark TASK-001-1 and TASK-001-2 complete in ToDos.md
- Rename F1R3FLY_RUST_IMAGE env var to F1R3FLY_IMAGE across all compose files
- Update default image to f1r3flyindustries/f1r3node-rust:latest everywhere
- Update shardctl/node.py pull() and shardctl/cli.py test image references
- Update README.md and integration-tests docs
- Mark TASK-001-3 complete
- Update README and CLAUDE.md to note f1r3node-rust is a separate repo (not a branch)
- Mark EPOCH-001 and all tasks complete
- Check all US-001 acceptance criteria, set completed date
- Move EPOCH-001 (4 tasks) from ToDos.md to CompletedTasks.md
- Move US-001 from Planned to Completed Stories
- ToDos.md clean for new work
- README.md: reorder Quick Start and Node Commands to lead with Rust shard
- README.md: mark Scala commands as deprecated, link to f1r3node-rust repo
- CLAUDE.md: update Quick Reference to use f1r3node-rust commands
- US-002: Automated benchmark for f1r3node-rust shard only (not Scala/hybrid)
- EPOCH-002: 6 tasks from branch merges through report generation
- Prerequisite: merge all feature branches to main first
- Add justfile with 26 recipes: shard lifecycle, supporting services, benchmark, teardown
- Add scripts/benchmark.sh: orchestrates full-stack benchmark (shard + f1r3drive + embers + f1r3sky)
  with deploy/propose cycles, timing metrics, and formatted report
- Update docs/ToDos.md: mark TASK-002-1 complete, claim TASK-002-2
- Update README.md and CLAUDE.md with just commands and benchmark documentation
- Move completed EPOCH-002 (Automated Shard Benchmark and Demo) from ToDos.md to CompletedTasks.md
- All 6 tasks marked complete (2026-03-27)
@jeffrey-l-turner jeffrey-l-turner changed the base branch from main to dev March 28, 2026 02:59
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