Commit Graph

33 Commits

Author SHA1 Message Date
Fran Algaba d6e76eb38a fix uniswap pool discovery fallback on base (#74) 2026-03-30 17:22:39 +02:00
Fran Algaba 0e628ec1eb Refactor CLI experience. Added across venue. Add more actions in Morpho (#46) 2026-03-23 11:22:39 +01:00
Fran Algaba cd9f40b354 Venues consolidation and incur framework (#44)
* Incur as cli framework. Refactor venue package
* Improved token resolution in venues
2026-03-18 16:39:40 +01:00
Fran Algaba 29023f33eb Add transaction building implementation (#42) 2026-03-10 17:50:02 +01:00
Fran Algaba c1d5ac1bd8 Auto-create provider for query functions (#38) 2026-03-05 10:09:23 +01:00
Fran Algaba 340da5da03 Added price query provider (#36) 2026-03-03 11:29:48 +01:00
Fran Algaba 223cefa9ff Added Polymarket support. Added setup command (#34) 2026-02-26 17:05:39 +01:00
Fran Algaba 611b2ca169 Improved venue safety and UX across compile-time checks, runtime constraint handling, adapter behavior, and CLI diagnostics. (#32) 2026-02-21 14:49:23 +01:00
Fran Algaba db19d26848 Add Pendle adapter (#30)
* added Pendle adapter

* added more pendle tests
2026-02-16 18:36:23 +01:00
Fran Algaba a3ead48b03 Added crosschain functionality. Improved Morpho venue (#28) 2026-02-14 21:31:34 +01:00
Fran Algaba 69508f1a79 Improved venue usage (#26) 2026-02-13 17:42:24 +01:00
Fran Algaba aafdd76121 Improve AI judgment usage visibility (#24)
* improved ai judgement logging and visibility

* added changeset
2026-02-11 19:37:14 +01:00
Fran Algaba d30b41f84f added anvil integration docs. fixed cli (#22) 2026-02-11 00:24:03 +01:00
Fran Algaba f1ee667c8a ship preview/commit value-flow runtime and streamline agent onboarding (#20)
* Add preview/commit execution model, remove stale docs and defihack

* implement preview/commit flow end-to-end and remove spec-coupled naming

* implement value-flow mandate and hook stability

* fixed hook

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* value-flow mandate end-to-end

* session lifecycle normalization

* added new docs and skills

* skill instructions
2026-02-11 00:00:59 +01:00
Fran Algaba ea592bcfe5 Add enforced typing (#18) 2026-02-10 16:10:13 +01:00
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 1eead325e4 Added new venue skills and docs 2026-02-08 16:07:26 +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 2b29282491 implement session-is-the-vm purity boundary, provider/command provenance, and new conformance checks (#11) 2026-02-08 00:26:03 +01:00
Fran Algaba 73559391eb implement VM real-data and runtime alignment (#9) 2026-02-07 23:49:01 +01:00
Fran Algaba 15c805b06a auto advisory by model config, OAuth guidance, record/replay flow (#7)
* auto advisory by model config, OAuth guidance, record/replay flow

* add changeset for release
2026-02-06 21:44:33 +01:00
Fran Algaba ee646a057a Improve documentation structure (#6)
* clarify VM vs deterministic and improve general docs

* Add update instructions
2026-02-05 17:30:47 +01:00
Fran Algaba 88719f7c5b VM quickstart scaffold, snapshot tooling, and onboarding docs (#3)
* add init scaffold, transition docs, and snapshot tooling

  - add grimoire init --vm quickstart scaffold + README
  - document VM quickstart and deterministic transition flow
  - add Hyperliquid --format spell snapshots + tests
  - improve grimoire venue help output and docs links

* add init scaffold, transition docs, and snapshot tooling

  - add grimoire init --vm quickstart scaffold + README
  - document VM quickstart and deterministic transition flow
  - add Hyperliquid --format spell snapshots + tests
  - improve grimoire venue help output and docs links

* Update section header for Claude plugin

* add init scaffold, transition docs, and snapshot tooling

  - add grimoire init --vm quickstart scaffold + README
  - document VM quickstart and deterministic transition flow
  - add Hyperliquid --format spell snapshots + tests
  - improve grimoire venue help output and docs links
2026-02-04 18:14:30 +01:00
Fran Algaba 9bb20ded5f add VM onboarding docs and Claude plugin metadata 2026-02-03 18:08:49 +01:00
Fran Algaba 579fc1e267 move packages to @grimoirelabs scope
- rename package names/imports/docs/scripts to @grimoirelabs/*
  - keep CLI bin name as grimoire
  - update publish docs for new scope
  - fix formatting in venue tests
2026-02-03 16:37:39 +01:00
Fran Algaba 9f6c2975f9 add Node compatibility, release workflow, and docs/skills updates
- add Node fallbacks/build outputs for core/cli/venues and update package exports
  - add changesets + CI release workflow with provenance
  - document manual 0.1.0 publish, add CONTRIBUTING and CHANGELOG
  - refresh AGENTS.md and skills inventory; remove dev-only skills!
2026-02-03 16:18:35 +01:00
Fran Algaba 4883dc416f Added vm mode 2026-02-03 13:11:34 +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 9652a3abcd Add state persistence with SQLite store, error handling, and builders API 2026-01-30 12:33:37 +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