Skip to content

feat: add dsl_task binding to x-agent (runtime standard format)#39

Merged
foo-ogawa merged 2 commits into
mainfrom
feat/dsl-task-binding
Jun 7, 2026
Merged

feat: add dsl_task binding to x-agent (runtime standard format)#39
foo-ogawa merged 2 commits into
mainfrom
feat/dsl-task-binding

Conversation

@foo-ogawa

Copy link
Copy Markdown
Collaborator

Summary

  • cli-contract.yaml の全 LLM コマンド(audit-openapi, review-published, propose-overlays, audit-guardrails)に x-agent.dsl_task を宣言
  • ハンドラの task ID 直書きを TASK_IDS 定数経由に統一(生成済み DSL task registry から型を導出)
  • binding 整合性テスト追加(contract ↔ DSL registry ↔ handler 定数の一致を検証)
  • バージョンを 0.17.10 に bump、cli-contract.yamlinfo.version を同期

Test plan

  • npm run build — コンパイル成功
  • npm test — 全 202 テスト pass(新規 binding テスト含む)
  • npm run contract:generate — 再生成成功
  • pre-push hook(examples drift check)pass

Closes #38

Made with Cursor

foo-ogawa and others added 2 commits June 7, 2026 15:01
- Declare dsl_task in cli-contract.yaml for all 4 LLM commands
- Replace hardcoded task ID strings in handlers with TASK_IDS constants
- Derive TaskId type from generated DSL task registry
- Add binding consistency test (contract ↔ DSL ↔ handler)
- Bump version to 0.17.10, align cli-contract.yaml info.version

Closes #38

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@foo-ogawa foo-ogawa merged commit be92f33 into main Jun 7, 2026
4 checks passed
@foo-ogawa foo-ogawa deleted the feat/dsl-task-binding branch June 7, 2026 06:06
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.

cli-contract.yaml の x-agent に dsl_task バインドを追加して runtime 標準形式に準拠する

1 participant