teamshare-bridge 0.22.16 → 0.22.18

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: teamshare-cdd
3
- description: Documents-driven development for TeamShare. Before any code, find and read the project's documents in the Documents tab (virtual folders: docs/, agents/<you>/tasks/<taskId>/). Write plan.md BEFORE starting, keep progress.md/notes updated while working (update_document_note), and close with summary.md. Uploads and markdown notes live in Cloudinary-backed virtual folders, never loose files.
3
+ description: Documents-driven development for TeamShare. Before any code, find and read the project's documents in the Documents tab (virtual folders: docs/, agents/<you>/tasks/<taskId>/). Write the task-titled plan note BEFORE starting, keep progress.md/notes updated while working (update_document_note), and close with summary.md. Uploads and markdown notes live in Cloudinary-backed virtual folders, never loose files.
4
4
  ---
5
5
 
6
6
  # TeamShare Documents-Driven Development (CDD)
@@ -26,7 +26,10 @@ agents/
26
26
  └── <agent-slug>/ <- ONE folder per agent (short, stable slug)
27
27
  └── tasks/
28
28
  └── <taskId>/ <- per-task workspace
29
- ├── plan.md <- written BEFORE starting the work
29
+ ├── <task-slug>-plan.md <- written BEFORE starting the work
30
+ │ (named from the task title, NEVER a bare
31
+ │ `plan.md` — six tasks must not produce six
32
+ │ identical filenames)
30
33
  ├── progress.md <- updated while working (or rely on subtasks)
31
34
  └── summary.md <- written on completion
32
35
  reports/ <- milestone reports (optional)
@@ -38,8 +41,10 @@ Rules that are not optional:
38
41
  - **Lowercase** folder paths; no spaces, no leading/trailing slashes.
39
42
  - **One folder per agent, one subfolder per task.** Never write outside your
40
43
  own folder except into `docs/**` when you add shared knowledge.
41
- - Document names are unique enough to be obvious (`plan.md`, `progress.md`,
42
- `summary.md`, `adr-001-auth-rbac.md`).
44
+ - Document names are unique enough to be obvious (`<task-slug>-plan.md`,
45
+ `progress.md`, `summary.md`, `adr-001-auth-rbac.md`). A plan note named
46
+ exactly `plan.md` is forbidden: with N tasks the Documents tab shows N
47
+ identical rows and nobody can tell which plan belongs to which task.
43
48
 
44
49
  ## The workflow — three gates
45
50
 
@@ -57,13 +62,17 @@ Rules that are not optional:
57
62
  your implementation (same way `docs/api-contract.md` and
58
63
  `docs/ui-style-guide.md` govern TeamShare's repos).
59
64
  4. Read your own task folder if this is a `--continue`/resumed session.
60
- 5. **Write `plan.md` FIRST** via `create_document`: goal, decisions, files to
61
- touch, step list. No code until the plan note exists.
65
+ 5. **Write the plan note FIRST** via `create_document`: goal, decisions, files to
66
+ touch, step list. Name it `<task-slug>-plan.md` from the task title
67
+ (lowercase, words joined with `-`, e.g. `fix-login-redirect-plan.md`) —
68
+ never a bare `plan.md`. On a re-plan, list the folder first and reuse the
69
+ existing `*-plan.md` name so it versions in place. No code until the plan
70
+ note exists.
62
71
  6. **Move the task to `in_progress`** via `update_task` — you are now working it.
63
72
 
64
73
  ### DO (while working)
65
74
  7. Check off subtasks (`update_subtask done: true`) and update
66
- `progress.md`/`plan.md` via `update_document_note` as you go — the human
75
+ `progress.md`/the plan note via `update_document_note` as you go — the human
67
76
  watches the app.
68
77
  8. **Checklist items — ALWAYS list first.** Before creating checklist items,
69
78
  call `list_checklist_items` (pass `taskId` or `subtaskId`) to see what
@@ -82,7 +91,7 @@ Rules that are not optional:
82
91
  12. Write `summary.md`: what you built, why, how it maps to the plan, links to
83
92
  related docs, follow-ups.
84
93
  13. Post the closing comment referencing the summary doc.
85
- 14. Never leave a task without `plan.md` + `summary.md` notes.
94
+ 14. Never leave a task without a plan note + `summary.md` notes.
86
95
  15. **Git is the runner's job.** After your session the bridge automatically
87
96
  commits everything in the working tree on branch
88
97
  `teamshare/<taskId8>`, pushes it and opens a pull request — so do NOT
@@ -160,8 +169,8 @@ run, the following rules apply ON TOP of everything above:
160
169
  `readyForDev=true AND status=open` tasks (plus blocked in-progress ones).
161
170
  - **Strict order, full completion.** Work the queue in exact order — never
162
171
  pick a later task while an earlier one is open. Do not move on until the
163
- current task is genuinely complete: build passes, `plan.md` written first,
164
- subtasks checked off, `summary.md` written, status moved to `in_review`.
172
+ current task is genuinely complete: build passes, plan note written first,
173
+ subtasks checked off, `summary.md` written, status moved to `in_review`.
165
174
  - **Failure protocol (never block the queue).** If a task cannot be finished,
166
175
  the BUILD LOOP (not you) handles it: it leaves a `[question]` comment on the
167
176
  task (marked with the literal prefix `[question]`) and a message in the
@@ -172,8 +181,9 @@ run, the following rules apply ON TOP of everything above:
172
181
  - `readyForDev: true` so they enter the queue,
173
182
  - increasing `sortOrder` (1, 2, 3, ...) so they are worked strictly in order,
174
183
  - dependencies first (a task that unblocks others comes before them),
175
- - write the plan into `agents/<your-slug>/tasks/<taskId>/plan.md` per task,
176
- and a shared `docs/guides/build-plan.md` note summarizing the order.
184
+ - write the plan into `agents/<your-slug>/tasks/<taskId>/<task-slug>-plan.md`
185
+ per task (named from the task title, never bare `plan.md`),
186
+ and a shared `docs/guides/build-plan.md` note summarizing the order.
177
187
  - **Progress signals.** Push the task to `in_progress` when you start it and
178
188
  `in_review` when done — the build loop watches status to decide
179
189
  done vs. failed, so a task left in `in_progress` at the end of a session is