Skip to content

feat: Phase 1 architecture specs + bot commands + experiment scripts (Closes #45, refs #57, #523, #494) - #584

Merged
gHashTag merged 2 commits into
mainfrom
feat/phase1-arch-bot-commands
Aug 14, 2026
Merged

gHashTag merged 2 commits into
mainfrom
feat/phase1-arch-bot-commands

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Summary

Phase 1 Architecture specs (Closes #45)

3 new .tri specs completing the 9 core TRI command specs:

  • specs/tri/decompose.tri — task decomposition DAG with agent assignment, 4 tests
  • specs/tri/plan.tri — execution plan with parallel grouping and risk assessment, 3 tests
  • specs/tri/verdict.tri — PASS/FAIL/WARN/TOXIC_FAIL verdict engine, 4 tests + 2 invariants

Now all 9 core specs exist: decompose, plan, spec_create, gen, test, bench, verdict, github, loop_decide

Bot commands (refs #57)

  • specs/tri/bot_commands.tri — /worktree, /pr, /board spec with types and tests
  • src/tri/github_commands.zig — handleWorktree, handlePR, handleBoard Zig implementations

Benchmark spec (refs #494)

  • specs/benchmarks/bench_005_format_comparison.tri — BENCH-005: 5 formats × 2 datasets × 3 seeds

Experiment (refs #523)

  • experiments/backward/overfit_100/run.py — overfit-100 gate script (500 steps, BPB < 0.5)

Test plan

  • Specs follow canonical .tri format
  • zig build passes with new github_commands.zig additions
  • Bot commands work via Telegram (requires deployment)

Specs (Phase 1 Architecture — Closes #45):
- decompose.tri: task decomposition DAG with agent assignment
- plan.tri: execution plan with parallel grouping and risk assessment
- verdict.tri: PASS/FAIL/WARN/TOXIC_FAIL verdict with confidence score

Bot commands (tri-bot Phase 3 — refs #57):
- bot_commands.tri: /worktree, /pr, /board spec
- github_commands.zig: handleWorktree, handlePR, handleBoard implementations

Benchmark (BENCH-005 — refs #494):
- bench_005_format_comparison.tri: 5 formats × 2 datasets × 3 seeds spec

Experiment (refs #523):
- experiments/backward/overfit_100/run.py: overfit-100 gate script
…507, #45)

FPGA Firmware Stack Phase 1 specs:
- uart.tri: UART RX/TX with configurable baud/parity, 5 tests
- spi_controller.tri: SPI master Mode 0-3, 3 tests
- i2c_controller.tri: I2C master 7-bit addr, standard/fast mode, 4 tests

Architecture:
- docs/TRI_PIPELINE_ARCHITECTURE.md: 9-phase pipeline diagram, agent domain map
@gHashTag
gHashTag merged commit 2633007 into main Aug 14, 2026
23 of 52 checks passed
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.

Phase 1: Architecture — .vibee specs + agent interfaces + parallel execution design

1 participant