Commit Graph

8 Commits

Author SHA1 Message Date
Fran Algaba 969710aeaf Add diff-stable syntax features (#16) 2026-02-10 14:45:29 +01:00
Fran Algaba 001b16258c migrate .spell DSL to brace-delimited syntax (#14)
* migrate .spell DSL from indentation to brace-delimited syntax (SPEC-001)

Replace Python-style 2-space indentation with Rust/Go curly-brace
blocks across the entire codebase. This is a breaking syntax change
that improves agent authorship — LLMs handle braces far better than
whitespace-significant formats.

Tokenizer: remove INDENT/DEDENT tokens, split bracketDepth into
parenDepth (suppresses newlines) and braceDepth (preserves newlines),
remove IndentationError.

Parser: replace all INDENT/DEDENT patterns with LBRACE/RBRACE across
~22 methods. New parseBraceBlock() helper replaces parseStatementBlock().
Two patterns: label blocks (label: { }) and keyword blocks (keyword { }).

AST, transformer, IR generator, and runtime are unchanged — indentation
was purely a lexical/parse concern.

Updated 86 .spell fixture files, 15 test files, 20 documentation files,
README, AGENTS.md, VM spec references, and compiler-pipeline docs.

620 tests pass, 0 fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add changeset

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 14:04:08 +01:00
Fran Algaba 7df23a47d9 add Yellow + LI.FI multi-track support with ENS hydration and e2e demo runbook (#12)
* Add impl plan for defihack

* add Yellow + LI.FI multi-track support with ENS hydration and e2e demo runbook

  - implement end-to-end custom action support in compiler, IR generation, runtime action resolution, and executor routing
  - add new offchain venue adapters:  and , and register/export them in
  - add adapter test suites for Yellow session lifecycle and LI.FI swap/bridge/compose_execute flows
  - add LI.FI compose_execute safety guard: enforce  unless explicit override is set
  - add CLI ENS profile hydration (, ) for  and
  - clamp ENS-hydrated  to safe bounds (0..500) in
  - remove unused/dead ENS helper surface
  - add DefiHack demo spells and prompt-first README runbook (VM rehearsal + deterministic CLI e2e)
  - update README and reference docs for new venues and CLI flags

* Add changeset

* Remove unused docs
2026-02-08 15:43:35 +01:00
Fran Algaba 218e00b071 support namespaced advisor models and document model IDs 2026-02-03 11:20:28 +01:00
Fran Algaba df1fd8bfb1 add new spell fixtures, test coverage, and fixes for advisory fallbacks and skill auto-select 2026-02-03 11:04:51 +01:00
Fran Algaba c2af926a9c Fix venue adapters, add test runner resilience, update docs
- Aave V3: fix GraphQL field names (sender), split amount formats
  - Morpho Blue: add default Base markets, fix multi-match resolution
  - Across: increase bridge amounts to meet minimums
  - Test runner: add --start-phase, --recover, checkpoint tracking
  - Clean up redundant spell files
2026-02-02 17:10:10 +01:00
Fran Algaba 44c6b37617 Added venues. Added cli for each. Improved reliability. Added docs. More examples 2026-01-29 23:52:11 +01:00
Fran Algaba b3c7174233 initial commit 2026-01-29 13:29:20 +01:00