chore: replace 607 em-dashes with double hyphens project-wide
Includes MCP crash-after-init test fix (crash moved from handle() to serve() entry point so transport sees immediate subprocess death).
This commit is contained in:
1 parent
16d6cd62b7
commit
f6d51416f0
112 files changed
+587
-582
No files matched your search
@@ -16,7 +16,7 @@ import (
|
||||
// against the project's direction, close it with reasons when it
|
||||
// doesn't fit, otherwise produce a PRD, deliver it to Sam (issue
|
||||
// comment + notify webhook), and hand the task to waiting_human. The
|
||||
// daemon watches for Sam's reply and — LLM-judged, not keyword-matched —
|
||||
// daemon watches for Sam's reply and -- LLM-judged, not keyword-matched --
|
||||
// requeues approved features under the implement workflow or closes
|
||||
// rejected ones. Routed via the "feature" label.
|
||||
func Feasibility() Workflow {
|
||||
@@ -61,7 +61,7 @@ func Feasibility() Workflow {
|
||||
}
|
||||
tc.decision = &decision{Fit: *captured.Fit, Reasons: captured.Reasons}
|
||||
if !tc.decision.Fit {
|
||||
comment := fmt.Sprintf("**archie assessed this feature as not a fit — closing as won't-do.**\n\n%s\n\n_Reopen and re-assign if you disagree._", tc.decision.Reasons)
|
||||
comment := fmt.Sprintf("**archie assessed this feature as not a fit -- closing as won't-do.**\n\n%s\n\n_Reopen and re-assign if you disagree._", tc.decision.Reasons)
|
||||
if err := tc.Forge.CloseIssue(context.Background(), tc.Task.Owner, tc.Task.Repo, tc.Task.IssueNumber, comment); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -96,7 +96,7 @@ func Feasibility() Workflow {
|
||||
// channel the daemon watches) plus the notify webhook (n8n →
|
||||
// email).
|
||||
{Name: "deliver", Run: func(ctx context.Context, tc *TaskContext) error {
|
||||
body := fmt.Sprintf("**archie's PRD — awaiting your go/no-go.** Reply on this issue; I'll read your answer.\n\n%s", tc.Task.Plan)
|
||||
body := fmt.Sprintf("**archie's PRD -- awaiting your go/no-go.** Reply on this issue; I'll read your answer.\n\n%s", tc.Task.Plan)
|
||||
commentID, err := tc.Forge.Comment(ctx, tc.Task.Owner, tc.Task.Repo, tc.Task.IssueNumber, body)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user