tidaldb/forage-discover.sh
jordan f4cfd6c81f feat: complete M8 replication primitives + forage enhancements + docs
Milestone 8 (phases 1-4):
- Shard-aware WAL segment naming, BatchHeader v2, ShardRouter
- Transport trait, InProcessTransport, WalShipper, FollowerDb
- HLC, PNCounter, LWWRegister, CrdtSignalState, ReconciliationEngine
- Session replication bridge with SeqNo/HWM, idempotency store

Forage application:
- Multi-source discovery engine with MAB exploration
- Embedding-based label system, server handlers, UI refresh

Other:
- QUICKSTART.md, README.md, milestone-8 planning docs
- Hard negative union semantics, RLHF export enhancements
- Recovery benchmark and visibility test expansions
- Split 8 oversized source files per CODING_GUIDELINES §9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:17:19 -07:00

30 lines
764 B
Bash
Executable File

#!/usr/bin/env bash
# forage-discover.sh — Start the Forage autonomous discovery agent
#
# Prerequisites:
# - forage-server running at localhost:4242
# cargo run -p forage-server --manifest-path applications/forage/server/Cargo.toml
# - Claude Code CLI installed with --chrome support
# https://code.claude.com/docs/en/chrome
#
# Usage:
# ./forage-discover.sh
set -euo pipefail
AGENT_MD="$(dirname "$0")/applications/forage/agent.md"
if [[ ! -f "$AGENT_MD" ]]; then
echo "Error: agent instructions not found at $AGENT_MD" >&2
exit 1
fi
echo "Starting Forage discovery agent..."
echo "Server: http://localhost:4242"
echo "Agent instructions: $AGENT_MD"
echo ""
echo "Press Ctrl+C to stop."
echo ""
exec claude --chrome "$(cat "$AGENT_MD")"