@sireai/optimus 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/optimus.js +511 -72
- package/dist/cli/optimus.js.map +1 -1
- package/dist/cli/self-update.d.ts +8 -1
- package/dist/cli/self-update.js +34 -3
- package/dist/cli/self-update.js.map +1 -1
- package/dist/config/load-config.js +8 -5
- package/dist/config/load-config.js.map +1 -1
- package/dist/integrations/jira/jira-cli-config.d.ts +15 -0
- package/dist/integrations/jira/jira-cli-config.js +100 -0
- package/dist/integrations/jira/jira-cli-config.js.map +1 -0
- package/dist/integrations/jira/jira-cli.js +193 -0
- package/dist/integrations/jira/jira-cli.js.map +1 -1
- package/dist/integrations/jira/jira-client.d.ts +16 -3
- package/dist/integrations/jira/jira-client.js +71 -14
- package/dist/integrations/jira/jira-client.js.map +1 -1
- package/dist/integrations/jira/jira-submit.js +2 -0
- package/dist/integrations/jira/jira-submit.js.map +1 -1
- package/dist/task-environment/intake/manual-problem-intake.js +3 -0
- package/dist/task-environment/intake/manual-problem-intake.js.map +1 -1
- package/dist/task-environment/intake/triage-rejection-feedback-service.d.ts +21 -0
- package/dist/task-environment/intake/triage-rejection-feedback-service.js +150 -0
- package/dist/task-environment/intake/triage-rejection-feedback-service.js.map +1 -0
- package/dist/task-environment/orchestration/triage-runner.js +4 -2
- package/dist/task-environment/orchestration/triage-runner.js.map +1 -1
- package/dist/task-environment/runtime/optimus-runtime.d.ts +3 -0
- package/dist/task-environment/runtime/optimus-runtime.js +5 -0
- package/dist/task-environment/runtime/optimus-runtime.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +5 -3
- package/task-harnesses/bugfix/ACCEPT.md +57 -21
|
@@ -1,30 +1,54 @@
|
|
|
1
1
|
# ACCEPT
|
|
2
2
|
|
|
3
3
|
## Decision target
|
|
4
|
-
Route real software defect tasks into the `bugfix` harness.
|
|
4
|
+
Route real software defect tasks into the `bugfix` harness.
|
|
5
|
+
Triage must decide:
|
|
6
|
+
1. task type fit
|
|
7
|
+
2. execution admission
|
|
8
|
+
The runner, not triage, decides whether final closure is fix or analysis.
|
|
5
9
|
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- the target repository can be identified; if `repo` is missing, default selection is allowed only when exactly one repository is registered
|
|
10
|
+
## Task type fit
|
|
11
|
+
Classify as `bugfix` only when all are true:
|
|
12
|
+
- real issue to handle, not open-ended discussion
|
|
13
|
+
- tied to code, configuration, build logic, runtime behavior, test flow, or system behavior
|
|
14
|
+
- concrete defect object exists: crash, error, regression, broken flow, wrong result, or abnormal behavior
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
Do not classify as `bugfix` when any are true:
|
|
17
|
+
- product advice, design discussion, architecture debate, or technology comparison
|
|
18
|
+
- pure consultation, Q&A, or open-ended brainstorming
|
|
19
|
+
- no concrete defect object
|
|
20
|
+
- no engineering repository or system-behavior relation
|
|
21
|
+
|
|
22
|
+
## Execution admission
|
|
23
|
+
Accept into execution only when all are true:
|
|
24
|
+
- target repository is resolvable; if `repo` is missing, default selection is allowed only when exactly one repository is registered
|
|
25
|
+
- at least one concrete defect anchor is present
|
|
26
|
+
- the anchor is specific enough to locate one of:
|
|
27
|
+
- failing scenario or trigger path
|
|
28
|
+
- observable evidence text
|
|
29
|
+
- named page, feature, module, or flow
|
|
30
|
+
|
|
31
|
+
## Still acceptable with partial information
|
|
32
|
+
Still acceptable when:
|
|
15
33
|
- root cause is unknown
|
|
16
|
-
-
|
|
17
|
-
- logs, stack traces, screenshots, or
|
|
18
|
-
- but the
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
34
|
+
- reproduction is incomplete
|
|
35
|
+
- logs, stack traces, screenshots, or tests are missing
|
|
36
|
+
- but the affected flow is still concrete enough to investigate safely
|
|
37
|
+
- and at least one anchor exists, such as:
|
|
38
|
+
- named page or feature plus failing action
|
|
39
|
+
- visible symptom tied to a specific flow
|
|
40
|
+
- error message, exception text, or crash evidence
|
|
41
|
+
|
|
42
|
+
## Reject for insufficient execution context
|
|
43
|
+
Reject even if the task fits `bugfix` when any are true:
|
|
44
|
+
- target repository cannot be determined and multiple candidates exist
|
|
45
|
+
- content is so vague that even the basic symptom cannot be identified
|
|
46
|
+
- input only says wrong / abnormal / failed / not working, with no concrete symptom, actual behavior, failure output, or affected flow
|
|
47
|
+
- crash / error / failure is claimed, but there is neither:
|
|
48
|
+
- a concrete scenario or trigger path
|
|
49
|
+
- nor observable evidence text such as logs, stack trace, error text, or crash record
|
|
50
|
+
- only a generic action is named, such as click / enter / open / use, but no page, feature, control, or path is identified
|
|
51
|
+
- only a broad result is given, such as "app crashes" or "application is abnormal", without enough context to locate the failing flow
|
|
28
52
|
|
|
29
53
|
## Missing information to mention first when rejecting
|
|
30
54
|
- `repo`
|
|
@@ -36,6 +60,16 @@ Reject when any are true:
|
|
|
36
60
|
- `expected_behavior`
|
|
37
61
|
- `actual_behavior`
|
|
38
62
|
|
|
63
|
+
## Missing information mapping guidance
|
|
64
|
+
- use `repo` when the target repository is required but cannot be resolved safely
|
|
65
|
+
- use `description_or_content` when the request does not describe a concrete bug object or affected flow
|
|
66
|
+
- use `actual_behavior` when the observed failure, symptom, or abnormal behavior is not stated clearly
|
|
67
|
+
- use `expected_behavior` when the expected result is needed to understand the defect gap
|
|
68
|
+
- use `reproduction_steps` when no concrete trigger path, scenario, page, feature, or action chain is described
|
|
69
|
+
- use `logs` when the task explicitly depends on error output but no error text is provided
|
|
70
|
+
- use `stack_trace` when the task claims a crash or exception and stack evidence is the missing blocker
|
|
71
|
+
- prefer the smallest set of fields that explains exactly why triage cannot safely accept the task
|
|
72
|
+
|
|
39
73
|
## Event scope
|
|
40
74
|
- `bug.discovered`
|
|
41
75
|
- `problem.discovered`
|
|
@@ -44,4 +78,6 @@ Reject when any are true:
|
|
|
44
78
|
## Triage guidance
|
|
45
79
|
- Supporting words such as crash, error, fail, exception, regression, not working, frozen, or abnormal are hints only; they must not replace semantic judgment.
|
|
46
80
|
- Judge the whole task meaning, not keywords.
|
|
81
|
+
- Separate `task type fit` from `execution admission`.
|
|
82
|
+
- A task may clearly be a `bugfix` in type but still be rejected because execution context is insufficient.
|
|
47
83
|
- Triage only decides whether the task enters the `bugfix` pipeline.
|