fix(daemon): add CLI hint to issue_context.md

renderIssueContext() now includes a "Quick Start" section with the
`multica issue get` command so agents know how to fetch issue details.
Fixes the TestPrepareDirectoryMode and TestWriteContextFiles failures.
This commit is contained in:
Jiayuan 2026-03-31 14:53:05 +08:00 committed by Jiang Bohan
parent 91c279fd2a
commit 90295d8554

View file

@ -120,6 +120,9 @@ func renderIssueContext(provider string, ctx TaskContextForEnv) string {
b.WriteString("**Trigger:** New Assignment\n\n")
}
b.WriteString("## Quick Start\n\n")
fmt.Fprintf(&b, "Run `multica issue get %s --output json` to fetch the full issue details.\n\n", ctx.IssueID)
if len(ctx.AgentSkills) > 0 {
b.WriteString("## Agent Skills\n\n")
b.WriteString("The following skills are available to you:\n\n")