beads/internal/formula
obsidian aaa8c3d032 test: add gate field parsing tests (bd-4bt1)
Add tests for parsing the Gate field in formula steps:
- TestParse_GateField: JSON parsing with all gate fields
- TestParse_GateFieldTOML: TOML parsing
- TestParse_GateFieldMinimal: minimal gate with only type
- TestParse_GateFieldWithAllTypes: all gate types (gh:run, gh:pr, timer, human, bead, mail)
- TestParse_GateInChildStep: gate in nested child steps

The Gate struct and Step.Gate field already existed. These tests
verify TOML and JSON parsing works correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 13:45:10 -08:00
..
advice.go chore: remove issue ID references from comments and changelogs 2025-12-28 10:05:16 -08:00
advice_test.go fix: Prevent aspect self-matching infinite recursion (gt-8tmz.16) 2025-12-25 12:21:23 -08:00
condition.go fix: Address code review issues in condition evaluator 2025-12-25 14:00:56 -08:00
condition_test.go fix: Address code review issues in condition evaluator 2025-12-25 14:00:56 -08:00
controlflow.go chore: remove issue ID references from comments and changelogs 2025-12-28 10:05:16 -08:00
controlflow_test.go Implement computed range expansion for loops (gt-8tmz.27) 2025-12-25 17:48:35 -08:00
expand.go chore: remove issue ID references from comments and changelogs 2025-12-28 10:05:16 -08:00
expand_test.go refactor: remove unused bd pin/unpin/hook commands (bd-x0zl) 2025-12-27 16:02:15 -08:00
parser.go refactor: remove Gas Town references from codebase 2025-12-30 14:13:32 -08:00
parser_test.go test: add gate field parsing tests (bd-4bt1) 2026-01-02 13:45:10 -08:00
range.go Implement computed range expansion for loops (gt-8tmz.27) 2025-12-25 17:48:35 -08:00
range_test.go Add edge case tests for expression evaluator (code review) 2025-12-25 17:55:42 -08:00
stepcondition.go feat: add negation support for step conditions (!{{var}}) 2025-12-31 00:37:59 -08:00
stepcondition_test.go feat: add negation support for step conditions (!{{var}}) 2025-12-31 00:37:59 -08:00
types.go feat: Implement Step.Gate evaluation (Phase 1: Human Gates) 2026-01-01 16:25:59 -08:00