You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fedff8e
Browse filesBrowse the repository at this point in the historyBrowse files
project board: a recorded meeting shows the day it was opened or decided
The board read model sent every meeting stamp through Date.parse, which accepts
only strings, while the meetings writer stores Date.now() epoch milliseconds —
so a meeting the product itself recorded listed with an empty date column beside
decision files that showed their YYYY-MM-DD day. A finite number is now the
instant, and both kinds format by the writer's own UTC day, so a meeting and its
archived decisions/YYYY-MM-DD-*.md always name the same day. A non-parseable
string still reads as no date (#2587); this fixes#3326.
A meeting the Project recorded now shows the day it was opened or decided in the Project board's Meetings and Decisions lists, instead of an empty date column: the board reads the epoch-millisecond stamp the meetings writer stores, not only a readable date string ([#3326](https://github.com/ThinkFlowLab/FlyBot/issues/3326)).
Copy file name to clipboardExpand all lines: docs/subsystems/project.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ package owns everything that reads or acts on that record.
48
48
|`plugins/project/src/install.js`| Puts the seams on the runtime in the core's old `MODULES` order — state reader, Chief, board, dossier, assistant — and marks the runtime so a second `apply()` is a no-op (a second `ctx.tools.register` of the same name would fail the whole plugin). |
49
49
|`plugins/project/src/host.js`| The helpers this package takes from its host, read at call time so a module-scope arrow (`oneLine`, `capped`) sees the binding: `cut`, `codePoints`, `dirKind`, `defineTool`, `output`, `columnOf`, `priorityOf`, `advanceRefusal`, `workDirFor`, `dayKey`, `MAX_ENTRY`, `ASSISTANT_ROLE` and the quiet-hours reads. `REQUIRED` is the whole list; a host that binds a partial bag fails at `apply()` naming the missing helper. |
50
50
|`plugins/project/src/project-state.js`| The `project_state` tool: the Project State files of the Session working folder (`PROJECT.md`, `ROADMAP.md`, `docs/governance.md`, `decisions/*.md`, `LESSONS.md`), listed with byte size, a sha256 content hash and mtime, or one file whole up to 200,000 bytes. Answers `absent`, `too large`, `not a repository` or `unreadable: <path> (<reason>)` with the reason instead of an empty document; a decision name is one segment under `decisions/` ending in `.md` (`isDecisionPath`), read through `lstat` so a symlink answers absent, and `decisions/` itself must be a real directory (#2055, #2037, #2041, #2461). |
51
-
|`plugins/project/src/project-board.js`| The board read model (#1696): `state.tasks`, `state.meetings`, the `decisions/*.md` files and the Project bindings, with the workflow run refs read through the core's provider seam (`rt.onProjectProvider`). Read-only by construction; it writes nothing. Carries the role policy (`rolesOf`, `roleOf`, `roleChoices`, `changeRole` — one Owner, nobody promotes themselves, a Project always keeps its Owner), the queue/lease/blocked groups and the decision card (`decisionCardOf`, `advanceRefusal`). An empty decisions/meetings section carries `empty` beside its `reason` (#2984): `{ key, params }` with the folder as `{dir}`, so the page can say the case in the window's language — `reason` stays the host's own English sentence for whoever reads the read model. |
51
+
| `plugins/project/src/project-board.js` | The board read model (#1696): `state.tasks`, `state.meetings`, the `decisions/*.md` files and the Project bindings, with the workflow run refs read through the core's provider seam (`rt.onProjectProvider`). Read-only by construction; it writes nothing. Carries the role policy (`rolesOf`, `roleOf`, `roleChoices`, `changeRole` — one Owner, nobody promotes themselves, a Project always keeps its Owner), the queue/lease/blocked groups and the decision card (`decisionCardOf`, `advanceRefusal`). An empty decisions/meetings section carries `empty` beside its `reason` (#2984): `{ key, params }` with the folder as `{dir}`, so the page can say the case in the window's language — `reason` stays the host's own English sentence for whoever reads the read model. A meeting's date is the writer's own stamp (`decidedAt` / `createdAt`, `Date.now()` epoch milliseconds or a readable string) formatted as the same UTC day the archived `decisions/YYYY-MM-DD-*.md` carries; a value that does not parse reads as no date (#2587, #3326). |
52
52
|`plugins/project/src/project-chief.js`| The Project Chief (#1859): one hidden Bot per Project, named `Project Chief (<name>)`, bound with `bindProject` and given instructions that name that one Project and forbid answering for any other; retired through the host's own `deleteBot` with the Project. `rt.projectChief` is `{ create, chiefOf, remove }`. |
53
53
|`plugins/project/src/project-team.js`| The team dossier (#1864), read-only: `rt.projectTeam(projectId)` answers `{ rows }` in the board's order — the Chief, the assistant, then `roles.maintainers` / `roles.members` — with persona (the Bot's instructions), the head and topic names of its own memory, its skills and only this Project's rooms. Every string and list is capped and a deleted Bot is a `null` row, never an error for the whole answer. |
54
54
|`plugins/project/src/project-metrics.js`| The board's seven numbers (#1829) read from GitHub REST and the local task store, with a five-minute cache and one honest failure answer: a missing credential or an unreadable source is `unavailable` and every value reads `null`, never `0`. The lists are followed page by page under a cap (#2650), a foreign host is never followed with the token, and the day boundary is the caller's zone (`resolveTimeZone`) rather than the host's UTC clock. Its day key is `core/src/host/day-key.js` since #2830. |
0 commit comments