feat: add dsl_task binding to x-agent (runtime standard format)#39
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cli-contract.yamlの全 LLM コマンド(audit-openapi,review-published,propose-overlays,audit-guardrails)にx-agent.dsl_taskを宣言TASK_IDS定数経由に統一(生成済み DSL task registry から型を導出)cli-contract.yamlのinfo.versionを同期Test plan
npm run build— コンパイル成功npm test— 全 202 テスト pass(新規 binding テスト含む)npm run contract:generate— 再生成成功Closes #38
Made with Cursor