mindforge-cc 1.0.0 → 1.0.1

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bin/installer-core.js +3 -3
  3. package/bin/wizard/setup-wizard.js +1 -1
  4. package/package.json +18 -2
  5. package/.forge/org/CONVENTIONS.md +0 -0
  6. package/.forge/org/ORG.md +0 -0
  7. package/.forge/org/SECURITY.md +0 -0
  8. package/.forge/org/TOOLS.md +0 -0
  9. package/.forge/personas/analyst.md +0 -0
  10. package/.forge/personas/architect.md +0 -0
  11. package/.forge/personas/debug-specialist.md +0 -0
  12. package/.forge/personas/developer.md +0 -26
  13. package/.forge/personas/qa-engineer.md +0 -0
  14. package/.forge/personas/release-manager.md +0 -0
  15. package/.forge/personas/security-reviewer.md +0 -33
  16. package/.forge/personas/tech-writer.md +0 -0
  17. package/.forge/skills/api-design/SKILL.md +0 -0
  18. package/.forge/skills/code-quality/SKILL.md +0 -0
  19. package/.forge/skills/documentation/SKILL.md +0 -0
  20. package/.forge/skills/security-review/SKILL.md +0 -23
  21. package/.forge/skills/testing-standards/SKILL.md +0 -27
  22. package/.github/workflows/mindforge-ci.yml +0 -224
  23. package/.gitlab-ci-mindforge.yml +0 -18
  24. package/eslint.config.mjs +0 -31
  25. package/implementation-roadmap/day-1-imp/DAY1-HARDEN.md +0 -823
  26. package/implementation-roadmap/day-1-imp/DAY1-IMPLEMENT.md +0 -2459
  27. package/implementation-roadmap/day-1-imp/DAY1-REVIEW.md +0 -288
  28. package/implementation-roadmap/day-2-imp/DAY2-HARDEN.md +0 -954
  29. package/implementation-roadmap/day-2-imp/DAY2-IMPLEMENT.md +0 -2347
  30. package/implementation-roadmap/day-2-imp/DAY2-REVIEW.md +0 -422
  31. package/implementation-roadmap/day-3-imp/DAY3-HARDEN.md +0 -870
  32. package/implementation-roadmap/day-3-imp/DAY3-IMPLEMENT.md +0 -2798
  33. package/implementation-roadmap/day-3-imp/DAY3-REVIEW.md +0 -484
  34. package/implementation-roadmap/day-4-imp/DAY4-HARDEN.md +0 -1087
  35. package/implementation-roadmap/day-4-imp/DAY4-IMPLEMENT.md +0 -2874
  36. package/implementation-roadmap/day-4-imp/DAY4-REVIEW.md +0 -386
  37. package/implementation-roadmap/day-5-imp/DAY5-HARDEN.md +0 -1078
  38. package/implementation-roadmap/day-5-imp/DAY5-IMPLEMENT.md +0 -3151
  39. package/implementation-roadmap/day-5-imp/DAY5-REVIEW.md +0 -345
  40. package/implementation-roadmap/day-6-imp/DAY6-COMPLETE.md +0 -3919
  41. package/implementation-roadmap/day-7-imp-prod/DAY7-PRODUCTION-FINAL.md +0 -4513
  42. package/sdk/README.md +0 -69
  43. package/sdk/eslint.config.mjs +0 -34
  44. package/sdk/package-lock.json +0 -1507
  45. package/sdk/package.json +0 -30
  46. package/sdk/src/client.ts +0 -133
  47. package/sdk/src/commands.ts +0 -63
  48. package/sdk/src/events.ts +0 -166
  49. package/sdk/src/index.ts +0 -22
  50. package/sdk/src/types.ts +0 -87
  51. package/sdk/tsconfig.json +0 -13
  52. package/tests/audit.test.js +0 -206
  53. package/tests/ci-mode.test.js +0 -162
  54. package/tests/compaction.test.js +0 -161
  55. package/tests/distribution.test.js +0 -205
  56. package/tests/e2e.test.js +0 -618
  57. package/tests/governance.test.js +0 -130
  58. package/tests/install.test.js +0 -209
  59. package/tests/integrations.test.js +0 -128
  60. package/tests/intelligence.test.js +0 -117
  61. package/tests/metrics.test.js +0 -96
  62. package/tests/migration.test.js +0 -309
  63. package/tests/production.test.js +0 -416
  64. package/tests/sdk.test.js +0 -200
  65. package/tests/skills-platform.test.js +0 -403
  66. package/tests/wave-engine.test.js +0 -338
