Tinker
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Home
Epics
Rework: Add backlinks using URL templates instead of ENV
Edit
Rework: Add backlinks using URL templates instead of ENV
Cancel
Save
Title
*
Project
*
Choose an option
alpha
tinker
Create new project
Description
## Rework of #188 The previous implementation was rejected because it tried to read from ENV at agent runtime, which won't work. This ticket properly implements backlinks using URL templates/placeholders. ## Correct Approach URL templates should be created **when tickets are created** and stored in the ticket. Workers then simply interpolate these templates with actual IDs. ## Requirements 1. **Add URL template fields to ticket model** - Store templates like: - `ticket_url_template`: `"https://app.example.com/tickets/{id}"` - `agent_session_url_template`: `"https://app.example.com/agent-sessions/{id}"` - These are set at ticket creation time 2. **Update ticket creation** - When creating a ticket: - Generate URL templates based on configured APP_URL (available at creation time) - Store them in the ticket record - Pass them to workers via working_memory or similar 3. **Update git-workflow skill** - When posting to GitHub: - Read URL templates from ticket's working_memory - Interpolate with actual IDs (ticket_id, agent_session_id, etc.) - Include formatted backlinks in PR descriptions/comments 4. **Handle missing templates** - If no templates are present, skip backlinks gracefully ## Example PR Description ```markdown Implements ticket #42: Add feature X --- **Links:** - Ticket: https://app.example.com/tickets/42 - Agent Session: https://app.example.com/agent-sessions/123 ``` ## Implementation Notes - APP_URL is read at **ticket creation time** (in planner/stack creation), not at agent runtime - Workers receive pre-formatted URL templates or already-interpolated URLs - Document this approach in the git-workflow skill so agents understand how to use it
Avo
· © 2026 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel