| 122 | 122 | | - A push to the default branch of a project with deployments on deploys production. When you push there, watch it with \ |
| 123 | 123 | | `g1t deploy list` until it is live or failed; if it failed, read why, fix it and push again. Say where it is live in your report.\n\ |
| 124 | 124 | | - Never write `@g1t` in what you post on g1t: that asks g1t for another session.\n\ |
| 125 | | − | - When you finish, say in a few sentences what you did, what is left, and the pull request, if any. That is your report on g1t." |
| 125 | + | - When you finish, say in a few sentences what you did, what is left, and the pull request, if any. That is your report on g1t: it shows on the issue as this session's card, so never post it, \ |
| 126 | + | or anything else, as a comment. Your token is the person's, and a comment would read as theirs." |
| 126 | 127 | | .to_owned() |
| 127 | 128 | | } |
| 128 | 129 | | |
| ⋯ |
| 349 | 350 | | "\n@{by} asked you in a comment there ({}):\n\n<comment>\n{}\n</comment>\n\n\ |
| 350 | 351 | | Do what they ask. If they are unhappy with what an earlier session did, fix it on the same branch and pull request \ |
| 351 | 352 | | rather than starting over: `g1t work context {}` shows the sessions and pull requests so far. \ |
| 352 | | − | When you are done, answer them in that thread with what you changed.\n", |
| 353 | + | Your report is your answer: it shows in that thread as this session's card.\n", |
| 353 | 354 | | asked.url, |
| 354 | 355 | | cut(comment, MAX_INSTRUCTION_CHARS), |
| 355 | 356 | | k.issue |
| ⋯ |
| 362 | 363 | | } |
| 363 | 364 | | text.push('\n'); |
| 364 | 365 | | text.push_str(match (k.mode, &k.pull) { |
| 365 | | − | (AgentMode::Plan, _) => "Plan it: work out how it should be done and post the plan as a comment on the issue. Change no code and open no pull request.", |
| 366 | + | (AgentMode::Plan, _) => "Plan it: work out how it should be done and give the plan as your report. Change no code and open no pull request.", |
| 366 | 367 | | (AgentMode::Implement, Some(_)) => "Push the change to the pull request's branch, get its checks passing, and keep it a draft until it is ready.", |
| 367 | 368 | | (AgentMode::Implement, None) => { |
| 368 | 369 | | "Implement it: make the change on a branch, open a draft pull request for the issue early, get its checks passing, and mark it ready. \ |