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.
- package/CHANGELOG.md +9 -0
- package/bin/installer-core.js +3 -3
- package/bin/wizard/setup-wizard.js +1 -1
- package/package.json +18 -2
- package/.forge/org/CONVENTIONS.md +0 -0
- package/.forge/org/ORG.md +0 -0
- package/.forge/org/SECURITY.md +0 -0
- package/.forge/org/TOOLS.md +0 -0
- package/.forge/personas/analyst.md +0 -0
- package/.forge/personas/architect.md +0 -0
- package/.forge/personas/debug-specialist.md +0 -0
- package/.forge/personas/developer.md +0 -26
- package/.forge/personas/qa-engineer.md +0 -0
- package/.forge/personas/release-manager.md +0 -0
- package/.forge/personas/security-reviewer.md +0 -33
- package/.forge/personas/tech-writer.md +0 -0
- package/.forge/skills/api-design/SKILL.md +0 -0
- package/.forge/skills/code-quality/SKILL.md +0 -0
- package/.forge/skills/documentation/SKILL.md +0 -0
- package/.forge/skills/security-review/SKILL.md +0 -23
- package/.forge/skills/testing-standards/SKILL.md +0 -27
- package/.github/workflows/mindforge-ci.yml +0 -224
- package/.gitlab-ci-mindforge.yml +0 -18
- package/eslint.config.mjs +0 -31
- package/implementation-roadmap/day-1-imp/DAY1-HARDEN.md +0 -823
- package/implementation-roadmap/day-1-imp/DAY1-IMPLEMENT.md +0 -2459
- package/implementation-roadmap/day-1-imp/DAY1-REVIEW.md +0 -288
- package/implementation-roadmap/day-2-imp/DAY2-HARDEN.md +0 -954
- package/implementation-roadmap/day-2-imp/DAY2-IMPLEMENT.md +0 -2347
- package/implementation-roadmap/day-2-imp/DAY2-REVIEW.md +0 -422
- package/implementation-roadmap/day-3-imp/DAY3-HARDEN.md +0 -870
- package/implementation-roadmap/day-3-imp/DAY3-IMPLEMENT.md +0 -2798
- package/implementation-roadmap/day-3-imp/DAY3-REVIEW.md +0 -484
- package/implementation-roadmap/day-4-imp/DAY4-HARDEN.md +0 -1087
- package/implementation-roadmap/day-4-imp/DAY4-IMPLEMENT.md +0 -2874
- package/implementation-roadmap/day-4-imp/DAY4-REVIEW.md +0 -386
- package/implementation-roadmap/day-5-imp/DAY5-HARDEN.md +0 -1078
- package/implementation-roadmap/day-5-imp/DAY5-IMPLEMENT.md +0 -3151
- package/implementation-roadmap/day-5-imp/DAY5-REVIEW.md +0 -345
- package/implementation-roadmap/day-6-imp/DAY6-COMPLETE.md +0 -3919
- package/implementation-roadmap/day-7-imp-prod/DAY7-PRODUCTION-FINAL.md +0 -4513
- package/sdk/README.md +0 -69
- package/sdk/eslint.config.mjs +0 -34
- package/sdk/package-lock.json +0 -1507
- package/sdk/package.json +0 -30
- package/sdk/src/client.ts +0 -133
- package/sdk/src/commands.ts +0 -63
- package/sdk/src/events.ts +0 -166
- package/sdk/src/index.ts +0 -22
- package/sdk/src/types.ts +0 -87
- package/sdk/tsconfig.json +0 -13
- package/tests/audit.test.js +0 -206
- package/tests/ci-mode.test.js +0 -162
- package/tests/compaction.test.js +0 -161
- package/tests/distribution.test.js +0 -205
- package/tests/e2e.test.js +0 -618
- package/tests/governance.test.js +0 -130
- package/tests/install.test.js +0 -209
- package/tests/integrations.test.js +0 -128
- package/tests/intelligence.test.js +0 -117
- package/tests/metrics.test.js +0 -96
- package/tests/migration.test.js +0 -309
- package/tests/production.test.js +0 -416
- package/tests/sdk.test.js +0 -200
- package/tests/skills-platform.test.js +0 -403
- 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.
|
package/sdk/eslint.config.mjs
DELETED
|
@@ -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
|
-
);
|