Answer product-owner round 2: 0 🔴, 1 🟡 (0 misread); tell the worker to file only the next step, so the steps chain
CI / tests (pull_request) Failing after 4m24s
CI / tests (pull_request) Failing after 4m24s
This commit is contained in:
@@ -42,7 +42,7 @@ def instructions(epic: str, launcher: pathlib.Path, language: str, issue: EpicIs
|
||||
if issue:
|
||||
parent = f" {PARENT} {issue.parent}" if issue.parent != epic else ""
|
||||
label = next((f" {LABEL} {each}" for each in issue.labels if of_label(each)), "")
|
||||
next_step = f"Where the repo's rules ask for a change to ship as more than one pull request, finish only this issue's pull request, and file each later one as an issue that waits for it, with `{launcher} {epic} {FILE} \"<summary>\" {BLOCKED_BY} {issue.key}{parent}{label}` and its detail on stdin. "
|
||||
next_step = f"Where the repo's rules ask for a change to ship as more than one pull request, finish only this issue's pull request, and file only the next one as an issue that waits for it, with `{launcher} {epic} {FILE} \"<summary>\" {BLOCKED_BY} {issue.key}{parent}{label}` and its detail on stdin. "
|
||||
return (
|
||||
f"File a finding about one of the epic's goals in the epic, with `{launcher} {epic} {FILE} \"<summary>\" {LABEL} <label>` and its detail on stdin. "
|
||||
f"The label is {LABELS}; leave it out where you cannot tell, and the next `do-epic` the human runs picks it. "
|
||||
|
||||
@@ -346,7 +346,7 @@ class TheFirstPrompt(unittest.TestCase):
|
||||
f"File a finding about one of the epic's goals in the epic, with `/b/do-epic ABC-12 --file \"<summary>\" --label <label>` and its detail on stdin. The label is {labels}; leave it out where you cannot tell, and the next `do-epic` the human runs picks it. "
|
||||
"Where filing fails and says the issue may exist, ask the human to look before you file it again. File a finding about a repo's goals by that repo's rules. Where unsure which, ask the human. "
|
||||
"Record a decision that governs the epic, such as an answer the human typed, with `/b/do-epic ABC-12 --record-decision \"<title>\"` and its text on stdin. "
|
||||
"Where the repo's rules ask for a change to ship as more than one pull request, finish only this issue's pull request, and file each later one as an issue that waits for it, with `/b/do-epic ABC-12 --file \"<summary>\" --blocked-by ABC-20` and its detail on stdin. "
|
||||
"Where the repo's rules ask for a change to ship as more than one pull request, finish only this issue's pull request, and file only the next one as an issue that waits for it, with `/b/do-epic ABC-12 --file \"<summary>\" --blocked-by ABC-20` and its detail on stdin. "
|
||||
"Write the issue and the decision in Swedish, the epic's language."
|
||||
)
|
||||
task = chunk_prompt.task(issue("ABC-20"), "ABC-12", "/code/api", pathlib.Path("/b/do-epic"), "Swedish", CONFIG)
|
||||
|
||||
Reference in New Issue
Block a user