workforge 2.4.1__tar.gz → 2.6.0__tar.gz
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.
- {workforge-2.4.1 → workforge-2.6.0}/CHANGELOG.md +48 -8
- {workforge-2.4.1 → workforge-2.6.0}/PKG-INFO +101 -7
- {workforge-2.4.1 → workforge-2.6.0}/README.md +98 -6
- workforge-2.6.0/docs/README.md +46 -0
- {workforge-2.4.1 → workforge-2.6.0}/docs/distribution.md +50 -24
- workforge-2.6.0/docs/en/01-vision-and-scope.md +90 -0
- workforge-2.6.0/docs/en/02-software-requirements-specification.md +95 -0
- workforge-2.6.0/docs/en/03-use-cases.md +98 -0
- workforge-2.6.0/docs/en/04-software-architecture.md +146 -0
- workforge-2.6.0/docs/en/05-data-contracts.md +149 -0
- workforge-2.6.0/docs/en/06-quality-and-governance.md +111 -0
- workforge-2.6.0/docs/en/README.md +6 -0
- workforge-2.6.0/docs/es/01-vision-y-alcance.md +92 -0
- workforge-2.6.0/docs/es/02-especificacion-de-requisitos.md +95 -0
- workforge-2.6.0/docs/es/03-casos-de-uso.md +98 -0
- workforge-2.6.0/docs/es/04-arquitectura-de-software.md +145 -0
- workforge-2.6.0/docs/es/05-contratos-de-datos.md +147 -0
- workforge-2.6.0/docs/es/06-calidad-y-gobernanza.md +111 -0
- workforge-2.6.0/docs/es/README.md +6 -0
- {workforge-2.4.1 → workforge-2.6.0}/pyproject.toml +3 -1
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/cli.py +226 -23
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/core/parser.py +39 -1
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/models.py +24 -1
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/providers/base.py +10 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/providers/github.py +36 -1
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/providers/jira.py +55 -1
- workforge-2.6.0/src/workforge/providers/registry.py +20 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/providers/trello.py +72 -10
- workforge-2.6.0/tests/test_agent_context.py +251 -0
- workforge-2.6.0/tests/test_cli_output.py +93 -0
- {workforge-2.4.1 → workforge-2.6.0}/tests/test_github_provider.py +35 -0
- {workforge-2.4.1 → workforge-2.6.0}/tests/test_init_workspace.py +7 -0
- {workforge-2.4.1 → workforge-2.6.0}/tests/test_jira_provider.py +49 -0
- workforge-2.6.0/tests/test_parser.py +93 -0
- {workforge-2.4.1 → workforge-2.6.0}/tests/test_trello_provider.py +80 -0
- workforge-2.4.1/src/workforge/providers/registry.py +0 -17
- workforge-2.4.1/tests/test_agent_context.py +0 -138
- workforge-2.4.1/tests/test_cli_output.py +0 -30
- workforge-2.4.1/tests/test_parser.py +0 -45
- {workforge-2.4.1 → workforge-2.6.0}/.github/workflows/ci.yml +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/.github/workflows/release.yml +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/.gitignore +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/AGENTS.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/LICENSE +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/_config.yml +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/docs/github-provider-design.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/docs/jira-provider-design.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/docs/trello-provider-design.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/__init__.py +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/config.py +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/core/__init__.py +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/src/workforge/providers/__init__.py +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/tests/test_workspace_runtime.py +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/github-projects-example/.env.example +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/github-projects-example/inbox/sample-requirements.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/github-projects-example/output/.gitkeep +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/github-projects-example/workforge.yaml +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/jira-example/.env.example +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/jira-example/inbox/sample-requirements.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/jira-example/output/.gitkeep +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/jira-example/workforge.yaml +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/trello-example/.env.example +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/trello-example/inbox/sample-requirements.md +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/trello-example/output/.gitkeep +0 -0
- {workforge-2.4.1 → workforge-2.6.0}/workspaces/trello-example/workforge.yaml +0 -0
|
@@ -1,8 +1,43 @@
|
|
|
1
|
-
## [2.
|
|
1
|
+
## [2.6.0] - 2026-12-02
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### 🚀 Features
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- *(parser)* Support repeatable technical references
|
|
6
|
+
- *(cli)* Show technical references in agent context
|
|
7
|
+
- *(cli)* Record and display documentation impacts
|
|
8
|
+
- *(parser)* Validate item dependencies in previews
|
|
9
|
+
- *(cli)* Orchestrate item dependency synchronization
|
|
10
|
+
- *(github)* Synchronize issue dependencies
|
|
11
|
+
- *(jira)* Synchronize blocked-by issue links
|
|
12
|
+
- *(trello)* Represent card dependencies
|
|
13
|
+
|
|
14
|
+
### 🐛 Bug Fixes
|
|
15
|
+
|
|
16
|
+
- *(deps)* Require patched TLS dependencies
|
|
17
|
+
- *(trello)* Preserve manual dependency checklists
|
|
18
|
+
|
|
19
|
+
### 📚 Documentation
|
|
20
|
+
|
|
21
|
+
- Establish bilingual technical baseline
|
|
22
|
+
- Clarify technical context and impact retention
|
|
23
|
+
|
|
24
|
+
### 🧪 Testing
|
|
25
|
+
|
|
26
|
+
- *(cli)* Cover technical context with a mocked provider
|
|
27
|
+
## [2.5.0] - 2026-08-25
|
|
28
|
+
|
|
29
|
+
### 🚀 Features
|
|
30
|
+
|
|
31
|
+
- *(workspace)* Add contributor instructions
|
|
32
|
+
|
|
33
|
+
### 📚 Documentation
|
|
34
|
+
|
|
35
|
+
- Clarify WorkForge installation modes
|
|
36
|
+
|
|
37
|
+
### ⚙️ Miscellaneous Tasks
|
|
38
|
+
|
|
39
|
+
- Release 2.5.0
|
|
40
|
+
## [2.4.1] - 2026-08-21
|
|
6
41
|
|
|
7
42
|
### 📚 Documentation
|
|
8
43
|
|
|
@@ -13,6 +48,11 @@
|
|
|
13
48
|
|
|
14
49
|
- *(github pages)* Create theme configuration file
|
|
15
50
|
- Updates documentation
|
|
51
|
+
- Release 2.4.1
|
|
52
|
+
|
|
53
|
+
### 💼 Other
|
|
54
|
+
|
|
55
|
+
- Publish releases to PyPI
|
|
16
56
|
## [2.4.0] - 2026-08-21
|
|
17
57
|
|
|
18
58
|
### 🚀 Features
|
|
@@ -82,17 +122,17 @@
|
|
|
82
122
|
|
|
83
123
|
- Harden GitHub provider failures
|
|
84
124
|
|
|
85
|
-
### 🚜 Refactor
|
|
86
|
-
|
|
87
|
-
- Store provider output as items
|
|
88
|
-
- Use provider-neutral item terminology
|
|
89
|
-
|
|
90
125
|
### 📚 Documentation
|
|
91
126
|
|
|
92
127
|
- Document GitHub Projects provider
|
|
93
128
|
- Add GitHub Projects example workspace
|
|
94
129
|
- Add v2 migration guide
|
|
95
130
|
|
|
131
|
+
### 🚜 Refactor
|
|
132
|
+
|
|
133
|
+
- Store provider output as items
|
|
134
|
+
- Use provider-neutral item terminology
|
|
135
|
+
|
|
96
136
|
### ⚙️ Miscellaneous Tasks
|
|
97
137
|
|
|
98
138
|
- Release 2.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: workforge
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6.0
|
|
4
4
|
Summary: Turn work inputs into provider-neutral requirements and planning items.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Nanielito/workforge
|
|
6
6
|
Project-URL: Repository, https://github.com/Nanielito/workforge.git
|
|
@@ -20,6 +20,8 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
21
|
Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: anyio>=4.14.2
|
|
24
|
+
Requires-Dist: certifi>=2026.10.19
|
|
23
25
|
Requires-Dist: httpx>=0.27.0
|
|
24
26
|
Requires-Dist: pydantic>=2.8.0
|
|
25
27
|
Requires-Dist: python-dotenv>=1.0.1
|
|
@@ -91,26 +93,55 @@ GitHub Actions runs on pull requests and pushes to `main`.
|
|
|
91
93
|
- Tests run on Python 3.11, 3.12, and 3.13.
|
|
92
94
|
- The package build is validated with `python -m build`.
|
|
93
95
|
|
|
94
|
-
##
|
|
96
|
+
## Technical documentation
|
|
97
|
+
|
|
98
|
+
- [Documentation map](https://github.com/Nanielito/workforge/blob/main/docs/README.md)
|
|
99
|
+
- [Technical baseline in English](https://github.com/Nanielito/workforge/blob/main/docs/en/README.md)
|
|
100
|
+
- [Línea base técnica en español](https://github.com/Nanielito/workforge/blob/main/docs/es/README.md)
|
|
101
|
+
|
|
102
|
+
Provider references:
|
|
95
103
|
|
|
96
104
|
- [Trello provider design](https://github.com/Nanielito/workforge/blob/main/docs/trello-provider-design.md)
|
|
97
105
|
- [GitHub Projects provider design](https://github.com/Nanielito/workforge/blob/main/docs/github-provider-design.md)
|
|
98
106
|
- [Jira Cloud provider design](https://github.com/Nanielito/workforge/blob/main/docs/jira-provider-design.md)
|
|
99
107
|
|
|
108
|
+
## TLS certificates
|
|
109
|
+
|
|
110
|
+
WorkForge uses HTTPX with `certifi>=2026.10.19` by default. This minimum
|
|
111
|
+
includes the fix for the [October 2026 emSign incident](https://github.com/advisories/GHSA-6q48-6c7w-9gw2).
|
|
112
|
+
The async TLS backend also requires `anyio>=4.14.2` for the
|
|
113
|
+
[hostname verification fix](https://github.com/advisories/GHSA-82r6-8w77-94w6).
|
|
114
|
+
For an existing pip installation, run
|
|
115
|
+
`python -m pip install --upgrade "certifi>=2026.10.19" "anyio>=4.14.2"` in the same environment.
|
|
116
|
+
For an existing uv tool installation, run
|
|
117
|
+
`uv tool install --reinstall --with "certifi>=2026.10.19" --with "anyio>=4.14.2" workforge`.
|
|
118
|
+
For on-demand runs, use `uvx --with "certifi>=2026.10.19" --with "anyio>=4.14.2" workforge`.
|
|
119
|
+
When using `SSL_CERT_FILE` or `SSL_CERT_DIR`, keep that CA store up to date
|
|
120
|
+
because HTTPX uses it in place of the bundled roots.
|
|
121
|
+
|
|
100
122
|
## Quick Start
|
|
101
123
|
|
|
102
|
-
|
|
124
|
+
`uvx` is included with `uv`. If it is not available yet, install `uv` using the
|
|
125
|
+
[official installation guide](https://docs.astral.sh/uv/getting-started/installation/),
|
|
126
|
+
which covers macOS, Linux, Windows, and common package managers.
|
|
127
|
+
|
|
128
|
+
Run WorkForge on demand without installing a permanent command:
|
|
103
129
|
|
|
104
130
|
```bash
|
|
105
|
-
|
|
131
|
+
uvx workforge --help
|
|
106
132
|
```
|
|
107
133
|
|
|
108
|
-
|
|
134
|
+
Prefix each WorkForge command with `uvx`; the examples below omit that prefix
|
|
135
|
+
for readability. Alternatively, install it persistently with
|
|
136
|
+
`uv tool install workforge`. See the
|
|
137
|
+
[distribution guide](https://github.com/Nanielito/workforge/blob/main/docs/distribution.md#choose-how-to-run-workforge)
|
|
138
|
+
for temporary, persistent, and version-pinned usage. Contributors should
|
|
139
|
+
continue to use `pip install -e ".[dev]"`.
|
|
109
140
|
|
|
110
141
|
Create a project-local workspace:
|
|
111
142
|
|
|
112
143
|
```bash
|
|
113
|
-
workforge init .workforge --name
|
|
144
|
+
workforge init .workforge --name my-project --provider trello --namespace my-project/shopify
|
|
114
145
|
```
|
|
115
146
|
|
|
116
147
|
Then add the printed entries to the host project's `.gitignore`:
|
|
@@ -194,6 +225,13 @@ workforge status workspaces/trello-example/inbox/sample-requirements.md --worksp
|
|
|
194
225
|
|
|
195
226
|
Generate implementation context for an agent:
|
|
196
227
|
|
|
228
|
+
Add one `Technical reference: <path-or-URL>` line per reference in a requirement.
|
|
229
|
+
Both context commands display these locators as written when the requirement
|
|
230
|
+
and the saved item have a unique title match, ignoring case. Use paths relative
|
|
231
|
+
to the repository the agent will work in, or URLs the agent can access. The
|
|
232
|
+
agent resolves the locators. WorkForge does not resolve paths against the
|
|
233
|
+
workspace or input file, check that documents exist, or fetch URLs.
|
|
234
|
+
|
|
197
235
|
```bash
|
|
198
236
|
workforge agent-context workspaces/trello-example/inbox/sample-requirements.md --workspace workspaces/trello-example --save
|
|
199
237
|
```
|
|
@@ -207,6 +245,30 @@ workforge item-context workspaces/trello-example/inbox/sample-requirements.md \
|
|
|
207
245
|
--save
|
|
208
246
|
```
|
|
209
247
|
|
|
248
|
+
Record a local suggestion to review documentation for a saved item:
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
workforge record-documentation-impact requirements.md --workspace .workforge \
|
|
252
|
+
--item 48 --document docs/architecture.md --reason "The item contract changed" \
|
|
253
|
+
--provenance "implementation review" --evidence src/models.py
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
`--evidence` is optional. Generate agent or item context again with the same
|
|
257
|
+
workspace, input name, and provider to see the suggestion. WorkForge stores
|
|
258
|
+
each distinct suggestion as a JSON file under
|
|
259
|
+
`output/<input-name>/documentation-impacts/`, keyed to the provider and item
|
|
260
|
+
ID. These files are local to the workspace. Back up that directory before
|
|
261
|
+
cleaning `output/` if you need to keep the suggestions. To display restored
|
|
262
|
+
suggestions, put them back under the same input name and keep or rebuild the
|
|
263
|
+
corresponding `items.json`.
|
|
264
|
+
|
|
265
|
+
For items discovered with `workforge discover --workspace .workforge --save`,
|
|
266
|
+
use `discovered` in place of `requirements.md` in both the recording and
|
|
267
|
+
context commands. If you used `--output-name`, use that name instead. Select
|
|
268
|
+
the same provider you used for discovery. Without a matching source
|
|
269
|
+
requirement, generated context can show the recorded suggestions, while the
|
|
270
|
+
**Technical References** section is absent.
|
|
271
|
+
|
|
210
272
|
Mark a provider checklist task as complete:
|
|
211
273
|
|
|
212
274
|
```bash
|
|
@@ -255,10 +317,14 @@ workforge providers test --workspace workspaces/trello-example --provider trello
|
|
|
255
317
|
<workspace>/
|
|
256
318
|
workforge.yaml
|
|
257
319
|
.env.example
|
|
320
|
+
README.md
|
|
258
321
|
inbox/
|
|
259
322
|
output/
|
|
260
323
|
```
|
|
261
324
|
|
|
325
|
+
`workforge init` creates the workspace README with a concise contributor
|
|
326
|
+
workflow for configuring access, previewing requirements, and tracking work.
|
|
327
|
+
|
|
262
328
|
Workspace `.env` files are intentionally local-only. Commit `.env.example`, not
|
|
263
329
|
`.env`.
|
|
264
330
|
|
|
@@ -361,6 +427,34 @@ Shopify asked us to explain what customer data is collected and why.
|
|
|
361
427
|
|
|
362
428
|
Each `##` section becomes one provider-neutral requirement.
|
|
363
429
|
|
|
430
|
+
Use `ID: api` on a prerequisite and `Depends_on: api` on the requirement it
|
|
431
|
+
blocks. Separate multiple IDs with commas. IDs are case-sensitive and resolve
|
|
432
|
+
within the same Markdown file, including references to later sections.
|
|
433
|
+
WorkForge rejects duplicate IDs, missing references, self-dependencies, and
|
|
434
|
+
cycles. Preview includes the validated references. Creating items with
|
|
435
|
+
dependencies requires provider synchronization support. WorkForge creates all
|
|
436
|
+
items before linking them, so references can point to later sections.
|
|
437
|
+
With `--save`, `items.json` records the Markdown requirement IDs and intended
|
|
438
|
+
dependencies alongside the provider item IDs. If linking fails, this file
|
|
439
|
+
still lists the created items. Check the provider before retrying, since
|
|
440
|
+
running `create` again can create duplicates.
|
|
441
|
+
|
|
442
|
+
GitHub Projects creates native blocked-by relationships on the underlying
|
|
443
|
+
issues using the workspace token's Issues write access. Jira Cloud creates
|
|
444
|
+
native Blocks links and requires issue linking to be enabled and the Browse
|
|
445
|
+
Projects and Link Issues permissions. For customized Jira link types, set
|
|
446
|
+
`dependency_link_type` (default `Blocks`) and `dependency_blocked_by` (default
|
|
447
|
+
`is blocked by`) under `providers.jira`. Use the exact name and the label
|
|
448
|
+
that appears on the blocked issue.
|
|
449
|
+
|
|
450
|
+
Trello adds a marked link to each prerequisite card in a dedicated
|
|
451
|
+
`Dependencies (WorkForge)` checklist and attaches a backlink to the
|
|
452
|
+
prerequisite card. Manual entries remain available in `status` and
|
|
453
|
+
`complete-task`, including entries in checklists named `Dependencies`.
|
|
454
|
+
Older unmarked links are left in place and treated as ordinary entries.
|
|
455
|
+
Dependency links do not enforce a block or update completion automatically. Both preview
|
|
456
|
+
commands describe this behavior on stderr when targeting Trello.
|
|
457
|
+
|
|
364
458
|
## Output Files
|
|
365
459
|
|
|
366
460
|
Saved output is grouped by input filename under the selected workspace:
|
|
@@ -376,7 +470,7 @@ workspaces/<name>/
|
|
|
376
470
|
status.json
|
|
377
471
|
agent-context.md
|
|
378
472
|
items/
|
|
379
|
-
fix-ui-
|
|
473
|
+
fix-ui-post-install.md
|
|
380
474
|
```
|
|
381
475
|
|
|
382
476
|
`preview.json` contains the provider-neutral requirements parsed from the input.
|
|
@@ -59,26 +59,55 @@ GitHub Actions runs on pull requests and pushes to `main`.
|
|
|
59
59
|
- Tests run on Python 3.11, 3.12, and 3.13.
|
|
60
60
|
- The package build is validated with `python -m build`.
|
|
61
61
|
|
|
62
|
-
##
|
|
62
|
+
## Technical documentation
|
|
63
|
+
|
|
64
|
+
- [Documentation map](https://github.com/Nanielito/workforge/blob/main/docs/README.md)
|
|
65
|
+
- [Technical baseline in English](https://github.com/Nanielito/workforge/blob/main/docs/en/README.md)
|
|
66
|
+
- [Línea base técnica en español](https://github.com/Nanielito/workforge/blob/main/docs/es/README.md)
|
|
67
|
+
|
|
68
|
+
Provider references:
|
|
63
69
|
|
|
64
70
|
- [Trello provider design](https://github.com/Nanielito/workforge/blob/main/docs/trello-provider-design.md)
|
|
65
71
|
- [GitHub Projects provider design](https://github.com/Nanielito/workforge/blob/main/docs/github-provider-design.md)
|
|
66
72
|
- [Jira Cloud provider design](https://github.com/Nanielito/workforge/blob/main/docs/jira-provider-design.md)
|
|
67
73
|
|
|
74
|
+
## TLS certificates
|
|
75
|
+
|
|
76
|
+
WorkForge uses HTTPX with `certifi>=2026.10.19` by default. This minimum
|
|
77
|
+
includes the fix for the [October 2026 emSign incident](https://github.com/advisories/GHSA-6q48-6c7w-9gw2).
|
|
78
|
+
The async TLS backend also requires `anyio>=4.14.2` for the
|
|
79
|
+
[hostname verification fix](https://github.com/advisories/GHSA-82r6-8w77-94w6).
|
|
80
|
+
For an existing pip installation, run
|
|
81
|
+
`python -m pip install --upgrade "certifi>=2026.10.19" "anyio>=4.14.2"` in the same environment.
|
|
82
|
+
For an existing uv tool installation, run
|
|
83
|
+
`uv tool install --reinstall --with "certifi>=2026.10.19" --with "anyio>=4.14.2" workforge`.
|
|
84
|
+
For on-demand runs, use `uvx --with "certifi>=2026.10.19" --with "anyio>=4.14.2" workforge`.
|
|
85
|
+
When using `SSL_CERT_FILE` or `SSL_CERT_DIR`, keep that CA store up to date
|
|
86
|
+
because HTTPX uses it in place of the bundled roots.
|
|
87
|
+
|
|
68
88
|
## Quick Start
|
|
69
89
|
|
|
70
|
-
|
|
90
|
+
`uvx` is included with `uv`. If it is not available yet, install `uv` using the
|
|
91
|
+
[official installation guide](https://docs.astral.sh/uv/getting-started/installation/),
|
|
92
|
+
which covers macOS, Linux, Windows, and common package managers.
|
|
93
|
+
|
|
94
|
+
Run WorkForge on demand without installing a permanent command:
|
|
71
95
|
|
|
72
96
|
```bash
|
|
73
|
-
|
|
97
|
+
uvx workforge --help
|
|
74
98
|
```
|
|
75
99
|
|
|
76
|
-
|
|
100
|
+
Prefix each WorkForge command with `uvx`; the examples below omit that prefix
|
|
101
|
+
for readability. Alternatively, install it persistently with
|
|
102
|
+
`uv tool install workforge`. See the
|
|
103
|
+
[distribution guide](https://github.com/Nanielito/workforge/blob/main/docs/distribution.md#choose-how-to-run-workforge)
|
|
104
|
+
for temporary, persistent, and version-pinned usage. Contributors should
|
|
105
|
+
continue to use `pip install -e ".[dev]"`.
|
|
77
106
|
|
|
78
107
|
Create a project-local workspace:
|
|
79
108
|
|
|
80
109
|
```bash
|
|
81
|
-
workforge init .workforge --name
|
|
110
|
+
workforge init .workforge --name my-project --provider trello --namespace my-project/shopify
|
|
82
111
|
```
|
|
83
112
|
|
|
84
113
|
Then add the printed entries to the host project's `.gitignore`:
|
|
@@ -162,6 +191,13 @@ workforge status workspaces/trello-example/inbox/sample-requirements.md --worksp
|
|
|
162
191
|
|
|
163
192
|
Generate implementation context for an agent:
|
|
164
193
|
|
|
194
|
+
Add one `Technical reference: <path-or-URL>` line per reference in a requirement.
|
|
195
|
+
Both context commands display these locators as written when the requirement
|
|
196
|
+
and the saved item have a unique title match, ignoring case. Use paths relative
|
|
197
|
+
to the repository the agent will work in, or URLs the agent can access. The
|
|
198
|
+
agent resolves the locators. WorkForge does not resolve paths against the
|
|
199
|
+
workspace or input file, check that documents exist, or fetch URLs.
|
|
200
|
+
|
|
165
201
|
```bash
|
|
166
202
|
workforge agent-context workspaces/trello-example/inbox/sample-requirements.md --workspace workspaces/trello-example --save
|
|
167
203
|
```
|
|
@@ -175,6 +211,30 @@ workforge item-context workspaces/trello-example/inbox/sample-requirements.md \
|
|
|
175
211
|
--save
|
|
176
212
|
```
|
|
177
213
|
|
|
214
|
+
Record a local suggestion to review documentation for a saved item:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
workforge record-documentation-impact requirements.md --workspace .workforge \
|
|
218
|
+
--item 48 --document docs/architecture.md --reason "The item contract changed" \
|
|
219
|
+
--provenance "implementation review" --evidence src/models.py
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
`--evidence` is optional. Generate agent or item context again with the same
|
|
223
|
+
workspace, input name, and provider to see the suggestion. WorkForge stores
|
|
224
|
+
each distinct suggestion as a JSON file under
|
|
225
|
+
`output/<input-name>/documentation-impacts/`, keyed to the provider and item
|
|
226
|
+
ID. These files are local to the workspace. Back up that directory before
|
|
227
|
+
cleaning `output/` if you need to keep the suggestions. To display restored
|
|
228
|
+
suggestions, put them back under the same input name and keep or rebuild the
|
|
229
|
+
corresponding `items.json`.
|
|
230
|
+
|
|
231
|
+
For items discovered with `workforge discover --workspace .workforge --save`,
|
|
232
|
+
use `discovered` in place of `requirements.md` in both the recording and
|
|
233
|
+
context commands. If you used `--output-name`, use that name instead. Select
|
|
234
|
+
the same provider you used for discovery. Without a matching source
|
|
235
|
+
requirement, generated context can show the recorded suggestions, while the
|
|
236
|
+
**Technical References** section is absent.
|
|
237
|
+
|
|
178
238
|
Mark a provider checklist task as complete:
|
|
179
239
|
|
|
180
240
|
```bash
|
|
@@ -223,10 +283,14 @@ workforge providers test --workspace workspaces/trello-example --provider trello
|
|
|
223
283
|
<workspace>/
|
|
224
284
|
workforge.yaml
|
|
225
285
|
.env.example
|
|
286
|
+
README.md
|
|
226
287
|
inbox/
|
|
227
288
|
output/
|
|
228
289
|
```
|
|
229
290
|
|
|
291
|
+
`workforge init` creates the workspace README with a concise contributor
|
|
292
|
+
workflow for configuring access, previewing requirements, and tracking work.
|
|
293
|
+
|
|
230
294
|
Workspace `.env` files are intentionally local-only. Commit `.env.example`, not
|
|
231
295
|
`.env`.
|
|
232
296
|
|
|
@@ -329,6 +393,34 @@ Shopify asked us to explain what customer data is collected and why.
|
|
|
329
393
|
|
|
330
394
|
Each `##` section becomes one provider-neutral requirement.
|
|
331
395
|
|
|
396
|
+
Use `ID: api` on a prerequisite and `Depends_on: api` on the requirement it
|
|
397
|
+
blocks. Separate multiple IDs with commas. IDs are case-sensitive and resolve
|
|
398
|
+
within the same Markdown file, including references to later sections.
|
|
399
|
+
WorkForge rejects duplicate IDs, missing references, self-dependencies, and
|
|
400
|
+
cycles. Preview includes the validated references. Creating items with
|
|
401
|
+
dependencies requires provider synchronization support. WorkForge creates all
|
|
402
|
+
items before linking them, so references can point to later sections.
|
|
403
|
+
With `--save`, `items.json` records the Markdown requirement IDs and intended
|
|
404
|
+
dependencies alongside the provider item IDs. If linking fails, this file
|
|
405
|
+
still lists the created items. Check the provider before retrying, since
|
|
406
|
+
running `create` again can create duplicates.
|
|
407
|
+
|
|
408
|
+
GitHub Projects creates native blocked-by relationships on the underlying
|
|
409
|
+
issues using the workspace token's Issues write access. Jira Cloud creates
|
|
410
|
+
native Blocks links and requires issue linking to be enabled and the Browse
|
|
411
|
+
Projects and Link Issues permissions. For customized Jira link types, set
|
|
412
|
+
`dependency_link_type` (default `Blocks`) and `dependency_blocked_by` (default
|
|
413
|
+
`is blocked by`) under `providers.jira`. Use the exact name and the label
|
|
414
|
+
that appears on the blocked issue.
|
|
415
|
+
|
|
416
|
+
Trello adds a marked link to each prerequisite card in a dedicated
|
|
417
|
+
`Dependencies (WorkForge)` checklist and attaches a backlink to the
|
|
418
|
+
prerequisite card. Manual entries remain available in `status` and
|
|
419
|
+
`complete-task`, including entries in checklists named `Dependencies`.
|
|
420
|
+
Older unmarked links are left in place and treated as ordinary entries.
|
|
421
|
+
Dependency links do not enforce a block or update completion automatically. Both preview
|
|
422
|
+
commands describe this behavior on stderr when targeting Trello.
|
|
423
|
+
|
|
332
424
|
## Output Files
|
|
333
425
|
|
|
334
426
|
Saved output is grouped by input filename under the selected workspace:
|
|
@@ -344,7 +436,7 @@ workspaces/<name>/
|
|
|
344
436
|
status.json
|
|
345
437
|
agent-context.md
|
|
346
438
|
items/
|
|
347
|
-
fix-ui-
|
|
439
|
+
fix-ui-post-install.md
|
|
348
440
|
```
|
|
349
441
|
|
|
350
442
|
`preview.json` contains the provider-neutral requirements parsed from the input.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WorkForge technical documentation
|
|
2
|
+
|
|
3
|
+
This directory contains the normative technical baseline and supporting guides
|
|
4
|
+
for WorkForge.
|
|
5
|
+
|
|
6
|
+
[Documentación en español](es/README.md) · [English documentation](en/README.md)
|
|
7
|
+
|
|
8
|
+
## Baseline
|
|
9
|
+
|
|
10
|
+
| Field | Value |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| Documentation version | 1.0.0-draft |
|
|
13
|
+
| Product target | WorkForge 2.5.x |
|
|
14
|
+
| Canonical language | English; synchronized Spanish translation |
|
|
15
|
+
| Last synchronized | 2026-10-19 |
|
|
16
|
+
|
|
17
|
+
## Documentation map
|
|
18
|
+
|
|
19
|
+
| ID | English | Español | Purpose |
|
|
20
|
+
| --- | --- | --- | --- |
|
|
21
|
+
| DOC-01 | [Vision and scope](en/01-vision-and-scope.md) | [Visión y alcance](es/01-vision-y-alcance.md) | Problem, users, boundaries, and principles |
|
|
22
|
+
| DOC-02 | [Software requirements](en/02-software-requirements-specification.md) | [Especificación de requisitos](es/02-especificacion-de-requisitos.md) | Verifiable product behavior |
|
|
23
|
+
| DOC-03 | [Use cases](en/03-use-cases.md) | [Casos de uso](es/03-casos-de-uso.md) | Primary and alternative workflows |
|
|
24
|
+
| DOC-04 | [Software architecture](en/04-software-architecture.md) | [Arquitectura de software](es/04-arquitectura-de-software.md) | Components, flow, trust boundaries, and effects |
|
|
25
|
+
| DOC-05 | [Data contracts](en/05-data-contracts.md) | [Contratos de datos](es/05-contratos-de-datos.md) | Inputs, models, configuration, and saved artifacts |
|
|
26
|
+
| DOC-06 | [Quality and governance](en/06-quality-and-governance.md) | [Calidad y gobernanza](es/06-calidad-y-gobernanza.md) | Compatibility, testing, risks, and documentation rules |
|
|
27
|
+
|
|
28
|
+
Supporting references remain in English:
|
|
29
|
+
|
|
30
|
+
- [Distribution and release guide](distribution.md)
|
|
31
|
+
- [GitHub provider design](github-provider-design.md)
|
|
32
|
+
- [Jira provider design](jira-provider-design.md)
|
|
33
|
+
- [Trello provider design](trello-provider-design.md)
|
|
34
|
+
|
|
35
|
+
## Statuses
|
|
36
|
+
|
|
37
|
+
`Draft` → `In review` → `Approved` → `Superseded` or `Retired`.
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
1. English is canonical; Spanish is synchronized in the same change.
|
|
42
|
+
2. Requirement, use-case, data, and risk IDs are stable and are not reused.
|
|
43
|
+
3. Behavior changes update every affected contract and use case.
|
|
44
|
+
4. Significant architectural changes require an ADR after the ADR catalog is established.
|
|
45
|
+
5. Markdown is the source of truth; generated formats are artifacts.
|
|
46
|
+
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# Distribution and Release Guide
|
|
2
2
|
|
|
3
|
-
WorkForge is a public Python CLI. GitHub remains the
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
development environment.
|
|
3
|
+
WorkForge is a public Python CLI distributed through PyPI. GitHub remains the
|
|
4
|
+
source repository and release record. Users can run WorkForge in an isolated
|
|
5
|
+
environment without cloning the repository or creating a development setup.
|
|
7
6
|
|
|
8
7
|
## Current state
|
|
9
8
|
|
|
@@ -12,23 +11,54 @@ changelog, creates a Git tag, and uploads the wheel and source distribution to
|
|
|
12
11
|
both a GitHub Release and PyPI. The PyPI job uses Trusted Publishing and a
|
|
13
12
|
separate GitHub environment so it never receives the repository write token.
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
completed and the first release using the publish job succeeds.
|
|
14
|
+
## Choose how to run WorkForge
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
`uvx` ships with `uv`; users who do not have it can follow the
|
|
17
|
+
[official uv installation guide](https://docs.astral.sh/uv/getting-started/installation/).
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
### On demand in a project
|
|
20
|
+
|
|
21
|
+
Use `uvx` when WorkForge supports planning for a project but should not become a
|
|
22
|
+
permanent command or project dependency:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
cd my-project
|
|
26
|
+
uvx workforge init .workforge \
|
|
27
|
+
--name my-project \
|
|
28
|
+
--provider github \
|
|
29
|
+
--namespace organization/repository
|
|
30
|
+
uvx workforge preview .workforge/inbox/requirements.md --workspace .workforge
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Prefix every command with `uvx`. The WorkForge runtime remains isolated and uv
|
|
34
|
+
may cache it for faster later executions; the project-local `.workforge`
|
|
35
|
+
workspace persists normally. The same approach works with Trello, GitHub
|
|
36
|
+
Projects, and Jira.
|
|
37
|
+
|
|
38
|
+
To reproduce planning behavior with a known release, pin it in each invocation:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
uvx workforge@X.Y.Z preview .workforge/inbox/requirements.md --workspace .workforge
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
There is nothing to uninstall after `uvx`. `uv cache clean` removes uv's shared
|
|
45
|
+
cache, not only WorkForge, and is normally unnecessary.
|
|
46
|
+
|
|
47
|
+
### Persistent command
|
|
48
|
+
|
|
49
|
+
Install WorkForge persistently when it is used across many projects or by
|
|
50
|
+
scripts that expect a `workforge` command on `PATH`:
|
|
22
51
|
|
|
23
52
|
```bash
|
|
24
53
|
uv tool install workforge
|
|
25
54
|
workforge --help
|
|
26
55
|
```
|
|
27
56
|
|
|
28
|
-
|
|
57
|
+
Upgrade or remove this installation with:
|
|
29
58
|
|
|
30
59
|
```bash
|
|
31
|
-
|
|
60
|
+
uv tool upgrade workforge
|
|
61
|
+
uv tool uninstall workforge
|
|
32
62
|
```
|
|
33
63
|
|
|
34
64
|
`pipx` provides an equivalent isolated installation:
|
|
@@ -40,17 +70,10 @@ pipx install workforge
|
|
|
40
70
|
Plain `pip install workforge` is supported but is not the recommended default
|
|
41
71
|
because it can mix WorkForge dependencies with another Python environment.
|
|
42
72
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
uv tool install workforge==2.4.1
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Upgrade or remove the CLI with:
|
|
73
|
+
Pin a persistent installation when reproducibility matters:
|
|
50
74
|
|
|
51
75
|
```bash
|
|
52
|
-
uv tool
|
|
53
|
-
uv tool uninstall workforge
|
|
76
|
+
uv tool install workforge==X.Y.Z
|
|
54
77
|
```
|
|
55
78
|
|
|
56
79
|
## First use
|
|
@@ -58,12 +81,15 @@ uv tool uninstall workforge
|
|
|
58
81
|
Create a workspace inside the project that WorkForge will manage:
|
|
59
82
|
|
|
60
83
|
```bash
|
|
61
|
-
workforge init .workforge \
|
|
84
|
+
uvx workforge init .workforge \
|
|
62
85
|
--name my-project \
|
|
63
86
|
--provider github \
|
|
64
87
|
--namespace organization/repository
|
|
65
88
|
```
|
|
66
89
|
|
|
90
|
+
The generated `.workforge/README.md` explains how to create provider items from
|
|
91
|
+
a Markdown requirement or discover and continue existing items using `uvx`.
|
|
92
|
+
|
|
67
93
|
Keep credentials and generated output out of version control:
|
|
68
94
|
|
|
69
95
|
```gitignore
|
|
@@ -75,19 +101,19 @@ Copy `.workforge/.env.example` to `.workforge/.env`, add the selected provider's
|
|
|
75
101
|
credentials, and validate them before performing writes:
|
|
76
102
|
|
|
77
103
|
```bash
|
|
78
|
-
workforge providers test --workspace .workforge --provider github
|
|
104
|
+
uvx workforge providers test --workspace .workforge --provider github
|
|
79
105
|
```
|
|
80
106
|
|
|
81
107
|
Place Markdown requirements in `.workforge/inbox/`. Preview them first:
|
|
82
108
|
|
|
83
109
|
```bash
|
|
84
|
-
workforge preview .workforge/inbox/requirements.md --workspace .workforge
|
|
110
|
+
uvx workforge preview .workforge/inbox/requirements.md --workspace .workforge
|
|
85
111
|
```
|
|
86
112
|
|
|
87
113
|
Create external planning items only after reviewing the preview:
|
|
88
114
|
|
|
89
115
|
```bash
|
|
90
|
-
workforge create .workforge/inbox/requirements.md \
|
|
116
|
+
uvx workforge create .workforge/inbox/requirements.md \
|
|
91
117
|
--workspace .workforge \
|
|
92
118
|
--provider github \
|
|
93
119
|
--execute \
|