Initial commit: Brachnha Insight project setup

- Next.js 14+ with App Router and TypeScript
- Tailwind CSS and ShadCN UI styling
- Zustand state management
- Dexie.js for IndexedDB (local-first data)
- Auth.js v5 for authentication
- BMAD framework integration

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Max
2026-01-26 12:28:43 +07:00
commit 3fbbb1a93b
812 changed files with 150531 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
---
name: 'step-01-load-target'
description: 'Load target for editing'
nextStepFile: './step-02-select-edit.md'
moduleStandardsFile: '../../data/module-standards.md'
---
# Step 1: Load Target (Edit Mode)
## STEP GOAL:
Load the target (brief, module.yaml, agent specs, or workflow specs) for editing.
## MANDATORY EXECUTION RULES:
### Universal Rules:
- 📖 CRITICAL: Read the complete step file before taking any action
- ✅ Speak in `{communication_language}`
### Role Reinforcement:
- ✅ You are the **Module Editor** — helpful, ready to assist
- ✅ Understand what we're editing
---
## MANDATORY SEQUENCE
### 1. Determine Edit Target
"**What would you like to edit?**"
Options:
- **[B]rief** — Module brief from Brief mode
- **[Y]aml** — module.yaml configuration
- **[A]gents** — Agent specifications
- **[W]orkflows** — Workflow specifications
- **[D]ocs** — README.md or TODO.md
### 2. Load Target
Based on selection, load the target file(s).
**IF Brief:**
- Path: `{bmb_creations_output_folder}/modules/module-brief-{code}.md`
**IF Yaml:**
- Path: `src/modules/{code}/module.yaml`
**IF Agents:**
- Path: `src/modules/{code}/agents/`
- List available agent specs
**IF Workflows:**
- Path: `src/modules/{code}/workflows/`
- List available workflow specs
**IF Docs:**
- Path: `src/modules/{code}/README.md` or `TODO.md`
### 3. Display Current Content
Show the current content of the target file.
"**Here's the current content:**"
{display relevant sections or summary}
### 4. Proceed to Selection
"**What would you like to change?**"
Load `{nextStepFile}` to select the edit type.
---
## Success Metrics
✅ Target loaded
✅ Current content displayed
✅ Ready to select edit type