diff --git a/docs/design-system.md b/docs/design-system.md index 8cf04e95..0dcdf1d0 100644 --- a/docs/design-system.md +++ b/docs/design-system.md @@ -55,3 +55,4 @@ | posimai-atlas | `#22D3EE` Cyan | `#0891B2` | インフラ/ネットワーク管理 — ターミナル・サイバー感。背景も `#0C1221` navy に変更 | | posimai-dev | `#A78BFA` Violet | `#7C3AED` | 開発ポータル — コード・AI・ターミナルの融合。Atlas と差別化 | | ponshu-room | `#D4A574` 琥珀(Amber) | `#D4A574` | **Posimai デザインシステム適用外**。独自テーマ(和紙×墨×琥珀)を使用 | +| posimai-analytics | TailwindCSS + ライトテーマ | — | **Posimai デザインシステム適用外**。Kintone 向け BtoBダッシュボード。TailwindCSS / React / light theme で構築。絵文字禁止・Lucide @0.344.0 固定は適用 | diff --git a/tools/posimai-scribe/src/shadow-logger.js b/tools/posimai-scribe/src/shadow-logger.js new file mode 100644 index 00000000..afe5ad5e --- /dev/null +++ b/tools/posimai-scribe/src/shadow-logger.js @@ -0,0 +1,33 @@ +import fs from 'fs'; +import path from 'path'; +import { fileURLToPath } from 'url'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const LOG_DIR = path.join(__dirname, '../logs'); +const LOG_FILE = path.join(LOG_DIR, 'shadow-log.jsonl'); + +// Ensure log directory exists +if (!fs.existsSync(LOG_DIR)) { + fs.mkdirSync(LOG_DIR, { recursive: true }); +} + +// Get message from CLI arguments +const args = process.argv.slice(2); +if (args.length === 0) { + console.log("Usage: npm run log \"Your feeling or event description here\""); + process.exit(1); +} + +const message = args.join(' '); + +// Create log entry +const entry = { + timestamp: new Date().toISOString(), + message: message +}; + +// Append to JSONLines file +fs.appendFileSync(LOG_FILE, JSON.stringify(entry) + '\n', 'utf8'); +console.log(`[Shadow Logger] Recorded: "${message}"`);