package/sdk/README.md DELETED
@@ -1,69 +0,0 @@
1
- # @mindforge/sdk
2
-
3
- TypeScript SDK for embedding MindForge in tools, dashboards, and CI pipelines.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @mindforge/sdk
9
- ```
10
-
11
- ## Quick start
12
-
13
- ```typescript
14
- import { MindForgeClient } from '@mindforge/sdk';
15
-
16
- const client = new MindForgeClient({
17
- projectRoot: '/path/to/project',
18
- apiKey: process.env.ANTHROPIC_API_KEY,
19
- });
20
-
21
- // Health check
22
- const health = await client.health();
23
- console.log(health.overallStatus); // 'healthy' | 'warning' | 'error'
24
-
25
- // Read audit log
26
- const findings = client.readAuditLog({ event: 'security_finding' });
27
- console.log(findings);
28
-
29
- // Read metrics
30
- const metrics = client.readSessionMetrics(5);
31
- console.log(metrics);
32
- ```
33
-
34
- ## Real-time event streaming
35
-
36
- ```typescript
37
- import { MindForgeEventStream } from '@mindforge/sdk';
38
-
39
- const stream = new MindForgeEventStream();
40
- await stream.start(7337);
41
- stream.watchAuditLog('/path/to/project');
42
-
43
- // Subscribe from browser or tool:
44
- const es = new EventSource('http://localhost:7337/events');
45
- es.addEventListener('audit_entry', (e) => {
46
- const entry = JSON.parse(e.data);
47
- if (entry.event === 'task_completed') {
48
- console.log('Task done:', entry.task_name);
49
- }
50
- });
51
- ```
52
-
53
- ## Config validation
54
-
55
- ```typescript
56
- const { valid, errors } = client.validateConfig();
57
- if (!valid) console.error(errors);
58
- ```
59
-
60
- ## Security notes
61
-
62
- - `HANDOFF.json` may contain sensitive project state. Do not expose it to untrusted clients
63
- or log its contents in external systems.
64
- - The SDK operates on local files and provides no network authentication. Do not expose SDK
65
- endpoints to the public internet.
66
-
67
- ## TypeScript support
68
-
69
- Full type definitions included. No `@types/` package needed.
@@ -1,34 +0,0 @@
1
- import js from "@eslint/js";
2
- import tseslint from "typescript-eslint";
3
- import globals from "globals";
4
-
5
- /** @type {import('eslint').Linter.Config[]} */
6
- export default tseslint.config(
7
- js.configs.recommended,
8
- ...tseslint.configs.recommended,
9
- {
10
- languageOptions: {
11
- ecmaVersion: "latest",
12
- sourceType: "module",
13
- globals: {
14
- ...globals.node,
15
- ...globals.es2021
16
- }
17
- },
18
- files: ["**/*.ts"],
19
- rules: {
20
- "@typescript-eslint/no-explicit-any": "warn",
21
- "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
22
- "semi": ["error", "always"],
23
- "quotes": ["error", "single"],
24
- "no-console": "off"
25
- }
26
- },
27
- {
28
- ignores: [
29
- "dist/",
30
- "node_modules/",
31
- "**/tests/*.js"
32
- ]
33
- }
34
- );