@rashidee/co2 1.2.6 → 1.3.2
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/dist/.co2-dat/app.db +0 -0
- package/dist/.co2-dat/app.db-shm +0 -0
- package/dist/.co2-dat/app.db-wal +0 -0
- package/dist/.co2-dat/config.json +4 -0
- package/dist/index.js +5303 -3139
- package/drizzle/0011_workflow_history_v152.sql +5 -0
- package/drizzle/0012_prd_sections_v160.sql +14 -0
- package/drizzle/0013_brainstorm_sessions_v170.sql +10 -0
- package/drizzle/0014_bug_module_v180.sql +4 -0
- package/drizzle/0015_project_config_v190.sql +23 -0
- package/drizzle/0016_cicd_v2100.sql +22 -0
- package/drizzle/meta/_journal.json +42 -0
- package/package.json +1 -1
- package/plugin/README.md +2 -0
- package/plugin/SKILLS.md +417 -350
- package/plugin/skills/conductor-feature-develop/SKILL.md +1 -1
- package/plugin/skills/conductor-feature-prepare/SKILL.md +23 -3
- package/plugin/skills/depgen-k8s/SKILL.md +1 -1
- package/plugin/skills/tracegen-matrix/SKILL.md +1 -1
- package/plugin/skills/util-gencicdscript/SKILL.md +91 -0
- package/plugin/skills/util-gencicdscript/references/cicd-app-template.md +414 -0
- package/plugin/skills/util-plancicd/SKILL.md +130 -0
- package/plugin/skills/util-projectinit/SKILL.md +1 -1
- package/plugin/skills/util-projectsync/SKILL.md +1 -1
- package/plugin/skills/util-updprd/SKILL.md +85 -15
- package/plugin/skills/util-usanalyzer/SKILL.md +1 -1
- package/plugin/skills/util-ustagger/SKILL.md +1 -1
- package/static/assets/{abnfDiagram-VRR7QNED-DvPuwyCV.js → abnfDiagram-VRR7QNED-CN4J6j_u.js} +1 -1
- package/static/assets/{arc-DRKw7sjs.js → arc-N4fM3ZWM.js} +1 -1
- package/static/assets/{architectureDiagram-ZJ3FMSHR-CaNcxUbC.js → architectureDiagram-ZJ3FMSHR-uch_sUft.js} +1 -1
- package/static/assets/{blockDiagram-677ZJIJ3-Demd4AOK.js → blockDiagram-677ZJIJ3-B8ciSHmI.js} +1 -1
- package/static/assets/{c4Diagram-LMCZKHZV-PVKUfc2x.js → c4Diagram-LMCZKHZV-CQcm-uRR.js} +1 -1
- package/static/assets/channel-D1lJ_RG1.js +1 -0
- package/static/assets/{chunk-2Q5K7J3B-CExf8ww_.js → chunk-2Q5K7J3B-CKyyGyMe.js} +1 -1
- package/static/assets/{chunk-32BRIVSS-CFPaoONF.js → chunk-32BRIVSS-BUvhUzbF.js} +1 -1
- package/static/assets/{chunk-5VM5RSS4-DE2esM67.js → chunk-5VM5RSS4-DeYPG9gz.js} +1 -1
- package/static/assets/{chunk-EX3LRPZG-SON_YdDG.js → chunk-EX3LRPZG-M5DW3NIE.js} +1 -1
- package/static/assets/{chunk-JWPE2WC7-Qxah8LNr.js → chunk-JWPE2WC7-DdUQGRCV.js} +1 -1
- package/static/assets/{chunk-MOJQB5TN-BcWGQV3j.js → chunk-MOJQB5TN-BjTWQfa-.js} +1 -1
- package/static/assets/{chunk-RYQCIY6F-DkDj-OR5.js → chunk-RYQCIY6F-B6eqE68w.js} +1 -1
- package/static/assets/{chunk-V7JOEXUC-BlI1Mrah.js → chunk-V7JOEXUC-31fpjmeh.js} +1 -1
- package/static/assets/{chunk-VR4S4FIN-Agf__duj.js → chunk-VR4S4FIN-DIdhgHxJ.js} +1 -1
- package/static/assets/{chunk-XXDRQBXY-B5CfAh85.js → chunk-XXDRQBXY-CwmvQsRd.js} +1 -1
- package/static/assets/classDiagram-OUVF2IWQ-B2LV6Dty.js +1 -0
- package/static/assets/classDiagram-v2-EOCWNBFH-B2LV6Dty.js +1 -0
- package/static/assets/{cose-bilkent-JH36ORCC-DO0cQkcy.js → cose-bilkent-JH36ORCC-0fxMNvxl.js} +1 -1
- package/static/assets/{cynefin-VYW2F7L2-CfOnsnXc.js → cynefin-VYW2F7L2-CykGMMcJ.js} +1 -1
- package/static/assets/{cynefinDiagram-TSTJHNR4-BJ8tULAv.js → cynefinDiagram-TSTJHNR4-CXA1U39p.js} +1 -1
- package/static/assets/{dagre-VKFMJZFB-DfjwzHqP.js → dagre-VKFMJZFB-Bw5XMtDI.js} +1 -1
- package/static/assets/{diagram-FQU43EPY-CndSOIIM.js → diagram-FQU43EPY-xte6N075.js} +1 -1
- package/static/assets/{diagram-G47NLZAW-Czf5hN0Z.js → diagram-G47NLZAW-CHoRtp3z.js} +1 -1
- package/static/assets/{diagram-NH7WQ7WH-COAyojGh.js → diagram-NH7WQ7WH-CEFlTlPg.js} +1 -1
- package/static/assets/{diagram-OA4YK3LP-H8PoiN2m.js → diagram-OA4YK3LP-DJ0JX9s2.js} +1 -1
- package/static/assets/{diagram-WEI45ONY-DzcaVzjp.js → diagram-WEI45ONY-BRfCVtnm.js} +1 -1
- package/static/assets/{ebnfDiagram-CCIWWBDH-DPazGYLJ.js → ebnfDiagram-CCIWWBDH-Cc-dcKTE.js} +1 -1
- package/static/assets/{erDiagram-Q63AITRT-Bo-fubgF.js → erDiagram-Q63AITRT-DLZsu__O.js} +1 -1
- package/static/assets/{flowDiagram-23GEKE2U-CSvxUDwh.js → flowDiagram-23GEKE2U-Cczq8RCz.js} +1 -1
- package/static/assets/{ganttDiagram-NO4QXBWP-DnBveWX6.js → ganttDiagram-NO4QXBWP-DOXGNB5h.js} +1 -1
- package/static/assets/{gitGraphDiagram-IHSO6WYX-B3rVL8c-.js → gitGraphDiagram-IHSO6WYX-BM-SCSXa.js} +1 -1
- package/static/assets/{index-y7XDSgMG.js → index-CBLEvyTD.js} +172 -171
- package/static/assets/{index-LZSQkLE2.css → index-Dn_JY-18.css} +1 -1
- package/static/assets/{infoDiagram-FWYZ7A6U-CvWV9yy2.js → infoDiagram-FWYZ7A6U-dJDRFcA8.js} +1 -1
- package/static/assets/{ishikawaDiagram-FXEZZL3T-DF28a1N6.js → ishikawaDiagram-FXEZZL3T-VxLIIU05.js} +1 -1
- package/static/assets/{journeyDiagram-5HDEW3XC-CB6CugYk.js → journeyDiagram-5HDEW3XC-EvtzKlzP.js} +1 -1
- package/static/assets/{kanban-definition-HUTT4EX6-ResSLF6d.js → kanban-definition-HUTT4EX6-yO62k9Tr.js} +1 -1
- package/static/assets/{linear-CLO--ryk.js → linear-DZzMubPw.js} +1 -1
- package/static/assets/{mindmap-definition-LN4V7U3C-BvW3EbxX.js → mindmap-definition-LN4V7U3C-BRO6imMR.js} +1 -1
- package/static/assets/{pegDiagram-2B236MQR-BHCgqrrM.js → pegDiagram-2B236MQR-DJR3fTw9.js} +1 -1
- package/static/assets/{pieDiagram-ENE6RG2P-DVmCQ5FA.js → pieDiagram-ENE6RG2P-9mFM-_RT.js} +1 -1
- package/static/assets/{quadrantDiagram-ABIIQ3AL-B3e5KR52.js → quadrantDiagram-ABIIQ3AL-BEsVn0Kx.js} +1 -1
- package/static/assets/{railroadDiagram-RFXS5EU6-Csv5ysLc.js → railroadDiagram-RFXS5EU6-D9Mp7Mil.js} +1 -1
- package/static/assets/{requirementDiagram-TGXJPOKE-DOMVzvnB.js → requirementDiagram-TGXJPOKE-CRYcxiHN.js} +1 -1
- package/static/assets/{sankeyDiagram-HTMAVEWB-B1dcTOvy.js → sankeyDiagram-HTMAVEWB-9MJPBNY-.js} +1 -1
- package/static/assets/{sequenceDiagram-DBY2YBRQ-BY414yeO.js → sequenceDiagram-DBY2YBRQ-CSAt7g1a.js} +1 -1
- package/static/assets/{sizeCapture-X5ZJPWSS-CuJfrfBN.js → sizeCapture-X5ZJPWSS-DQ7t3sAl.js} +1 -1
- package/static/assets/{stateDiagram-2N3HPSRC-FX4rJkzV.js → stateDiagram-2N3HPSRC-B314IVUq.js} +1 -1
- package/static/assets/stateDiagram-v2-6OUMAXLB-C5_r7hRR.js +1 -0
- package/static/assets/{swimlanes-5IMT3BWC-Sfy58mmv.js → swimlanes-5IMT3BWC-gCXbGpn-.js} +2 -2
- package/static/assets/swimlanesDiagram-G3AALYLV-BkEgKJGN.js +8 -0
- package/static/assets/{timeline-definition-FHXFAJF6-CmV7by8p.js → timeline-definition-FHXFAJF6-Ypa-zz8f.js} +1 -1
- package/static/assets/{vennDiagram-L72KCM5P-FqIyFZFt.js → vennDiagram-L72KCM5P-C07T1tIJ.js} +1 -1
- package/static/assets/{wardleyDiagram-EHGQE667-BZ06O45i.js → wardleyDiagram-EHGQE667-DwsMVlwx.js} +1 -1
- package/static/assets/{xychartDiagram-FW5EYKEG-BOkffR06.js → xychartDiagram-FW5EYKEG-BCtXbdXL.js} +1 -1
- package/static/index.html +2 -2
- package/plugin/skills/util-preparek8senv/SKILL.md +0 -422
- package/static/assets/channel-C2nVbuwv.js +0 -1
- package/static/assets/classDiagram-OUVF2IWQ-DXJIljsR.js +0 -1
- package/static/assets/classDiagram-v2-EOCWNBFH-DXJIljsR.js +0 -1
- package/static/assets/stateDiagram-v2-6OUMAXLB-BVufbO_H.js +0 -1
- package/static/assets/swimlanesDiagram-G3AALYLV-wDCDw08H.js +0 -8
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
-- Workflow history [BUG-032]: run-history rows backfilled from an application's CHANGELOG.md
|
|
2
|
+
-- store the application name here. Such rows deliberately carry NO conductor_runs (phase
|
|
3
|
+
-- gates / QA gates / version rollups must never see them); file_path points at the
|
|
4
|
+
-- CHANGELOG.md the row was read from. NULL on rows created by the normal execution flow.
|
|
5
|
+
ALTER TABLE `wfe_workflow_markdowns` ADD `imported_app_name` text;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
-- Fixed PRD document sections [v1.6.0]: Design System / Architecture Principle /
|
|
2
|
+
-- High Level Process Flow. One current markdown blob per (application, section_type) —
|
|
3
|
+
-- NOT version-tabbed (unlike prd_requirements). Edited from the Context Authoring
|
|
4
|
+
-- "Reference" group; parsed from PRD.md on import and emitted by buildPrdMd before
|
|
5
|
+
-- `# System Module` on regeneration.
|
|
6
|
+
CREATE TABLE `prd_sections` (
|
|
7
|
+
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
8
|
+
`application_id` integer NOT NULL,
|
|
9
|
+
`section_type` text NOT NULL,
|
|
10
|
+
`content` text DEFAULT '' NOT NULL,
|
|
11
|
+
`created_at` text NOT NULL,
|
|
12
|
+
`updated_at` text NOT NULL
|
|
13
|
+
);--> statement-breakpoint
|
|
14
|
+
CREATE UNIQUE INDEX `prd_sections_app_type_unique` ON `prd_sections` (`application_id`,`section_type`);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
-- Brainstorm Session v1.7.0 — multiple titled sessions per project.
|
|
2
|
+
-- The Brainstorm module becomes list-first: a project holds MANY sessions (the old
|
|
3
|
+
-- one-session-per-project upsert is gone), each with a user-entered title, an owner
|
|
4
|
+
-- (the member who created/triggered it) and a protocol state synced from the on-disk
|
|
5
|
+
-- document frontmatter (NEW | AWAITING_HUMAN | AWAITING_AGENT | CLOSED | ERROR).
|
|
6
|
+
DROP INDEX IF EXISTS `brainstorm_sessions_project_id_unique`;--> statement-breakpoint
|
|
7
|
+
ALTER TABLE `brainstorm_sessions` ADD `title` text;--> statement-breakpoint
|
|
8
|
+
ALTER TABLE `brainstorm_sessions` ADD `status` text DEFAULT 'NEW';--> statement-breakpoint
|
|
9
|
+
ALTER TABLE `brainstorm_sessions` ADD `created_by` integer;--> statement-breakpoint
|
|
10
|
+
CREATE INDEX `idx_brainstorm_sessions_project` ON `brainstorm_sessions` (`project_id`);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
-- Quality v1.8.0: the generated BUG.md follows the CO2 standard (module sections carrying
|
|
2
|
+
-- [vX.Y.Z] version blocks with `- [BUG-NNN]` bullets), so each report carries the module name
|
|
3
|
+
-- verbatim from the CLAUDE.md registry / imported BUG.md section. NULL → `# Common Module`.
|
|
4
|
+
ALTER TABLE `bug_reports` ADD `module` text;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
-- v1.9.0: Re-scope ENVIRONMENT.md / DEVTOOL.md from the workspace singleton to per-project.
|
|
2
|
+
-- Every project owns its own project_configs row (unique project_id, lazily created on first
|
|
3
|
+
-- access). Existing workspace-level content is copied into every project so no authored
|
|
4
|
+
-- content is lost, then the singleton table is dropped.
|
|
5
|
+
CREATE TABLE `project_configs` (
|
|
6
|
+
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
7
|
+
`project_id` integer NOT NULL,
|
|
8
|
+
`environment_md` text,
|
|
9
|
+
`devtool_md` text,
|
|
10
|
+
`imported_at` text,
|
|
11
|
+
`imported_by` integer,
|
|
12
|
+
`created_at` text NOT NULL,
|
|
13
|
+
`updated_at` text NOT NULL
|
|
14
|
+
);
|
|
15
|
+
--> statement-breakpoint
|
|
16
|
+
CREATE UNIQUE INDEX `project_configs_project_id_unique` ON `project_configs` (`project_id`);
|
|
17
|
+
--> statement-breakpoint
|
|
18
|
+
INSERT INTO `project_configs` (`project_id`, `environment_md`, `devtool_md`, `imported_at`, `imported_by`, `created_at`, `updated_at`)
|
|
19
|
+
SELECT p.`id`, wc.`environment_md`, wc.`devtool_md`, wc.`imported_at`, wc.`imported_by`,
|
|
20
|
+
strftime('%Y-%m-%dT%H:%M:%fZ', 'now'), strftime('%Y-%m-%dT%H:%M:%fZ', 'now')
|
|
21
|
+
FROM `projects` p CROSS JOIN `workspace_config` wc;
|
|
22
|
+
--> statement-breakpoint
|
|
23
|
+
DROP TABLE IF EXISTS `workspace_config`;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
-- v2.1.0: CI/CD Setups — plan -> approve -> generate wizard state, one row per project
|
|
2
|
+
-- (unique index), lazily created on first read. Soft refs only (CONSCO2015); approval is
|
|
3
|
+
-- stamped here AND into CICD_PLAN.md (CONSCO2180); config_fingerprint mirrors
|
|
4
|
+
-- project_configs.updatedAt at generation time, staleness is derived, never stored (CONSCO2183).
|
|
5
|
+
CREATE TABLE `cicd_setups` (
|
|
6
|
+
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
7
|
+
`project_id` integer NOT NULL,
|
|
8
|
+
`status` text DEFAULT 'draft' NOT NULL,
|
|
9
|
+
`plan_request_path` text,
|
|
10
|
+
`plan_requested_at` text,
|
|
11
|
+
`approved_by` integer,
|
|
12
|
+
`approved_at` text,
|
|
13
|
+
`generate_requested_at` text,
|
|
14
|
+
`generated_at` text,
|
|
15
|
+
`config_fingerprint` text,
|
|
16
|
+
`app_port` integer,
|
|
17
|
+
`created_by` integer NOT NULL,
|
|
18
|
+
`created_at` text NOT NULL,
|
|
19
|
+
`updated_at` text NOT NULL
|
|
20
|
+
);
|
|
21
|
+
--> statement-breakpoint
|
|
22
|
+
CREATE UNIQUE INDEX `cicd_setups_project_id_unique` ON `cicd_setups` (`project_id`);
|
|
@@ -78,6 +78,48 @@
|
|
|
78
78
|
"when": 1784100000000,
|
|
79
79
|
"tag": "0010_quality_v151",
|
|
80
80
|
"breakpoints": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"idx": 11,
|
|
84
|
+
"version": "6",
|
|
85
|
+
"when": 1784200000000,
|
|
86
|
+
"tag": "0011_workflow_history_v152",
|
|
87
|
+
"breakpoints": true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"idx": 12,
|
|
91
|
+
"version": "6",
|
|
92
|
+
"when": 1784300000000,
|
|
93
|
+
"tag": "0012_prd_sections_v160",
|
|
94
|
+
"breakpoints": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"idx": 13,
|
|
98
|
+
"version": "6",
|
|
99
|
+
"when": 1784400000000,
|
|
100
|
+
"tag": "0013_brainstorm_sessions_v170",
|
|
101
|
+
"breakpoints": true
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"idx": 14,
|
|
105
|
+
"version": "6",
|
|
106
|
+
"when": 1784500000000,
|
|
107
|
+
"tag": "0014_bug_module_v180",
|
|
108
|
+
"breakpoints": true
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"idx": 15,
|
|
112
|
+
"version": "6",
|
|
113
|
+
"when": 1784600000000,
|
|
114
|
+
"tag": "0015_project_config_v190",
|
|
115
|
+
"breakpoints": true
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"idx": 16,
|
|
119
|
+
"version": "6",
|
|
120
|
+
"when": 1784700000000,
|
|
121
|
+
"tag": "0016_cicd_v2100",
|
|
122
|
+
"breakpoints": true
|
|
81
123
|
}
|
|
82
124
|
]
|
|
83
125
|
}
|
package/package.json
CHANGED
package/plugin/README.md
CHANGED
|
@@ -130,6 +130,8 @@ The skills to invoke the `clean-up` process are:
|
|
|
130
130
|
| util-ustagger | /util-ustagger app1 v1.0.3 | Traceability | Each newly added point in PRD.md will be tagged with a unique 9-character ID code, which can be used for traceability in the later stages of the development. Example: [USL000009], [NFRL000009], [CONL000009], [REFL000009] |
|
|
131
131
|
| util-updprd | /util-updprd "add password reset for all users" | Requirement Change | Applies a free-form requirement change to the PRD.md files across the project. Determines the impacted applications, modules and subsections, decides per item whether to add/cancel/modify User Stories, NFRs, Constraints, References and Tests, auto-classifies the change as major/minor/patch, and layers the new/updated items under a NEW version tag on top of the existing versions in each PRD.md (prior versions kept immutable). Tags new items via util-ustagger and appends a CHANGELOG.md entry per impacted application. |
|
|
132
132
|
| util-preparek8senv | /util-preparek8senv [env] | K8s Infrastructure Preparation | Generates K8s StatefulSet manifests for all 3rd party supporting applications for a single target environment. Creates/updates ENVIRONMENT.md with per-environment configs. Output directly in environment/ folder (no per-environment subfolders — gitignored, each machine maintains its own copy). |
|
|
133
|
+
| util-plancicd | /util-plancicd execution/cicd-plan-3-...md | CI/CD Deployment Planning | Infers a local-deployment plan for every custom application from ENVIRONMENT.md, DEVTOOL.md, CLAUDE.md and each application's SPECIFICATION.md — deployment method, build/start/stop commands, port and health-check per application — and writes cicd/CICD_PLAN.md (Status IN PROGRESS → COMPLETED) for review in Compound Context Studio. Never generates the CI/CD app itself. |
|
|
134
|
+
| util-gencicdscript | /util-gencicdscript cicd/CICD_PLAN.md | CI/CD App Generation | Generates the zero-npm-dependency CI/CD build/run app (cicd/app/server.js + cicd.config.json) from an APPROVED cicd/CICD_PLAN.md — refuses to run unless the plan is Status COMPLETED and carries an Approved: line stamped by the studio. Writes cicd/CICD_GENERATION.md (Status IN PROGRESS → COMPLETED). Idempotent. |
|
|
133
135
|
|
|
134
136
|
## Context Artifact Preparation
|
|
135
137
|
|