Proposals are a first-class way to collaborate on changes to your Goals with your team.
Open a proposal
Instead of deploying a change directly, you can propose it for your team to review it first:
$ telos propose SPEC.md -t "Let readers remove books"
opened proposal p_3f9a2b7c for reading-list
View: https://usetelos.ai/…
To update it: telos propose SPEC.md --onto p_3f9a2b7c -m "MSG"
telos describe p_3f9a2b7c shows the proposal's status and reviews. To see its files, run telos pull p_3f9a2b7c.
$ telos describe p_3f9a2b7c
Title Let readers remove books
Status Pending
Goal reading-list (g_c7d2f0a4e8)
Updated 2m ago
Comment
To comment on a proposal, run telos comment with the proposal's ID and -m. To comment on a specific line, pass its number in the proposal's files with --line, and --old for a line the proposal removes. To comment on a frontmatter field instead, such as interval or network, use --field:
$ telos comment p_3f9a2b7c -m "Looks good overall"
commented on p_3f9a2b7c (c_9b2e6a1d)
$ telos comment p_3f9a2b7c -m "What does this even mean?" --line 12
commented on SPEC.md line 12 (c_4d7a1f0e)
$ telos comment p_3f9a2b7c -m "Every hour seems too often" --field interval
commented on SPEC.md interval (c_7f3c8e2b)
To act on a comment, run telos comment with its ID and reply, edit, resolve, reopen, or delete. Only comments on a line can be resolved:
$ telos comment c_4d7a1f0e reply -m "Ok"
replied to c_4d7a1f0e
$ telos comment c_4d7a1f0e edit -m "What does this line mean?"
edited c_4d7a1f0e
$ telos comment c_4d7a1f0e resolve
resolved c_4d7a1f0e
$ telos comment c_4d7a1f0e reopen
reopened c_4d7a1f0e
$ telos comment c_4d7a1f0e delete
deleted c_4d7a1f0e
Update a proposal
To change a proposal, run telos propose with --onto and the proposal's ID. Pass a spec and --message (or -m) to add an update, --title (-t) to retitle the proposal, or --description (-d) to change the description. A new update resets its reviews:
$ telos propose SPEC.md --onto p_3f9a2b7c -m "Only let readers remove books they added"
updated p_3f9a2b7c
$ telos propose --onto p_3f9a2b7c -t "Support removing books"
renamed p_3f9a2b7c to "Support removing books"
$ telos propose --onto p_3f9a2b7c -d "Adds an endpoint for removing books from the list"
updated p_3f9a2b7c
Review
Workspace owners and admins can review the latest update of other members' proposals with --approved or --blocked, or clear their review with --none:
$ telos review p_3f9a2b7c --approved
approved "Support removing books"
Apply
On a Goal that requires proposals, a member can apply a proposal only after an owner or admin approves its latest update. Nobody can apply a proposal while a reviewer blocks it. To apply a proposal, apply it by its ID:
$ telos apply p_3f9a2b7c
accepted "Support removing books" for reading-list
Status working
Goal g_c7d2f0a4e8
Package @alice/reading-list:0.2.1
Revision 3
Model telos/default
Thinking medium
Context personal
Service https://reading-list-c7d2f0a4e8.usetelos.ai
Logs telos logs g_c7d2f0a4e8
Stale and closed proposals
When the Goal changes, all open proposals become stale. A stale proposal can't be updated or applied. To start over, run telos pull on the Goal, redo your changes, and propose again. To close a proposal, run telos delete p_3f9a2b7c. Closing doesn't delete it: it stays listed as Closed.
Find proposals and comments
To find proposals and comments, run telos list with --filter:
$ telos list proposals --filter goal=g_c7d2f0a4e8
ID TITLE STATUS UPDATED
p_3f9a2b7c Support removing books Applied 2m ago
$ telos list comments --filter proposal=p_3f9a2b7c,status=open
ID AUTHOR ON REPLIES
c_4d7a1f0e [email protected] SPEC.md line 12 1
| Listing | Filters |
|---|---|
proposals | goal, status (pending, applying, applied, failed, closed, or stale), author (me or an email address) |
comments | goal or proposal, status (open or resolved), author (me or an email address) |
To match more than one statuses, repeat status, like --filter status=closed,status=stale.
Pull a proposal
telos pull p_3f9a2b7c downloads the Goal's spec and skills as they would be with the proposal applied, into ./p_3f9a2b7c/.