@egawilldoit/factory 1.0.1 → 1.1.0
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/README.md +33 -8
- package/bundle/bundle.json +27 -17
- package/bundle/files/references/improvement-and-metrics.md +1 -1
- package/bundle/files/references/issue-drafting.md +204 -0
- package/bundle/files/references/planning.md +6 -3
- package/bundle/files/references/task-summary.md +36 -6
- package/bundle/files/skills/factory/SKILL.md +11 -2
- package/bundle/files/skills/factory-improve/SKILL.md +1 -1
- package/bundle/files/skills/factory-plan/SKILL.md +19 -5
- package/bundle/files/templates/implementation-issue.md +88 -0
- package/bundle/files/templates/task-summary.yaml +22 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Four agent skills for planning, implementing, verifying and reviewing one software outcome. The host supplies models, tools and permissions.
|
|
4
4
|
|
|
5
|
-
V1
|
|
5
|
+
V1.0.1 is published on npm and GitHub, with read-only guidance live on Cloudflare. The workflow design is v4. See [release evidence](docs/v1-release-evidence.md) for tested hosts and remaining gaps.
|
|
6
6
|
|
|
7
7
|
## Install and use
|
|
8
8
|
|
|
@@ -31,11 +31,33 @@ npx @egawilldoit/factory@latest uninstall
|
|
|
31
31
|
|
|
32
32
|
Local installs remain pinned until updated. The installer preserves unrelated skills and refuses updates over local modifications. Rollback and uninstall save modified owned files under `.factory-preserved` before replacing or removing them. `doctor` distinguishes file integrity from real host discovery. If an existing project or plugin already supplies `factory`, choose one installation rather than loading duplicates. It does not silently take ownership of earlier manually copied skills.
|
|
33
33
|
|
|
34
|
+
## From an idea to an agent-ready issue
|
|
35
|
+
|
|
36
|
+
Ask `factory` to draft an issue. For example:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
Use factory to turn this into a self-contained implementation issue for
|
|
40
|
+
<repository>: <idea or bug>. Inspect current code and existing issues, record
|
|
41
|
+
what is observed versus assumed, and draft only. Do not publish yet.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Factory drafts by default and makes no external writes. A clear bug becomes one issue without an interview; an ambiguous idea surfaces only material decisions, with a recommendation that is not treated as approval. It checks for existing work, distinguishes reported from reproduced behavior, and reports specification readiness, dependency blocking and publication state separately. An already-implemented request is reported with evidence instead of duplicated.
|
|
45
|
+
|
|
46
|
+
An explicit request such as "publish that draft to `<repository>`" creates only the requested issues and necessary dependency references, verifies the resulting links, and reports any partial failure without duplicating issues. Publication ends planning and starts no coding. A later implementation session can use:
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
Use factory to implement <issue URL>. Read its body, comments and current
|
|
50
|
+
repository instructions. Recheck current behavior and dependencies, then work
|
|
51
|
+
to the delivery boundary I specify for this implementation task.
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The portable contract is `templates/implementation-issue.md`; detailed guidance is `references/issue-drafting.md`. In the release that includes this change, the read-only MCP channel serves them as `reference:issue-drafting` and `template:implementation-issue`. A pinned older release that predates them still serves its old IDs; requesting the new IDs at that version returns `ID_NOT_IN_RELEASE` rather than current content.
|
|
55
|
+
|
|
34
56
|
## Hosted guidance
|
|
35
57
|
|
|
36
58
|
The Cloudflare MCP channel supplies public released instructions only. It cannot access your repositories, execute work or change production. Its stable URL advances on a stable tagged release. Start by reading the version, then include that version in subsequent retrieval calls to avoid mixing releases.
|
|
37
59
|
|
|
38
|
-
ChatGPT custom MCP connection testing is deferred. No ChatGPT compatibility is claimed yet. The endpoint
|
|
60
|
+
ChatGPT custom MCP connection testing is deferred. No ChatGPT compatibility is claimed yet. The live endpoint is `https://ega-software-factory.a2003-2015.workers.dev/mcp`. Tool discovery, current/previous retrieval and content parity passed with the official MCP SDK.
|
|
39
61
|
|
|
40
62
|
## Release and contributor setup
|
|
41
63
|
|
|
@@ -66,22 +88,23 @@ Plugin is guidance; does not enforce OS sandbox, network, permissions, CI. Deliv
|
|
|
66
88
|
|
|
67
89
|
## Opt-in task summaries (privacy)
|
|
68
90
|
|
|
69
|
-
Off by default.
|
|
91
|
+
Off by default. Enable for one task or once per project in existing project instructions; agents then write one local report at completion or blocked handoff. See [task reporting](references/task-summary.md) for the setting and later review prompt.
|
|
70
92
|
|
|
71
|
-
- Default location: ${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<
|
|
93
|
+
- Default location: ${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<UTC-timestamp>-<short-task>-<unique-suffix>.yaml. The user's authorized destination and write boundary take precedence.
|
|
72
94
|
- Dir mode 0700, file mode 0600.
|
|
73
|
-
- schema_version:
|
|
95
|
+
- New reports use schema_version: 2; schema 1 remains supported. Includes context, task/thread/PR links, individual check results, review independence, separate merge/deploy/live evidence, blockers and rework.
|
|
74
96
|
- Unknown duration/cost is null/unknown, never 0 or estimate.
|
|
75
|
-
- No default upload, background service,
|
|
97
|
+
- No default upload, background service, transcript collection, or cross-machine sync; local recording performs no network access.
|
|
76
98
|
- Do not store credentials, full prompts, private diffs, unrelated transcripts.
|
|
77
99
|
- Retention: persists until user deletes. Other copies or backups may exist.
|
|
78
100
|
- Template: templates/task-summary.yaml. Validation: tests/scenarios/summary/validate-summary.sh.
|
|
79
101
|
|
|
80
|
-
Synthetic scenario evidence (historical 2026-11-15 run, Linux VM openclaw, bash): 12/12 passed at that time. Filesystem-level checks, not host telemetry tests. The current verified count is
|
|
102
|
+
Synthetic scenario evidence (historical 2026-11-15 run, Linux VM openclaw, bash): 12/12 passed at that time. Filesystem-level checks, not host telemetry tests. The current verified count is 20/20 (see Verification status).
|
|
81
103
|
|
|
82
104
|
## Workflow verification status
|
|
83
105
|
|
|
84
|
-
-
|
|
106
|
+
- v1.1.0 candidate (prepared, not published): 19/19 installer, 20/20 summary, 55/55 delivery (mock host) and 29/29 Worker checks passed; adapter also tested against the actual published v1.0.1 package (pinned new IDs return `ID_NOT_IN_RELEASE`). No v1.1.0 npm/GitHub/Cloudflare release yet.
|
|
107
|
+
- Synthetic summary scenarios: 20/20 passed (2026-11-16; python3 + PyYAML).
|
|
85
108
|
- Delivery-boundary scenarios vs mock host: 55/55 checks passed (S1-S9 plus added report/escaping/unwritable-report coverage). All external ops were MOCKS; no real provider push/PR/merge/CI/deploy or real automatic deployment exercised (fixtures/t10/README.md).
|
|
86
109
|
- Manifests parse as valid JSON; skill names match directories.
|
|
87
110
|
- Refresh/rollback evidence: one local-host run, Codex CLI 0.169.0, 0.1.0 <-> 0.2.0, fresh-session invocation recorded (references/synchronization.md).
|
|
@@ -112,6 +135,8 @@ This adaptation deliberately keeps full-send/full-stop and council
|
|
|
112
135
|
**out** of automatic routing: merge/deploy and multi-reviewer rounds require
|
|
113
136
|
the user's stated outcome, and no universal approval gate is added.
|
|
114
137
|
|
|
138
|
+
Issue-drafting methods are adapted in original wording from Matt Pocock skills (MIT License, Copyright (c) 2026 Matt Pocock), upstream revision `5863806dd4e15c63174bee4e7515a4256792ecfa`: grilling via grill-me, triage agent briefs, to-spec and to-tickets. No substantial upstream text is copied. Automatic publishing, labels, commits, approval loops, exhaustive interviews, mandatory ticket fan-out and subagent delegation are deliberately not inherited. See `references/issue-drafting.md`.
|
|
139
|
+
|
|
115
140
|
## Acceptance scenarios
|
|
116
141
|
|
|
117
142
|
- `docs/authorization-and-completion-scenarios.md` — designed agent-behavior scenarios (authorization, instruction changes, merge-triggered deploy, green checks plus optional coverage, missing migration dependencies, superseded work). Status: designed, not executed.
|
package/bundle/bundle.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "@egawilldoit/factory",
|
|
4
|
-
"version": "1.0
|
|
5
|
-
"sourceCommit": "
|
|
6
|
-
"builtAt": "2026-11-
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"sourceCommit": "15614837c30496d46194c18523914135d0258095",
|
|
6
|
+
"builtAt": "2026-11-16T17:17:31Z",
|
|
7
7
|
"skills": [
|
|
8
8
|
"factory",
|
|
9
9
|
"factory-plan",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
{
|
|
15
15
|
"path": "skills/factory/SKILL.md",
|
|
16
|
-
"sha256": "
|
|
17
|
-
"bytes":
|
|
16
|
+
"sha256": "e0b0809836ff09d18e9f7cbbc187de792db75b08890b6c1f7842e4dbddd1bde4",
|
|
17
|
+
"bytes": 8317
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"path": "skills/factory-plan/SKILL.md",
|
|
21
|
-
"sha256": "
|
|
22
|
-
"bytes":
|
|
21
|
+
"sha256": "f9f5e7a578558d1f839edea415a1525cfe906e4eda74e6266ed2bddf9c1f7300",
|
|
22
|
+
"bytes": 4735
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"path": "skills/factory-verify/SKILL.md",
|
|
@@ -28,18 +28,23 @@
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"path": "skills/factory-improve/SKILL.md",
|
|
31
|
-
"sha256": "
|
|
32
|
-
"bytes":
|
|
31
|
+
"sha256": "417a7bd4a1b0dc9c3b69e512ecafa6d4a378bdb0d16a158ff6cea7fbfad005f1",
|
|
32
|
+
"bytes": 4273
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"path": "references/improvement-and-metrics.md",
|
|
36
|
-
"sha256": "
|
|
37
|
-
"bytes":
|
|
36
|
+
"sha256": "11ba2325171b76d4630579f2ed88cb45c2f7c339acf1d6a1ef048df58b462460",
|
|
37
|
+
"bytes": 4739
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "references/issue-drafting.md",
|
|
41
|
+
"sha256": "b4761279215a12f4ea09146f7cc8095ae444e7661cd38c2cba0899e98a1bbc50",
|
|
42
|
+
"bytes": 10506
|
|
38
43
|
},
|
|
39
44
|
{
|
|
40
45
|
"path": "references/planning.md",
|
|
41
|
-
"sha256": "
|
|
42
|
-
"bytes":
|
|
46
|
+
"sha256": "fabaced6adc657fa42a1c531f1012bceb23a6e1bdb74d0bcf3dcdff9d22c84fd",
|
|
47
|
+
"bytes": 6060
|
|
43
48
|
},
|
|
44
49
|
{
|
|
45
50
|
"path": "references/pr-workflows.md",
|
|
@@ -68,8 +73,8 @@
|
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
"path": "references/task-summary.md",
|
|
71
|
-
"sha256": "
|
|
72
|
-
"bytes":
|
|
76
|
+
"sha256": "3a26896caeb8b3de68e0bf7f2db9917d4dd63299c0b4891f0f8360b0ed8ed7c6",
|
|
77
|
+
"bytes": 7818
|
|
73
78
|
},
|
|
74
79
|
{
|
|
75
80
|
"path": "references/verification-and-review.md",
|
|
@@ -88,8 +93,13 @@
|
|
|
88
93
|
},
|
|
89
94
|
{
|
|
90
95
|
"path": "templates/task-summary.yaml",
|
|
91
|
-
"sha256": "
|
|
92
|
-
"bytes":
|
|
96
|
+
"sha256": "95369b2ffde1089e6204c4bdad7acf7107344bd9b462529917d44412f9a6ad8a",
|
|
97
|
+
"bytes": 1318
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"path": "templates/implementation-issue.md",
|
|
101
|
+
"sha256": "08bd24fdf274c52a3eb0bad80970f436b1a1eb2926801d9a1005477d32f85730",
|
|
102
|
+
"bytes": 3688
|
|
93
103
|
},
|
|
94
104
|
{
|
|
95
105
|
"path": "docs/authorization-and-completion-scenarios.md",
|
|
@@ -50,7 +50,7 @@ Define before applying, and treat an unvalidated proposal as a hypothesis:
|
|
|
50
50
|
|
|
51
51
|
## Outcome summaries and metrics
|
|
52
52
|
|
|
53
|
-
Outcome summaries are opt-in, local, and versioned (`schema_version`, `factory_version`, project, task, base, final revision, worktree state, environment, outcome, verification, review, duration, cost, lesson). See the
|
|
53
|
+
Outcome summaries are opt-in per task or once per project, local, and versioned (`schema_version`, `factory_version`, project, task, base, final revision, worktree state, environment, outcome, verification, review, duration, cost, lesson). See `task-summary.md` for the current schema, project setting and later review procedure. Reports distinguish check results, review independence, merge/deploy/live status, blockers and rework. Schema 1 remains readable; new reports use schema 2.
|
|
54
54
|
|
|
55
55
|
- Default location: outside the public repository; user-controlled access, retention, and deletion decided before enabling persistence.
|
|
56
56
|
- No default upload, background service, or automatic collection. Credentials, full prompts, private diffs, and unrelated transcripts are never stored by default.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# Issue drafting
|
|
2
|
+
|
|
3
|
+
Turn an idea, bug, screenshot, conversation or existing issue into one bounded,
|
|
4
|
+
evidence-backed issue that a fresh coding agent can implement without the
|
|
5
|
+
original conversation. Work through `factory-plan` in its issue-drafting mode.
|
|
6
|
+
This route improves planning and handoff; it does not execute tickets, schedule
|
|
7
|
+
agents or start coding.
|
|
8
|
+
|
|
9
|
+
Use the portable [implementation issue contract](../templates/implementation-issue.md).
|
|
10
|
+
It is agent guidance, not an issue form or a new tracker integration.
|
|
11
|
+
|
|
12
|
+
## Inputs and destination
|
|
13
|
+
|
|
14
|
+
Accept rough text, bugs, screenshots, conversations, existing issues and
|
|
15
|
+
specifications. Do not invent the contents of inaccessible attachments or
|
|
16
|
+
links; disclose the limitation instead.
|
|
17
|
+
|
|
18
|
+
Choose the explicitly named repository first, otherwise the verified current
|
|
19
|
+
project. Resolve consequential destination ambiguity before any publication.
|
|
20
|
+
Never pick a repository by a similar name alone.
|
|
21
|
+
|
|
22
|
+
## Inspect before drafting
|
|
23
|
+
|
|
24
|
+
Inspect only relevant context:
|
|
25
|
+
|
|
26
|
+
- Project instructions and applicable architecture or domain decisions.
|
|
27
|
+
- Existing behavior, interfaces and meaningful tests.
|
|
28
|
+
- Equivalent functionality and relevant open/closed issues and PRs.
|
|
29
|
+
- The inspected branch/revision and material working-tree limitations.
|
|
30
|
+
|
|
31
|
+
Record the inspected revision as context; the implementing agent must recheck
|
|
32
|
+
current source. Separate observed facts, user decisions, recommendations and
|
|
33
|
+
assumptions. Research factual answers rather than asking the user for them.
|
|
34
|
+
Disclose unavailable code, tracker access, attachments or private context.
|
|
35
|
+
|
|
36
|
+
Unavailable repository evidence can still support a useful provisional draft,
|
|
37
|
+
but never a repository-specific readiness claim. An already-implemented request
|
|
38
|
+
is reported with evidence instead of creating duplicate work; do not silently
|
|
39
|
+
close, rewrite or broaden an existing issue.
|
|
40
|
+
|
|
41
|
+
## Ask only consequential questions
|
|
42
|
+
|
|
43
|
+
A clear bug can become one issue immediately. Do not apply every step as a
|
|
44
|
+
mandatory ceremony.
|
|
45
|
+
|
|
46
|
+
- Ask only when the answer changes behavior, scope, risk, authorization or an
|
|
47
|
+
external contract. Ask independent questions together in small batches;
|
|
48
|
+
defer questions whose answers depend on earlier choices.
|
|
49
|
+
- Reuse answers already in context. Resolve routine choices autonomously with
|
|
50
|
+
grounded assumptions and record them.
|
|
51
|
+
- For an unresolved product choice, offer a recommendation and its tradeoffs,
|
|
52
|
+
but do not treat that recommendation as an approved decision.
|
|
53
|
+
- Use research for missing facts. Propose a prototype only when experiencing an
|
|
54
|
+
interaction or testing logic would settle a named uncertainty. Draft-only
|
|
55
|
+
work must not create prototype code; obtain scope before making such edits
|
|
56
|
+
and reuse existing authorization when it already covers them.
|
|
57
|
+
- For genuinely large work, use a concise parent specification plus bounded
|
|
58
|
+
implementation tickets. A decision/investigation ticket must state the
|
|
59
|
+
evidence or decision it delivers and must not masquerade as an
|
|
60
|
+
implementation-ready feature ticket.
|
|
61
|
+
|
|
62
|
+
## Draft the issue
|
|
63
|
+
|
|
64
|
+
Use one canonical portable template with optional bug fields; omit empty
|
|
65
|
+
optional sections rather than inventing content. A title should name an action,
|
|
66
|
+
target and observable outcome without a rigid naming grammar.
|
|
67
|
+
|
|
68
|
+
- Describe current/problem behavior, desired behavior, scope and non-goals,
|
|
69
|
+
observable acceptance criteria, verification, context/dependencies and only
|
|
70
|
+
real open decisions.
|
|
71
|
+
- For bugs, distinguish reported from reproduced behavior and suspected from
|
|
72
|
+
confirmed causes. Include before/after reproduction evidence when practical
|
|
73
|
+
and identify an appropriate regression check. State unknowns.
|
|
74
|
+
- Verification names confirmed repository-supported commands where known,
|
|
75
|
+
otherwise says they must be discovered. Distinguish proposed checks from
|
|
76
|
+
executed checks; do not automatically require unit, integration and E2E
|
|
77
|
+
tests together.
|
|
78
|
+
- For high-impact work (auth, permissions, billing, migrations, production
|
|
79
|
+
data, concurrency), add invariants, negative cases, compatibility
|
|
80
|
+
requirements and partial-failure/recovery behavior.
|
|
81
|
+
- Type, priority, owner and tracker status are optional existing-project
|
|
82
|
+
metadata, not mandatory fields to invent or new labels to create. Describe
|
|
83
|
+
observed impact rather than guessing urgency.
|
|
84
|
+
- Stable working conventions belong in project instructions, not copied into
|
|
85
|
+
every issue. Do not demand a dedicated worktree, PR, approval round or
|
|
86
|
+
blanket production prohibition unless that boundary is real for the task;
|
|
87
|
+
task-specific exclusions remain explicit and binding within their scope.
|
|
88
|
+
- Do not copy full chats, private diffs, secrets, credentials or sensitive
|
|
89
|
+
records into an issue. Issue visibility matters even when the source
|
|
90
|
+
conversation was private.
|
|
91
|
+
|
|
92
|
+
## Slice and order dependencies
|
|
93
|
+
|
|
94
|
+
Default to one issue. Split only when a useful outcome needs multiple bounded
|
|
95
|
+
sessions or independently verifiable work, not to maximize ticket count.
|
|
96
|
+
|
|
97
|
+
- Prefer thin end-to-end behavior slices over separate layer tickets. Each
|
|
98
|
+
slice names its outcome, acceptance evidence and true blockers.
|
|
99
|
+
- Avoid speculative prerequisites and cycles. Use existing issues where they
|
|
100
|
+
already cover the goal.
|
|
101
|
+
- For broad breaking refactors where independent vertical slices cannot stay
|
|
102
|
+
working, allow an explicit expand–migrate–contract sequence or a justified
|
|
103
|
+
integration boundary; explain compatibility and when integrated verification
|
|
104
|
+
is required.
|
|
105
|
+
|
|
106
|
+
Publish blockers first when IDs are needed by dependent issues. Use native
|
|
107
|
+
dependencies only when the current tools support them and the operation is
|
|
108
|
+
authorized; otherwise put explicit `Blocked by` links in issue bodies. Verify
|
|
109
|
+
created links and native relationships. Never claim a native edge when only a
|
|
110
|
+
text reference exists.
|
|
111
|
+
|
|
112
|
+
## Readiness, dependencies and publication
|
|
113
|
+
|
|
114
|
+
Report three independent dimensions in plain text; this is descriptive, not a
|
|
115
|
+
new status engine.
|
|
116
|
+
|
|
117
|
+
| Dimension | Results |
|
|
118
|
+
| --- | --- |
|
|
119
|
+
| Specification | Ready; needs decision; needs evidence; already implemented |
|
|
120
|
+
| Dependencies | Unblocked; blocked by identified work; unknown where evidence is missing |
|
|
121
|
+
| Publication | Unpublished draft; published; partially published after an interrupted operation |
|
|
122
|
+
|
|
123
|
+
Use “Ready” only when intended behavior is precise, consequential decisions are
|
|
124
|
+
settled, acceptance is verifiable and enough context exists for a fresh agent.
|
|
125
|
+
“Already implemented” requires supporting evidence and does not imply verified
|
|
126
|
+
production behavior. A specification-ready issue blocked by another ticket is
|
|
127
|
+
not ready to start. Do not claim a tracker label or dependency was applied
|
|
128
|
+
merely because the handoff describes it.
|
|
129
|
+
|
|
130
|
+
When explicitly asked, publish an unfinished planning issue with its unresolved
|
|
131
|
+
decisions or evidence clearly identified. Publication does not make it
|
|
132
|
+
implementation-ready. If the user requests implementation-ready issues but
|
|
133
|
+
material decisions remain, resolve them or explain the gap rather than silently
|
|
134
|
+
lowering the requirement.
|
|
135
|
+
|
|
136
|
+
## Publication and authorization
|
|
137
|
+
|
|
138
|
+
Draft in the response by default. “Draft” does not imply permission to create
|
|
139
|
+
local files. Honor explicit read-only/no-write boundaries, including their
|
|
140
|
+
precedence over standing outcome-report permission.
|
|
141
|
+
|
|
142
|
+
An explicit request to create issues authorizes the requested issue set in the
|
|
143
|
+
identified tracker and its necessary dependency references. Do not add another
|
|
144
|
+
approval round for unchanged authorization.
|
|
145
|
+
|
|
146
|
+
Before writing, verify the destination repository and available permissions
|
|
147
|
+
through existing context and tools. This is an evidence check, not a mandatory
|
|
148
|
+
confirmation question; ask only if consequential ambiguity remains. Recheck
|
|
149
|
+
existing issues to avoid duplicates. Respect any request to review drafts
|
|
150
|
+
before publication.
|
|
151
|
+
|
|
152
|
+
Use existing labels only when authorized or required by applicable project
|
|
153
|
+
instructions; do not invent mandatory readiness labels. Unrelated issue edits,
|
|
154
|
+
closure, code changes, commits, PRs and deployment are outside issue-publication
|
|
155
|
+
scope.
|
|
156
|
+
|
|
157
|
+
On partial failure, report exactly what was created and what remains. Recover
|
|
158
|
+
existing IDs and check for duplicates before retrying. Do not recreate the
|
|
159
|
+
whole set, silently close partial issues or broaden permissions to repair the
|
|
160
|
+
failure.
|
|
161
|
+
|
|
162
|
+
When publication is unavailable, give a provisional draft and a manual handoff;
|
|
163
|
+
do not invent inspection or tracker access.
|
|
164
|
+
|
|
165
|
+
## Handoff and boundary
|
|
166
|
+
|
|
167
|
+
Return a concise handoff with issue links or drafts, specification readiness,
|
|
168
|
+
dependencies, unresolved decisions, evidence limitations and the next action.
|
|
169
|
+
A suitable implementation prompt is:
|
|
170
|
+
|
|
171
|
+
> Use Factory to implement <issue URL>. Read its body, relevant comments and
|
|
172
|
+
> current repository instructions. Recheck current behavior and dependencies,
|
|
173
|
+
> then work to the delivery boundary I specify for this implementation task.
|
|
174
|
+
|
|
175
|
+
Publishing ends the planning task. The issue itself grants no merge, deployment
|
|
176
|
+
or production authority. A later implementation request may authorize those
|
|
177
|
+
outcomes under existing Factory rules, and that separate session rereads the
|
|
178
|
+
issue and current repository state before coding.
|
|
179
|
+
|
|
180
|
+
## Supported environments
|
|
181
|
+
|
|
182
|
+
Installed coding-agent skills use the tools actually available in the host;
|
|
183
|
+
follow the skill compatibility contract and verify native discovery and
|
|
184
|
+
behavior separately.
|
|
185
|
+
|
|
186
|
+
The hosted MCP channel retrieves released guidance only. Repository inspection
|
|
187
|
+
and issue publication require separate connected capabilities. Disclose
|
|
188
|
+
unavailable capabilities and provide a provisional draft or manual handoff.
|
|
189
|
+
Retrieving instructions is not proof of native skill activation, repository
|
|
190
|
+
access or compliance with the workflow; verify each environment separately.
|
|
191
|
+
|
|
192
|
+
## Method provenance
|
|
193
|
+
|
|
194
|
+
The clarification, self-contained brief, synthesis and slicing methods here are
|
|
195
|
+
adapted in original wording from Matt Pocock's grilling (via grill-me), triage
|
|
196
|
+
agent briefs, to-spec and to-tickets, and from the supplied agent issue and
|
|
197
|
+
bug template/playbook design inputs. No substantial upstream text is copied.
|
|
198
|
+
Upstream reference at adaptation time: `mattpocock/skills` revision
|
|
199
|
+
`5863806dd4e15c63174bee4e7515a4256792ecfa` (MIT License, Copyright (c) 2026
|
|
200
|
+
Matt Pocock). Automatic publishing, labels, commits, approval loops, exhaustive
|
|
201
|
+
interviews, mandatory ticket fan-out and subagent delegation are deliberately
|
|
202
|
+
not inherited. See [planning.md](planning.md) for the base planning contract
|
|
203
|
+
and [../references/risk-and-delivery.md](../references/risk-and-delivery.md)
|
|
204
|
+
for authorization boundaries.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Planning
|
|
2
2
|
|
|
3
|
-
factory-plan resolves consequential uncertainty into the smallest useful plan for the requested risk. Planning is not a universal approval gate and never creates issues, commits, branches, or other external writes by itself.
|
|
3
|
+
factory-plan resolves consequential uncertainty into the smallest useful plan for the requested risk. It also drafts issues from ideas and bugs. Planning is not a universal approval gate and never creates issues, commits, branches, or other external writes by itself: issue drafting produces local text by default and publishes only when the user explicitly requests publication in an identified repository. See [issue-drafting.md](issue-drafting.md).
|
|
4
4
|
|
|
5
5
|
## Proportionality
|
|
6
6
|
|
|
@@ -58,13 +58,16 @@ Failure cases should include at least one permission bypass, one malformed or mi
|
|
|
58
58
|
|
|
59
59
|
## Consequential questions
|
|
60
60
|
|
|
61
|
-
Ask only when the answer changes scope, risk, authorization, or an externally visible contract and cannot be inferred from repository evidence. Resolve routine choices autonomously and record the assumption. Never use planning as a way to defer an obvious decision.
|
|
61
|
+
Ask only when the answer changes scope, risk, authorization, or an externally visible contract and cannot be inferred from repository evidence. Batch independent consequential questions and defer dependent ones; research factual answers instead of asking for them. Resolve routine choices autonomously and record the assumption. Never use planning as a way to defer an obvious decision.
|
|
62
62
|
|
|
63
63
|
## Side effects and external writes
|
|
64
64
|
|
|
65
|
-
- A plan is a local artifact. It does not create tracker issues, commits, branches, PRs, comments, deployments, or configuration changes.
|
|
65
|
+
- A plan or issue draft is a local artifact by default. It does not create tracker issues, commits, branches, PRs, comments, deployments, or configuration changes.
|
|
66
|
+
- An explicit issue-publication request authorizes only the requested issues and necessary dependency references in the identified repository. It does not authorize coding, closure of other issues, labels beyond existing project rules, commits, PRs or deployment. Publication ends planning.
|
|
67
|
+
- Honor read-only/no-write boundaries, including their precedence over standing outcome-report permission. A "draft" instruction never implies permission to write local files.
|
|
66
68
|
- If the user asks for delivery, hand off to the delivery workflow at the exact authorized boundary.
|
|
67
69
|
- Do not introduce a mandatory human approval step; the user's requested stopping point and authorization define when to proceed.
|
|
70
|
+
- Report partial publication honestly: keep created IDs, check for duplicates before retrying, and do not recreate the whole set or broaden permissions to repair a failure.
|
|
68
71
|
|
|
69
72
|
## Comparison: small fix vs high-impact change
|
|
70
73
|
|
|
@@ -1,26 +1,56 @@
|
|
|
1
1
|
# Task Summary
|
|
2
2
|
|
|
3
|
-
Opt-in, local, per-task outcome
|
|
3
|
+
Opt-in, local, per-task outcome reports. Default off. Enable for one task or once for a project; an agent writes the report during handoff, not through a background collector. No upload or transcript collection.
|
|
4
|
+
|
|
5
|
+
## Enable once per project
|
|
6
|
+
|
|
7
|
+
When the user enables project reporting, add this short setting to the project's existing AGENTS.md or equivalent persistent project instructions. Preserve unrelated instructions. This is standing authorization to write local reports, not permission to change delivery boundaries:
|
|
8
|
+
|
|
9
|
+
> Factory reporting: enabled for this project. At the end of each Factory task, or when handing off blocked work, save a local outcome report using the Factory task-summary reference. Report its absolute path. Do not store prompts, transcripts, secrets or private diffs.
|
|
10
|
+
|
|
11
|
+
Read this setting when establishing project context; do not ask again on every task. A later task-specific opt-out or read-only/no-write instruction takes precedence. Disable by removing the setting or marking it disabled; preserve existing reports unless deletion is requested. Without persistent project instructions, record only the current task rather than claiming future sessions are configured.
|
|
12
|
+
|
|
13
|
+
Record one report per task, not per agent, turn or test. The coordinating agent owns it. Use a UTC timestamp plus a short task identifier and collision-resistant suffix for new filenames. On resumption, update the known report for that same task; preserve earlier blockers and rework in their respective fields rather than silently erasing them. Never overwrite an unrelated report. Reporting failure is a handoff limitation, not a reason to claim the software delivery failed or to repeat deployment.
|
|
4
14
|
|
|
5
15
|
## Location (outside the public repo)
|
|
6
16
|
|
|
7
17
|
The user's explicit destination and permitted write boundary take precedence over any default. Before creating a directory or file, inspect the current `XDG_DATA_HOME` and `HOME`. A nonempty absolute `XDG_DATA_HOME` takes precedence over `HOME`; if it is unset or empty, use `HOME/.local/share`. Do not interpret a relative `XDG_DATA_HOME` or a missing `HOME` as a usable default. Resolve the destination and authorized boundary to absolute canonical paths, including existing symlinks, and check containment by path components, not a string prefix. Resolve and check again immediately before writing. If the path cannot be resolved or lies outside the authorized boundary, do not write there; use an explicitly authorized suitable location or ask for one. Never substitute the literal home-directory default when `XDG_DATA_HOME` is set. These instructions do not enforce filesystem isolation; host permissions and sandbox controls remain responsible for enforcement.
|
|
8
18
|
|
|
9
|
-
When no narrower destination or boundary applies, the default is `${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<
|
|
19
|
+
When no narrower destination or boundary applies, the default is `${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<UTC-timestamp>-<short-task>-<unique-suffix>.yaml`.
|
|
10
20
|
|
|
11
21
|
One YAML file per task, based on `../templates/task-summary.yaml` relative to this reference. By default keep summaries outside project repositories and synced locations; if the user explicitly chooses a different location, respect their scope and privacy preferences. Create the directory with `0700` permissions and files with `0600`.
|
|
12
22
|
|
|
13
23
|
## Opt-in and opt-out
|
|
14
24
|
|
|
15
|
-
- Opt-in: explicit
|
|
25
|
+
- Opt-in: explicit task request or the enabled project setting above. Unknown fields become `null`/`unknown`; do not invent evidence.
|
|
16
26
|
- Default/opt-out: write nothing, create no directory, and do not ask follow-up questions about cost or duration.
|
|
17
27
|
- A summary is not a commit, push, issue, or upload. Recording it performs no network access.
|
|
18
28
|
|
|
19
29
|
## Schema
|
|
20
30
|
|
|
21
|
-
`schema_version: 1
|
|
31
|
+
New reports use `schema_version: 2`; existing schema 1 reports remain readable and valid. Use the portable template, and validate with `tests/scenarios/summary/validate-summary.sh` when working in the Factory source checkout. Installed guidance does not include that development validator; check the schema directly when it is unavailable.
|
|
32
|
+
|
|
33
|
+
Keep the existing context fields: `factory_version`, `project`, `task`, `base`, `final_revision`, `worktree_state`, `environment`, `outcome`, `verification`, `review`, `duration`, `cost`, optional `lesson`. Add:
|
|
34
|
+
|
|
35
|
+
- `recorded_at`: UTC ISO timestamp of the latest report update.
|
|
36
|
+
- `links`: `task`, `thread`, `pr`, each a URL or null. Strip credentials and secret-bearing query parameters; include only permitted identifiers.
|
|
37
|
+
- `checks`: list of `name`, `status`, `evidence`. Status is `passed | failed | skipped | not-checked`. Name the environment and revision in evidence, or explain why a check was skipped/not checked. Empty means no checks recorded, not all passed.
|
|
38
|
+
- `review_detail`: `independence` (`same-agent | independent | none | unknown`) and `evidence` (reviewer/model when known, findings and dispositions, or a gap).
|
|
39
|
+
- `delivery`: `merged`, `deployed`, `verified_live`, each `"yes" | "no" | "unknown"` (quote these YAML values), plus `evidence`. Merge alone proves neither deployment nor live behavior; an automatic deployment not inspected is unknown, not no.
|
|
40
|
+
- `blockers`: list of concise strings identifying current blockers, conditions and resolved blockers when useful. An empty list means none known in this task's scope.
|
|
41
|
+
- `rework`: list of concise strings describing confirmed failures, fixes and repeated effort with evidence links where available. Separate suspected causes from demonstrated causes. Do not paste logs or diffs.
|
|
42
|
+
|
|
43
|
+
`outcome` is `completed | ready-for-review | blocked | unknown`; it describes the authorized task boundary. A draft-PR task can be completed without merging. `worktree_state` is `clean | dirty | unknown`. The `verification` and `review` strings remain short readable summaries; structured fields carry individual results. Keep them consistent.
|
|
44
|
+
|
|
45
|
+
Unknown context uses `unknown`, links use null, and unmeasured duration/cost use null. Never infer dollar costs from subscription usage. A lesson is an observation or hypothesis, not an automatic new rule; "no improvement justified" is valid.
|
|
46
|
+
|
|
47
|
+
## Review saved work later
|
|
48
|
+
|
|
49
|
+
At handoff, include the report's absolute path so it can be found from the task thread. Reports stay in the directory above until explicitly removed.
|
|
50
|
+
|
|
51
|
+
Example request: "Use factory-improve to review the reports for EGA House from the last five tasks in my local Factory summaries directory. Identify recurring failures, cite the report filenames and evidence, and propose the smallest improvement. Do not change rules yet."
|
|
22
52
|
|
|
23
|
-
|
|
53
|
+
Select reports by project and date before reading them; do not load all transcripts. Include blocked and unsuccessful tasks, not only successes. Check source evidence for consequential conclusions: these reports are agent-written accounts, not independent proof. Missing reports mean unknown coverage. A review proposes changes; it does not silently rewrite the Factory.
|
|
24
54
|
|
|
25
55
|
## Privacy
|
|
26
56
|
|
|
@@ -33,4 +63,4 @@ Do not store credentials, full prompts, private diffs, unrelated transcripts, or
|
|
|
33
63
|
|
|
34
64
|
## Limits
|
|
35
65
|
|
|
36
|
-
|
|
66
|
+
Agent-written reports at authorized handoff only. Host and provider telemetry behavior is not tested by this plugin; never present a recorded summary as host-collected data or as a measured cost. Cross-machine synchronization is out of scope for v1. Later aggregation (cycle time, verified outcomes, rework) is a follow-on feature, not a v1 behavior.
|
|
@@ -15,6 +15,7 @@ Record, without mutating:
|
|
|
15
15
|
- Risk tier: low, normal, or high (impact, reversibility, blast radius).
|
|
16
16
|
- Available capabilities and their compatibility (skills, tools, tests, browser, host).
|
|
17
17
|
- User/project/model preferences and authorization boundaries.
|
|
18
|
+
- Whether local reporting is enabled in project instructions or requested for this task.
|
|
18
19
|
|
|
19
20
|
Before implementation, identify the acceptance evidence needed to demonstrate the requested behavior. Before delivery, perform proportionate final behavior verification and a separate code review pass; disclose unavailable evidence and limitations. Label same-agent review honestly.
|
|
20
21
|
|
|
@@ -31,6 +32,7 @@ Choose only the work that the request and risk require:
|
|
|
31
32
|
| Situation | Route |
|
|
32
33
|
| --- | --- |
|
|
33
34
|
| Need resolve consequential uncertainty | `factory-plan` |
|
|
35
|
+
| Idea, bug or existing issue to clarify or publish | `factory-plan` issue-drafting mode with `../../references/issue-drafting.md` and `../../templates/implementation-issue.md`; draft by default, publish only when explicitly authorized |
|
|
34
36
|
| Take over or modernize existing PR/branch/thread | `../../references/takeover-and-modernize.md` |
|
|
35
37
|
| Need implementation/investigation | implement directly or with an explicitly permitted delegate |
|
|
36
38
|
| Final behavior verification | `factory-verify` |
|
|
@@ -77,8 +79,13 @@ Keep these visible regardless of route; details live in the linked references.
|
|
|
77
79
|
- **Delivery outcomes:** permission is separate from readiness. Assess automatic effects early; never infer blanket production authorization from silence. Later instructions update scope, but host/tool restrictions still apply.
|
|
78
80
|
- **No-merge / PR-ready:** apply only when the user clearly requests that outcome. A plain "stop"/"pause"/"full stop" means stop — begin no new edits, pushes, review rounds or watchers. When authorized, preserve the no-merge boundary; do not inherit automatic disabling of auto-merge/queue settings without authorization. Resolve conflicting automation before pushing rather than silently changing settings.
|
|
79
81
|
- **Council:** optional and user-requested only; no unbounded rounds or score gates.
|
|
82
|
+
- **Issue publication:** draft by default. An explicit request authorizes only the requested issues and necessary references in the identified repository; verify the destination and resulting links, disclose partial failures, and never start coding from publication alone (`../../references/issue-drafting.md`).
|
|
80
83
|
|
|
81
|
-
## 7.
|
|
84
|
+
## 7. Outcome reports
|
|
85
|
+
|
|
86
|
+
When project reporting is enabled or a task report is requested, follow `../../references/task-summary.md` at completion or blocked handoff. Save one concise local report for the task, update it on resumption, and include its absolute path in delivery. Respect task-specific opt-out and no-write boundaries. No transcripts or background collection.
|
|
87
|
+
|
|
88
|
+
## 8. References
|
|
82
89
|
|
|
83
90
|
Paths below are relative to this skill file; load only the references relevant to the task.
|
|
84
91
|
|
|
@@ -91,6 +98,8 @@ Paths below are relative to this skill file; load only the references relevant t
|
|
|
91
98
|
- `../../references/web-guidance.md`
|
|
92
99
|
- `../../references/improvement-and-metrics.md`
|
|
93
100
|
- `../../references/planning.md`
|
|
94
|
-
- `../../references/
|
|
101
|
+
- `../../references/issue-drafting.md` (idea/bug to issue requests)
|
|
102
|
+
- `../../templates/implementation-issue.md` (portable issue contract)
|
|
103
|
+
- `../../references/task-summary.md` (when project reporting is enabled or a task report is requested)
|
|
95
104
|
|
|
96
105
|
If a referenced skill is unavailable, use its documented fallback and continue the workflow.
|
|
@@ -11,7 +11,7 @@ Improve the factory only from selected, authorized evidence. An improvement is a
|
|
|
11
11
|
|
|
12
12
|
Input: selected evidence explicitly chosen by the user or by a prior authorized step (outcome summaries, failing check logs, review notes, incident notes), the factory/plugin version and revision, access boundaries, and the question to answer.
|
|
13
13
|
|
|
14
|
-
Evidence is never collected automatically. Full session transcripts, prompts, secrets, and unrelated records are out of scope unless specifically authorized and necessary.
|
|
14
|
+
Reports may be written at handoff under standing project opt-in, as described in `../../references/task-summary.md`. Select reports by project/date and include blocked outcomes; missing reports mean unknown coverage. Check underlying evidence before treating a report's explanation as an established cause. Evidence is never bulk-collected automatically. Full session transcripts, prompts, secrets, and unrelated records are out of scope unless specifically authorized and necessary.
|
|
15
15
|
|
|
16
16
|
Output:
|
|
17
17
|
- Evidence inventory: source, date, revision, access basis, and gaps.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: factory-plan
|
|
3
|
-
description: "Resolve consequential uncertainty into a scoped plan
|
|
3
|
+
description: "Resolve consequential uncertainty into a scoped plan, or turn an idea or bug into a self-contained, evidence-backed issue draft with authorized publication and handoff. Use when planning or issue drafting is justified."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Factory Plan
|
|
@@ -9,7 +9,7 @@ Produce the smallest useful plan for the requested risk.
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
Input: goal, context, constraints, risk tier, available evidence, and requested stopping point.
|
|
12
|
+
Input: goal, context, constraints, risk tier, available evidence, and requested stopping point. For issue drafting: an idea, bug, screenshot, conversation or existing issue, plus the destination repository when known.
|
|
13
13
|
|
|
14
14
|
Output:
|
|
15
15
|
- Goal and non-goals.
|
|
@@ -19,13 +19,22 @@ Output:
|
|
|
19
19
|
- Useful implementation slices.
|
|
20
20
|
- Verification and review approach.
|
|
21
21
|
- Open consequential questions only.
|
|
22
|
+
- For issue drafting: one self-contained issue draft or a justified set with real dependencies, plus specification readiness, dependency blocking and publication state.
|
|
23
|
+
|
|
24
|
+
## Modes
|
|
25
|
+
|
|
26
|
+
- **Planning** (default for implementation/verification requests): produce the smallest useful plan. Keep the existing output shape and boundaries.
|
|
27
|
+
- **Issue drafting** (idea, bug or existing issue to clarify or publish): follow `../../references/issue-drafting.md` and the portable `../../templates/implementation-issue.md`. Inspect relevant current behavior and existing work before drafting; draft by default and publish only within explicit authorization.
|
|
28
|
+
|
|
29
|
+
Choose the mode from the request, not from the amount of ceremony available. A clear bug is one issue without an interview; use the deeper steps only when material uncertainty warrants them.
|
|
22
30
|
|
|
23
31
|
## Rules
|
|
24
32
|
|
|
25
33
|
- Small tasks receive concise guidance; high-risk tasks identify invariants and failure cases.
|
|
26
34
|
- Resolve routine choices autonomously; ask only consequential questions that cannot be resolved from available evidence.
|
|
27
|
-
-
|
|
28
|
-
-
|
|
35
|
+
- Drafting produces local text only by default. Creating tracker issues or dependency references requires an explicit issue-publication request and is limited to the requested issues in the identified repository. Planning never creates commits, branches, PRs or deployments; publication starts no coding.
|
|
36
|
+
- Honor read-only/no-write boundaries, including precedence over standing report permission. Drafts contain no chats, private diffs, secrets or sensitive records.
|
|
37
|
+
- No universal human approval gate is introduced. Do not inherit automatic publishing, labels, commits, approval loops or delegates from adapted external methods.
|
|
29
38
|
- If `factory-plan` is unavailable, `factory` performs this inline with the same output shape.
|
|
30
39
|
- Planning depth follows risk (impact, reversibility, blast radius), not changed-line count.
|
|
31
40
|
- For high-risk work, state invariants and at least one permission, input, partial-failure, and compatibility failure case when relevant.
|
|
@@ -34,14 +43,19 @@ Output:
|
|
|
34
43
|
- Slices must leave the system working and be independently verifiable; omit them for trivial work.
|
|
35
44
|
- Ask only consequential questions; resolve routine choices autonomously and record assumptions.
|
|
36
45
|
- For takeover/ modernization work, resolve the actual head and later corrections first and check whether the goal is already superseded before planning a rebase; see `../../references/takeover-and-modernize.md`.
|
|
46
|
+
- In issue-drafting mode, record the inspected revision and distinguish facts, user decisions, recommendations and assumptions. Research factual answers; ask only consequential questions and batch independent ones.
|
|
47
|
+
- Default to one issue. Slice only for independently verifiable work with real blockers, and report specification readiness, dependency blocking and publication state separately.
|
|
48
|
+
- Verify destination and permissions before authorized publication; publish blockers first, verify links, disclose partial failures and never duplicate issues on retry. Publication ends planning and starts no coding.
|
|
37
49
|
|
|
38
50
|
## Fallback
|
|
39
51
|
|
|
40
|
-
When the skill cannot be invoked, return a compact plan with the same sections and mark `planning: fallback-inline`.
|
|
52
|
+
When the skill cannot be invoked, return a compact plan with the same sections and mark `planning: fallback-inline`. For issue requests, return a compact draft with the same contract and mark `issue-drafting: fallback-inline`; no publication occurs in fallback.
|
|
41
53
|
|
|
42
54
|
## References
|
|
43
55
|
|
|
44
56
|
- `../../references/planning.md`
|
|
57
|
+
- `../../references/issue-drafting.md` (idea/bug to issue requests)
|
|
58
|
+
- `../../templates/implementation-issue.md` (portable issue contract)
|
|
45
59
|
- `../../references/risk-and-delivery.md`
|
|
46
60
|
- `../../references/verification-and-review.md`
|
|
47
61
|
- `../../references/takeover-and-modernize.md` (when planning takeover/modernize work)
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Implementation issue (portable agent contract)
|
|
2
|
+
|
|
3
|
+
Use this contract for a self-contained issue that a fresh coding agent can
|
|
4
|
+
implement without the original conversation. It is agent guidance, not a
|
|
5
|
+
`.github/ISSUE_TEMPLATE` form and not a tracker-specific schema.
|
|
6
|
+
|
|
7
|
+
Detailed guidance: [../references/issue-drafting.md](../references/issue-drafting.md).
|
|
8
|
+
|
|
9
|
+
Omit any section that has no real content. Do not invent optional metadata,
|
|
10
|
+
labels, assignees or statuses. Keep wording in the project's domain language
|
|
11
|
+
and describe behavior rather than a speculative file-by-file implementation.
|
|
12
|
+
Copy the headings below into the issue, replacing the guidance text with facts.
|
|
13
|
+
|
|
14
|
+
Include repository identity in the title or context when the draft might
|
|
15
|
+
otherwise be ambiguous outside its tracker.
|
|
16
|
+
|
|
17
|
+
# Deliver a specific, observable behavior
|
|
18
|
+
|
|
19
|
+
## Current behavior / problem
|
|
20
|
+
|
|
21
|
+
What exists, fails or is missing, and who is affected.
|
|
22
|
+
|
|
23
|
+
## Desired behavior
|
|
24
|
+
|
|
25
|
+
The intended observable result, why it matters and important edge cases.
|
|
26
|
+
|
|
27
|
+
## Reproduction / environment
|
|
28
|
+
|
|
29
|
+
For bugs when relevant: preconditions, minimal steps, actual and expected
|
|
30
|
+
result, environment/version and frequency. Label reported behavior separately
|
|
31
|
+
from reproduced behavior. State unknowns. Keep suspected causes explicitly
|
|
32
|
+
marked as hypotheses; do not present an unverified hypothesis as the root
|
|
33
|
+
cause. If reproduction is unavailable, record the limitation and a proposed
|
|
34
|
+
alternative proof. For a purely visual defect, captures can establish the
|
|
35
|
+
behavior without a code test.
|
|
36
|
+
|
|
37
|
+
## Scope and non-goals
|
|
38
|
+
|
|
39
|
+
Included work, preserved behavior and binding constraints. Name significant
|
|
40
|
+
interfaces and established architectural decisions when they affect the
|
|
41
|
+
outcome.
|
|
42
|
+
|
|
43
|
+
## Acceptance criteria
|
|
44
|
+
|
|
45
|
+
- [ ] Observable result.
|
|
46
|
+
- [ ] Relevant failure case.
|
|
47
|
+
- [ ] Existing behavior that must remain intact.
|
|
48
|
+
|
|
49
|
+
Write criteria as observable outcomes, not implementation steps. Given/when/then
|
|
50
|
+
is optional. Do not require every test layer; require the evidence that proves
|
|
51
|
+
the outcome.
|
|
52
|
+
|
|
53
|
+
## Verification
|
|
54
|
+
|
|
55
|
+
Proposed checks or user journeys and the evidence they establish. Name
|
|
56
|
+
confirmed repository-supported commands where known; otherwise say they must
|
|
57
|
+
be discovered. Clearly distinguish proposed checks from checks already
|
|
58
|
+
executed. Separate required outcome evidence from illustrative suggestions.
|
|
59
|
+
|
|
60
|
+
## Context and dependencies
|
|
61
|
+
|
|
62
|
+
Inspected revision, useful source/evidence links, confirmed decisions,
|
|
63
|
+
assumptions, blockers and dependencies. Mark paths and revision-linked evidence
|
|
64
|
+
as inspected context, not permanent truth; the implementing agent rechecks the
|
|
65
|
+
current source. Use textual dependency links when native relationships are
|
|
66
|
+
unavailable.
|
|
67
|
+
|
|
68
|
+
## Open decisions
|
|
69
|
+
|
|
70
|
+
Only unresolved consequential questions, if any. Each should state what
|
|
71
|
+
decision or evidence is needed and who can supply it.
|
|
72
|
+
|
|
73
|
+
## Task-specific delivery constraints
|
|
74
|
+
|
|
75
|
+
Only known constraints or an explicitly agreed stopping point. This issue does
|
|
76
|
+
not grant delivery authority; follow the implementation request and applicable
|
|
77
|
+
project instructions. Do not invent a mandatory approval gate, dedicated
|
|
78
|
+
worktree, PR, fixed priority/status taxonomy or blanket production prohibition.
|
|
79
|
+
|
|
80
|
+
A task-specific exclusion is binding within its scope; later user instructions
|
|
81
|
+
may update that scope under the project's existing rules. For authentication,
|
|
82
|
+
permissions, billing, migrations, production data, concurrency or similarly
|
|
83
|
+
high-impact work, add explicit invariants, negative cases, compatibility
|
|
84
|
+
requirements and partial-failure/recovery behavior here.
|
|
85
|
+
|
|
86
|
+
Privacy: do not copy full chats, private diffs, credentials, secrets or
|
|
87
|
+
sensitive records into an issue. Issue visibility can differ from the source
|
|
88
|
+
conversation.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
# EGA Software Factory — opt-in local task
|
|
1
|
+
# EGA Software Factory — opt-in local task report (schema_version 2)
|
|
2
2
|
# Copy to the summary directory and fill in real values, one file per task:
|
|
3
|
-
# ${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<
|
|
4
|
-
# Write
|
|
3
|
+
# ${XDG_DATA_HOME:-$HOME/.local/share}/ega-factory/summaries/<UTC-timestamp>-<short-task>-<unique-suffix>.yaml
|
|
4
|
+
# Write on task opt-in or enabled project reporting. See references/task-summary.md.
|
|
5
5
|
# Rules: unknown -> null or "unknown", never zero or an estimate.
|
|
6
6
|
# no credentials, full prompts, private diffs, or transcripts.
|
|
7
7
|
|
|
8
|
-
schema_version:
|
|
8
|
+
schema_version: 2
|
|
9
|
+
recorded_at: "REPLACE_UTC_timestamp"
|
|
9
10
|
factory_version: "REPLACE_factory_version"
|
|
10
11
|
project: "REPLACE_project"
|
|
11
12
|
task: "REPLACE_task"
|
|
@@ -16,6 +17,23 @@ environment: "REPLACE_environment"
|
|
|
16
17
|
outcome: "REPLACE_outcome"
|
|
17
18
|
verification: "REPLACE_verification"
|
|
18
19
|
review: "REPLACE_review"
|
|
20
|
+
links:
|
|
21
|
+
task: null
|
|
22
|
+
thread: null
|
|
23
|
+
pr: null
|
|
24
|
+
# Add one row per relevant check, including checks skipped or unavailable.
|
|
25
|
+
checks: []
|
|
26
|
+
# Example row: {name: "focused tests", status: "passed", evidence: "revision and result"}
|
|
27
|
+
review_detail:
|
|
28
|
+
independence: unknown
|
|
29
|
+
evidence: "unknown"
|
|
30
|
+
delivery:
|
|
31
|
+
merged: unknown
|
|
32
|
+
deployed: unknown
|
|
33
|
+
verified_live: unknown
|
|
34
|
+
evidence: "unknown"
|
|
35
|
+
blockers: []
|
|
36
|
+
rework: []
|
|
19
37
|
duration: null
|
|
20
38
|
cost: null
|
|
21
39
|
lesson: "REPLACE_lesson_or_remove"
|