-
Notifications
You must be signed in to change notification settings - Fork 7
Claude/add jiron support 0112 bjd f wa wsp zhmd1f7o xi4 #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Claude/add jiron support 0112 bjd f wa wsp zhmd1f7o xi4 #57
Conversation
Create comprehensive task specification for adding Jiron hypermedia support: - Server rule/command for building Jiron APIs from requirements - Client rule/command for generating Web Components from endpoints - Dual-render pattern for SEO + agent-optimized views Includes supporting documentation: - Original and enhanced prompts (SudoLang format) - Questions with inferred answers - Expert panel roundtable analysis
Key changes: - Goal: self-describing APIs with ONE browse capability, not just token efficiency - Add jiron-agent rule for agent navigation patterns - Add MCP comparison (Q9) explaining paradigm difference - Update expert panel to emphasize "one capability" architectural win - Server rule now includes root discovery and state transition requirements The core insight: Jiron could replace MCP for web API interactions. Agents don't need predefined tools - they browse self-describing APIs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a comprehensive planning epic for Jiron support to the aidd framework. Jiron enables self-describing hypermedia APIs that allow AI agents to browse and interact using a single generic capability, rather than requiring explicit tool definitions (like MCP) for each API. The epic includes detailed task breakdowns, expert panel analysis, and supporting documentation to guide implementation of both server-side (API creation) and client-side (Web Components) capabilities, along with dual-render patterns for serving both human-friendly HTML and token-optimized agent views.
Key Changes
- Introduces Jiron support paradigm as an alternative to MCP for agent-API interactions
- Defines 7 implementation tasks covering server rules, client components, and dual-render patterns
- Includes comprehensive planning artifacts (expert roundtable, Q&A, enhanced prompt)
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tasks/jiron-support-epic.md | Main epic file defining goals, requirements, and 7 task breakdowns for Jiron implementation |
| tasks/jiron-support-epic-roundtable.md | Expert panel analysis providing architectural insights and recommendations |
| tasks/jiron-support-epic-questions.md | Q&A document addressing implementation questions with inferred answers |
| tasks/jiron-support-epic-original-prompt.sudo | Original task prompt as received (contains spelling errors) |
| tasks/jiron-support-epic-enhanced-prompt.sudo | Improved, structured version of the prompt with SudoLang syntax |
| plan.md | Updated project plan to include the new Jiron Support Epic |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Why? | ||
|
|
||
| - Token-friendly AI agent-browsable interaction support for apps | ||
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a real that clearly identifies this as a token-effient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. |
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error: "real" should be "rel" (referring to HTML link relation attribute)
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a real that clearly identifies this as a token-effient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. | |
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a rel that clearly identifies this as a token-effient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. |
| Why? | ||
|
|
||
| - Token-friendly AI agent-browsable interaction support for apps | ||
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a real that clearly identifies this as a token-effient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. |
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error: "token-effient" should be "token-efficient"
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a real that clearly identifies this as a token-effient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. | |
| - Alternate server-rendered view of app pages - we should add an ai/rules and ai/commands pair to create server-rendered views for SEO and agent navigation. For browsers: render HTML. For agents, allow them to get a token-efficient Jiron view of that same document tree by fetching path/pagename.jiron. create a link with a real that clearly identifies this as a token-efficient view for agents. Should include and HTML comment with instructions to the agent to fetch the Jiron views, instead. |
|
|
||
| - Given a Jiron server API endpoint, dynamically build web components capable of interacting with the endpoint: | ||
| - support siren semantics: https://github.com/kevinswiber/siren | ||
| - note: siren is kindof a mapping of html to json, so we can represent entity IDs with html-style URIs to support linking resources to other resources, including side-lining, rather than embedding child objects, collections, etc. |
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar error: "kindof" should be "kind of" (two separate words)
| - note: siren is kindof a mapping of html to json, so we can represent entity IDs with html-style URIs to support linking resources to other resources, including side-lining, rather than embedding child objects, collections, etc. | |
| - note: siren is kind of a mapping of html to json, so we can represent entity IDs with html-style URIs to support linking resources to other resources, including side-lining, rather than embedding child objects, collections, etc. |
Key refinements: - Use AIDD's createRoute + asyncPipe, NOT Express - Add Streaming Middleware task using Web Streams API - Portable across Vercel, Netlify, AWS Lambda, Deno Deploy - Avoid Node.js-specific streams for edge runtime compatibility New task: src/server/middleware/with-stream.js Total tasks: 8 (was 7)
Note
Adds a comprehensive Jiron Support epic with rules/commands and supporting docs, and updates plan.md (including Context7 section formatting).
tasks/jiron-support-epic.md(scope, constraints, and requirements for server/client, dual-render, streaming, agent navigation)tasks/jiron-support-epic-enhanced-prompt.sudo,tasks/jiron-support-epic-original-prompt.sudotasks/jiron-support-epic-questions.md,tasks/jiron-support-epic-roundtable.mdai/rules/jiron-server.mdc,ai/commands/jiron-api.md,ai/rules/jiron-client.mdc,ai/commands/jiron-component.md,ai/rules/dual-render.mdc,ai/commands/dual-view.md,src/server/middleware/with-stream.js,ai/rules/jiron-agent.mdc(AIDDcreateRoute/asyncPipe, Web Streams API, TDD).plan.md: fixes formatting forContext7 GitHub Action Epicblock; addsJiron Support Epicentry with file link, goal, and task list.Written by Cursor Bugbot for commit 70aaebb. This will update automatically on new commits. Configure here.