Skip to content

Commit ae9de05

Browse files
Merge pull request #23 from OneFineStarstuff/genspark_ai_developer
feat(ai-strategy): Enterprise AI Strategy & Implementation Report 2026-2030
2 parents 303300e + 2a6b854 commit ae9de05

79 files changed

Lines changed: 65715 additions & 28 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Dependencies
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Next.js
8+
.next/
9+
out/
10+
build/
11+
dist/
12+
13+
# Testing
14+
coverage/
15+
*.log
16+
17+
# Environment variables
18+
.env
19+
.env.local
20+
.env.development.local
21+
.env.test.local
22+
.env.production.local
23+
24+
# IDE
25+
.vscode/
26+
.idea/
27+
*.swp
28+
*.swo
29+
*~
30+
31+
# OS
32+
.DS_Store
33+
Thumbs.db
34+
35+
# TypeScript
36+
*.tsbuildinfo
37+
next-env.d.ts

.scripts/create_pr.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const https = require('https');
2+
const token = process.env.GITHUB_TOKEN;
3+
if (!token) { console.error('Missing GITHUB_TOKEN'); process.exit(1); }
4+
const data = JSON.stringify({
5+
title: 'Sprint A: Governance Capability Matrix, Strategy Map, Templates',
6+
head: 'genspark_ai_developer',
7+
base: 'main',
8+
body: `This PR delivers Sprint A items:\n\n- Governance Capability Matrix UI reading data/maturity.json (score badges, gates, evidence/gaps, remediation, deep links)\n- Strategy Map (Mermaid) docs page\n- Templates: KPI Alignment and Pilot Charter, plus routes\n- Cockpit nav updated to link the matrix\n\nTesting:\n- Build pages under /governance/maturity, /docs/strategy-map, /templates/kpi-alignment, /templates/pilot-charter\n- All files are static/SSR-friendly (force-static used for file reads)\n\nNext:\n- /api/governance/events (hash-chained audit) + RBAC guards\n- Observability (OTel/PostHog), Auth (NextAuth), provider adapters (OpenAI/Anthropic)`,
9+
maintainer_can_modify: true
10+
});
11+
const opts = {
12+
hostname: 'api.github.com',
13+
path: '/repos/OneFineStarstuff/OneFineStarstuff.github.io/pulls',
14+
method: 'POST',
15+
headers: {
16+
'User-Agent': 'genspark-ai-developer-bot',
17+
'Authorization': `Bearer ${token}`,
18+
'Accept': 'application/vnd.github+json',
19+
'Content-Type': 'application/json',
20+
'Content-Length': Buffer.byteLength(data)
21+
}
22+
};
23+
const req = https.request(opts, res => {
24+
let b='';
25+
res.on('data', c => b+=c);
26+
res.on('end', () => {
27+
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
28+
const j = JSON.parse(b);
29+
console.log('PR_URL=' + j.html_url);
30+
} else {
31+
console.error('PR create failed', res.statusCode, b);
32+
process.exit(2);
33+
}
34+
});
35+
});
36+
req.on('error', e => { console.error(e); process.exit(3); });
37+
req.write(data); req.end();

0 commit comments

Comments
 (0)