feat(plugins,organization): system types as a plug-in kind (REQ-SYS-1, #1873) #1890

Merged
jason.woltje merged 2 commits from org-sys1 into refactor 2026-11-10 00:56:45 +00:00
Owner

REQ-SYS-1 (PRD 1.20, #1873): system types as a plug-in kind.

  • New system-type kind with five modules (business-management, coding, creative-writing, marketing, montage). Montage keeps the stable id; its label lives in the module. Each declares an empty toolsets list; REQ-SYS-2 toolsets are deferred.
  • An org enables types in plugins.system-type (missing means none); unknown ids fail closed. Projects choose from the enabled set through project.system-types.set, owner-only, with an append-only trail (migration 3t-3u, table project_system_types).
  • Read verbs: mosaic org system-types installed|enabled, mosaic project system-types|system-types-set.

Review: Sol CHANGES 1/2/0 on a9629f332. Lead fix 2c6556ab1: project_system_types joins the restore guard (COUNTED, LISTED, refusal and recount tests); the CLI channel admits both project verbs (new run() test, 1/1 red without it); the migration-reader pin moves to 19 steps.

Gate: 349 files on a9629f332, 4040 pass, 5 fail: stack-release 2 (fixed, 228/0 on the fix) and tester-reads 3 (same three fail on 1616d1dd6; project.mjs:95 refuses an org --tester init, follow-up). Fix files 323/0. Rebased on U1 d35447005 (org.mjs usage conflict, both kept); overlap files 63/0.

REQ-SYS-1 (PRD 1.20, #1873): system types as a plug-in kind. - New `system-type` kind with five modules (business-management, coding, creative-writing, marketing, montage). Montage keeps the stable id; its label lives in the module. Each declares an empty toolsets list; REQ-SYS-2 toolsets are deferred. - An org enables types in `plugins.system-type` (missing means none); unknown ids fail closed. Projects choose from the enabled set through `project.system-types.set`, owner-only, with an append-only trail (migration 3t-3u, table project_system_types). - Read verbs: `mosaic org system-types installed|enabled`, `mosaic project system-types|system-types-set`. Review: Sol CHANGES 1/2/0 on a9629f332. Lead fix 2c6556ab1: project_system_types joins the restore guard (COUNTED, LISTED, refusal and recount tests); the CLI channel admits both project verbs (new run() test, 1/1 red without it); the migration-reader pin moves to 19 steps. Gate: 349 files on a9629f332, 4040 pass, 5 fail: stack-release 2 (fixed, 228/0 on the fix) and tester-reads 3 (same three fail on 1616d1dd6; project.mjs:95 refuses an org --tester init, follow-up). Fix files 323/0. Rebased on U1 d35447005 (org.mjs usage conflict, both kept); overlap files 63/0.
jason.woltje added 2 commits 2026-11-10 00:56:36 +00:00
Adds the system-type kind with five modules (coding, creative-writing,
marketing, montage, business-management), an org-level enabled list
validated fail-closed, project selections limited to the org's list,
read verbs, and bus migration 3t-3u. REQ-SYS-2 toolsets are designed and
deferred: they need a role authority contract.
Sol review sys1-review-r1 (changes 3):
- P1: project_system_types joins stack-release.sh COUNTED and the T45 LISTED pin; the
  post-backup refusal and in-run recount tests now cover it.
- P2: the CLI channel admits project.system-types and project.system-types.set; a new test
  drives both through run() and the real channel module (1/1 red without the fix).
- P2: the #811 migration-reader pin moves to 19 steps ending 3t-3u.
jason.woltje merged commit 2c6556ab1e into refactor 2026-11-10 00:56:45 +00:00
Sign in to join this conversation.