gaslighting-engine 0.3.1 → 0.4.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/README.md +133 -18
- package/desktop-dist/assets/index-BoI6eWtN.js +44 -0
- package/desktop-dist/assets/index-oFTvTTu8.css +1 -0
- package/desktop-dist/index.html +13 -0
- package/dist/agent-runtimes/permissions.js +34 -0
- package/dist/agent-runtimes/prompts.js +30 -0
- package/dist/agent-runtimes/registry.js +214 -0
- package/dist/agent-runtimes/types.js +1 -0
- package/dist/cli.js +142 -4
- package/dist/commands/agent.js +11 -0
- package/dist/commands/apiRun.js +32 -0
- package/dist/commands/cockpit.js +37 -6
- package/dist/commands/desktop.js +45 -0
- package/dist/commands/doctor.js +8 -1
- package/dist/commands/loop.js +64 -0
- package/dist/commands/mcp.js +43 -0
- package/dist/commands/skill.js +23 -0
- package/dist/core/codexRuntime.js +2 -19
- package/dist/core/generateDocs.js +16 -10
- package/dist/core/generateOtherMarkdown.js +27 -27
- package/dist/core/generateStructuredDocs.js +405 -0
- package/dist/core/mcpRegistry.js +103 -0
- package/dist/core/missionLoop.js +179 -0
- package/dist/core/skillRegistry.js +62 -0
- package/dist/desktop/main.js +188 -0
- package/dist/desktop/preload.js +22 -0
- package/dist/utils/logger.js +1 -1
- package/dist/version.js +1 -1
- package/docs/codex-usage.md +28 -3
- package/examples/ecommerce/.agents/config.json +10 -0
- package/examples/ecommerce/.agents/mcp/manifest.json +5 -0
- package/examples/ecommerce/.agents/runtimes/claude.json +6 -0
- package/examples/ecommerce/.agents/runtimes/codex.json +6 -0
- package/examples/ecommerce/.agents/runtimes/kimi.json +6 -0
- package/examples/ecommerce/.agents/runtimes/local.json +6 -0
- package/examples/ecommerce/.agents/runtimes/openai_compatible.json +6 -0
- package/examples/ecommerce/.agents/runtimes/opencode.json +6 -0
- package/examples/ecommerce/.agents/runtimes/qwen.json +6 -0
- package/examples/ecommerce/.codex/prompts/gaslighting.md +9 -9
- package/examples/ecommerce/.gaslighting/AGENTS.md +9 -9
- package/examples/ecommerce/.gaslighting/AGENT_RUNTIME.md +1 -1
- package/examples/ecommerce/.gaslighting/CODEX_PROMPT.md +9 -9
- package/examples/ecommerce/.gaslighting/DECISION_LOG.md +1 -1
- package/examples/ecommerce/.gaslighting/GASLIGHTING.md +2 -2
- package/examples/ecommerce/.gaslighting/INDEX.md +39 -0
- package/examples/ecommerce/.gaslighting/MEMORY.md +1 -1
- package/examples/ecommerce/.gaslighting/PRD.md +1 -1
- package/examples/ecommerce/.gaslighting/PROJECT_CARE.md +1 -1
- package/examples/ecommerce/.gaslighting/checkpoints/latest.md +7 -0
- package/examples/ecommerce/.gaslighting/config.json +7 -0
- package/examples/ecommerce/.gaslighting/decisions/ADR-0001-stack.md +11 -0
- package/examples/ecommerce/.gaslighting/decisions/ADR-0002-agent-runtime.md +11 -0
- package/examples/ecommerce/.gaslighting/features/core-scope/DECISIONS.md +5 -0
- package/examples/ecommerce/.gaslighting/features/core-scope/FEATURE.md +7 -0
- package/examples/ecommerce/.gaslighting/features/core-scope/RISKS.md +5 -0
- package/examples/ecommerce/.gaslighting/features/core-scope/TASKS.md +18 -0
- package/examples/ecommerce/.gaslighting/loops/current-session.json +9 -0
- package/examples/ecommerce/.gaslighting/memory/OPEN_QUESTIONS.md +5 -0
- package/examples/ecommerce/.gaslighting/memory/PROJECT_MEMORY.md +5 -0
- package/examples/ecommerce/.gaslighting/memory/SESSION_LOG.md +3 -0
- package/examples/ecommerce/.gaslighting/mission/COMPLETION_STANDARD.md +11 -0
- package/examples/ecommerce/.gaslighting/mission/EXECUTION_RULES.md +20 -0
- package/examples/ecommerce/.gaslighting/mission/PROJECT_PURPOSE.md +20 -0
- package/examples/ecommerce/.gaslighting/operations/DEPLOYMENT.md +6 -0
- package/examples/ecommerce/.gaslighting/operations/DOMAIN.md +6 -0
- package/examples/ecommerce/.gaslighting/operations/ENV.md +5 -0
- package/examples/ecommerce/.gaslighting/operations/GIT.md +7 -0
- package/examples/ecommerce/.gaslighting/operations/GITHUB.md +7 -0
- package/examples/ecommerce/.gaslighting/operations/PROJECT_CARE.md +76 -0
- package/examples/ecommerce/.gaslighting/pages/admin-products/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/admin-products/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/cart/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/cart/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/checkout/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/checkout/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/home/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/home/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/my-orders/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/my-orders/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/order-complete/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/order-complete/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/product-detail/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/product-detail/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/pages/product-list/ACCEPTANCE.md +7 -0
- package/examples/ecommerce/.gaslighting/pages/product-list/PAGE_PRD.md +15 -0
- package/examples/ecommerce/.gaslighting/product/PAGE_MAP.md +11 -0
- package/examples/ecommerce/.gaslighting/product/PRD.md +115 -0
- package/examples/ecommerce/.gaslighting/product/USER_FLOWS.md +22 -0
- package/examples/ecommerce/.gaslighting/tasks/TASK-0001.md +17 -0
- package/examples/ecommerce/.gaslighting/verification/latest-report.md +3 -0
- package/examples/ecommerce/AGENTS.md +12 -10
- package/examples/hospital-homepage/.agents/config.json +10 -0
- package/examples/hospital-homepage/.agents/mcp/manifest.json +5 -0
- package/examples/hospital-homepage/.agents/runtimes/claude.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/codex.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/kimi.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/local.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/openai_compatible.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/opencode.json +6 -0
- package/examples/hospital-homepage/.agents/runtimes/qwen.json +6 -0
- package/examples/hospital-homepage/.codex/prompts/gaslighting.md +9 -9
- package/examples/hospital-homepage/.gaslighting/AGENTS.md +9 -9
- package/examples/hospital-homepage/.gaslighting/CODEX_PROMPT.md +9 -9
- package/examples/hospital-homepage/.gaslighting/INDEX.md +37 -0
- package/examples/hospital-homepage/.gaslighting/checkpoints/latest.md +7 -0
- package/examples/hospital-homepage/.gaslighting/config.json +7 -0
- package/examples/hospital-homepage/.gaslighting/decisions/ADR-0001-stack.md +11 -0
- package/examples/hospital-homepage/.gaslighting/decisions/ADR-0002-agent-runtime.md +11 -0
- package/examples/hospital-homepage/.gaslighting/features/core-scope/DECISIONS.md +5 -0
- package/examples/hospital-homepage/.gaslighting/features/core-scope/FEATURE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/features/core-scope/RISKS.md +5 -0
- package/examples/hospital-homepage/.gaslighting/features/core-scope/TASKS.md +17 -0
- package/examples/hospital-homepage/.gaslighting/loops/current-session.json +9 -0
- package/examples/hospital-homepage/.gaslighting/memory/OPEN_QUESTIONS.md +5 -0
- package/examples/hospital-homepage/.gaslighting/memory/PROJECT_MEMORY.md +5 -0
- package/examples/hospital-homepage/.gaslighting/memory/SESSION_LOG.md +3 -0
- package/examples/hospital-homepage/.gaslighting/mission/COMPLETION_STANDARD.md +11 -0
- package/examples/hospital-homepage/.gaslighting/mission/EXECUTION_RULES.md +20 -0
- package/examples/hospital-homepage/.gaslighting/mission/PROJECT_PURPOSE.md +20 -0
- package/examples/hospital-homepage/.gaslighting/operations/DEPLOYMENT.md +6 -0
- package/examples/hospital-homepage/.gaslighting/operations/DOMAIN.md +6 -0
- package/examples/hospital-homepage/.gaslighting/operations/ENV.md +5 -0
- package/examples/hospital-homepage/.gaslighting/operations/GIT.md +7 -0
- package/examples/hospital-homepage/.gaslighting/operations/GITHUB.md +7 -0
- package/examples/hospital-homepage/.gaslighting/operations/PROJECT_CARE.md +76 -0
- package/examples/hospital-homepage/.gaslighting/pages/consultation-contact/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/consultation-contact/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/departments-treatments/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/departments-treatments/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/doctor-profiles/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/doctor-profiles/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/home/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/home/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/hospital-introduction/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/hospital-introduction/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/location/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/location/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/pages/privacy-policy/ACCEPTANCE.md +7 -0
- package/examples/hospital-homepage/.gaslighting/pages/privacy-policy/PAGE_PRD.md +15 -0
- package/examples/hospital-homepage/.gaslighting/product/PAGE_MAP.md +9 -0
- package/examples/hospital-homepage/.gaslighting/product/PRD.md +119 -0
- package/examples/hospital-homepage/.gaslighting/product/USER_FLOWS.md +20 -0
- package/examples/hospital-homepage/.gaslighting/tasks/TASK-0001.md +17 -0
- package/examples/hospital-homepage/.gaslighting/verification/latest-report.md +3 -0
- package/examples/hospital-homepage/AGENTS.md +12 -10
- package/examples/landing-page/.agents/config.json +10 -0
- package/examples/landing-page/.agents/mcp/manifest.json +5 -0
- package/examples/landing-page/.agents/runtimes/claude.json +6 -0
- package/examples/landing-page/.agents/runtimes/codex.json +6 -0
- package/examples/landing-page/.agents/runtimes/kimi.json +6 -0
- package/examples/landing-page/.agents/runtimes/local.json +6 -0
- package/examples/landing-page/.agents/runtimes/openai_compatible.json +6 -0
- package/examples/landing-page/.agents/runtimes/opencode.json +6 -0
- package/examples/landing-page/.agents/runtimes/qwen.json +6 -0
- package/examples/landing-page/.codex/prompts/gaslighting.md +9 -9
- package/examples/landing-page/.gaslighting/AGENTS.md +9 -9
- package/examples/landing-page/.gaslighting/AGENT_RUNTIME.md +1 -1
- package/examples/landing-page/.gaslighting/CODEX_PROMPT.md +9 -9
- package/examples/landing-page/.gaslighting/DECISION_LOG.md +1 -1
- package/examples/landing-page/.gaslighting/GASLIGHTING.md +2 -2
- package/examples/landing-page/.gaslighting/INDEX.md +31 -0
- package/examples/landing-page/.gaslighting/MEMORY.md +1 -1
- package/examples/landing-page/.gaslighting/PRD.md +1 -1
- package/examples/landing-page/.gaslighting/PROJECT_CARE.md +1 -1
- package/examples/landing-page/.gaslighting/checkpoints/latest.md +7 -0
- package/examples/landing-page/.gaslighting/config.json +7 -0
- package/examples/landing-page/.gaslighting/decisions/ADR-0001-stack.md +11 -0
- package/examples/landing-page/.gaslighting/decisions/ADR-0002-agent-runtime.md +11 -0
- package/examples/landing-page/.gaslighting/features/core-scope/DECISIONS.md +5 -0
- package/examples/landing-page/.gaslighting/features/core-scope/FEATURE.md +7 -0
- package/examples/landing-page/.gaslighting/features/core-scope/RISKS.md +5 -0
- package/examples/landing-page/.gaslighting/features/core-scope/TASKS.md +11 -0
- package/examples/landing-page/.gaslighting/loops/current-session.json +9 -0
- package/examples/landing-page/.gaslighting/memory/OPEN_QUESTIONS.md +5 -0
- package/examples/landing-page/.gaslighting/memory/PROJECT_MEMORY.md +5 -0
- package/examples/landing-page/.gaslighting/memory/SESSION_LOG.md +3 -0
- package/examples/landing-page/.gaslighting/mission/COMPLETION_STANDARD.md +11 -0
- package/examples/landing-page/.gaslighting/mission/EXECUTION_RULES.md +20 -0
- package/examples/landing-page/.gaslighting/mission/PROJECT_PURPOSE.md +19 -0
- package/examples/landing-page/.gaslighting/operations/DEPLOYMENT.md +6 -0
- package/examples/landing-page/.gaslighting/operations/DOMAIN.md +6 -0
- package/examples/landing-page/.gaslighting/operations/ENV.md +5 -0
- package/examples/landing-page/.gaslighting/operations/GIT.md +7 -0
- package/examples/landing-page/.gaslighting/operations/GITHUB.md +7 -0
- package/examples/landing-page/.gaslighting/operations/PROJECT_CARE.md +75 -0
- package/examples/landing-page/.gaslighting/pages/single-landing-page-with-hero-problem-solution-benefits-social-p/ACCEPTANCE.md +7 -0
- package/examples/landing-page/.gaslighting/pages/single-landing-page-with-hero-problem-solution-benefits-social-p/PAGE_PRD.md +15 -0
- package/examples/landing-page/.gaslighting/product/PAGE_MAP.md +3 -0
- package/examples/landing-page/.gaslighting/product/PRD.md +103 -0
- package/examples/landing-page/.gaslighting/product/USER_FLOWS.md +14 -0
- package/examples/landing-page/.gaslighting/tasks/TASK-0001.md +17 -0
- package/examples/landing-page/.gaslighting/verification/latest-report.md +3 -0
- package/examples/landing-page/AGENTS.md +12 -10
- package/package.json +22 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# GitHub Operations
|
|
2
|
+
|
|
3
|
+
Project root: `examples/landing-page`
|
|
4
|
+
|
|
5
|
+
- If no GitHub remote exists, ask for the GitHub URL and offer to connect it.
|
|
6
|
+
- If a remote exists, preserve it unless the user explicitly asks to replace it.
|
|
7
|
+
- Push only when permission mode allows it or approval is granted.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# PROJECT_CARE.md
|
|
2
|
+
|
|
3
|
+
This file is the project-care ledger for Gaslighting-engine.
|
|
4
|
+
|
|
5
|
+
It is not a blocker wall.
|
|
6
|
+
|
|
7
|
+
It is the place where the agent keeps noticing operational risk, ownership gaps, Git/GitHub status, deployment readiness, domain ownership, and missing production decisions.
|
|
8
|
+
|
|
9
|
+
The agent must treat this project as mission-critical. If something can put delivery, trust, data, launch, SEO, legal compliance, or operations at risk, record it here and keep pushing it forward.
|
|
10
|
+
|
|
11
|
+
## Project Snapshot
|
|
12
|
+
|
|
13
|
+
- Date: 2026-05-23
|
|
14
|
+
- Original request: Build a landing page for lead capture.
|
|
15
|
+
- Project type: landing_page
|
|
16
|
+
- Classification confidence: high
|
|
17
|
+
- Project purpose:
|
|
18
|
+
- make the offer clear within 5 seconds
|
|
19
|
+
- drive CTA clicks
|
|
20
|
+
- capture leads
|
|
21
|
+
- support ad traffic
|
|
22
|
+
- reduce bounce
|
|
23
|
+
- communicate value clearly
|
|
24
|
+
- load fast on mobile
|
|
25
|
+
|
|
26
|
+
## Git And GitHub Registry
|
|
27
|
+
|
|
28
|
+
| Item | Status | Next Action |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| Git repository | Detected, branch `main` | Commit meaningful checkpoints. |
|
|
31
|
+
| Origin remote | `https://github.com/nohsangwoo/GaslightingEngineering.git` | Keep remote ownership recorded when it changes. |
|
|
32
|
+
| GitHub remote | Detected | Use GitHub as the source-of-truth remote. |
|
|
33
|
+
|
|
34
|
+
## Domain And Deployment Registry
|
|
35
|
+
|
|
36
|
+
| Item | Current Status | Risk | Next Action |
|
|
37
|
+
|---|---|---|---|
|
|
38
|
+
| Production domain | Missing | Users cannot reach production reliably. | Confirm domain owner, DNS provider, and final domain. |
|
|
39
|
+
| DNS provider | Missing | Launch can be delayed by DNS access issues. | Record provider, account owner, and nameserver strategy. |
|
|
40
|
+
| Deployment target | Not confirmed | Environment drift and launch confusion. | Confirm Vercel, Netlify, Cloudflare, or other target. |
|
|
41
|
+
| Preview URL policy | Missing | Stakeholders cannot review safely. | Decide preview deployment workflow. |
|
|
42
|
+
| Rollback path | Missing | Production incidents become slower to recover. | Define rollback command/provider workflow. |
|
|
43
|
+
|
|
44
|
+
## Care Checklist
|
|
45
|
+
|
|
46
|
+
- [x] Git repository: Git repository detected on branch main. Next: Keep committing discipline and implementation changes.
|
|
47
|
+
- [x] GitHub remote: GitHub remote detected: https://github.com/nohsangwoo/GaslightingEngineering.git Next: Record repository decisions in DECISION_LOG.md when remote ownership changes.
|
|
48
|
+
- [ ] Project package file: package.json is missing. Next: Create package.json when implementation starts, unless this is not a Node project.
|
|
49
|
+
- [ ] Deployment target: No explicit deployment config detected. Next: Confirm deployment target, production domain, preview environment, and rollback path before launch.
|
|
50
|
+
- [ ] Environment template: .env.example is missing. Next: Add .env.example before sharing the project so required secrets are visible without exposing real values.
|
|
51
|
+
- [ ] Production domain confirmed.
|
|
52
|
+
- [ ] DNS owner confirmed.
|
|
53
|
+
- [ ] Deployment provider confirmed.
|
|
54
|
+
- [ ] Analytics ownership confirmed.
|
|
55
|
+
- [ ] Form/email delivery owner confirmed.
|
|
56
|
+
- [ ] Privacy/legal review path confirmed.
|
|
57
|
+
- [ ] Launch checklist created before production release.
|
|
58
|
+
|
|
59
|
+
## Agent Care Rules
|
|
60
|
+
|
|
61
|
+
- Do not stop implementation just because an operational detail is missing.
|
|
62
|
+
- Do make a practical assumption, record it, and keep moving.
|
|
63
|
+
- If Git is not initialized, ask for a GitHub URL and offer the exact commands.
|
|
64
|
+
- If Git is initialized but no GitHub remote exists, ask for the remote URL and offer `git remote add origin <url>`.
|
|
65
|
+
- If the user provides a GitHub URL, run `gaslighting-engine care --github-url <url>` or connect it directly with Git CLI.
|
|
66
|
+
- If GitHub is connected, record the remote URL here and in `DECISION_LOG.md` when it changes.
|
|
67
|
+
- If domain or deployment details are missing, keep warning until they are confirmed.
|
|
68
|
+
- Treat missing domain, deployment, analytics, email, and privacy ownership as mission-critical launch risks, not as reasons to abandon the task.
|
|
69
|
+
- Never turn care warnings into fake blockers.
|
|
70
|
+
|
|
71
|
+
## Current Care Warnings
|
|
72
|
+
|
|
73
|
+
- Project package file: package.json is missing. Action: Create package.json when implementation starts, unless this is not a Node project.
|
|
74
|
+
- Deployment target: No explicit deployment config detected. Action: Confirm deployment target, production domain, preview environment, and rollback path before launch.
|
|
75
|
+
- Environment template: .env.example is missing. Action: Add .env.example before sharing the project so required secrets are visible without exposing real values.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form Acceptance Criteria
|
|
2
|
+
|
|
3
|
+
- [ ] Page purpose is visible.
|
|
4
|
+
- [ ] Required content is not placeholder-only.
|
|
5
|
+
- [ ] CTA or operational action is usable.
|
|
6
|
+
- [ ] Mobile layout is usable.
|
|
7
|
+
- [ ] No TODO replaces implementation.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `landing_page`
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
This page must support the project purpose and not become decorative filler.
|
|
8
|
+
|
|
9
|
+
## Required Coverage
|
|
10
|
+
|
|
11
|
+
- Clear user goal.
|
|
12
|
+
- Clear content hierarchy.
|
|
13
|
+
- Clear CTA or operational action.
|
|
14
|
+
- Mobile usability.
|
|
15
|
+
- Empty/error states when relevant.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# PRD.md
|
|
2
|
+
|
|
3
|
+
## 1. Product Overview
|
|
4
|
+
|
|
5
|
+
Build an MVP for this request:
|
|
6
|
+
|
|
7
|
+
> Build a landing page for lead capture.
|
|
8
|
+
|
|
9
|
+
Classified project type: `landing_page`
|
|
10
|
+
|
|
11
|
+
The product must preserve the user's actual scope and must not become a decorative shell.
|
|
12
|
+
|
|
13
|
+
## 2. Business Purpose
|
|
14
|
+
|
|
15
|
+
- make the offer clear within 5 seconds
|
|
16
|
+
- drive CTA clicks
|
|
17
|
+
- capture leads
|
|
18
|
+
- support ad traffic
|
|
19
|
+
- reduce bounce
|
|
20
|
+
- communicate value clearly
|
|
21
|
+
- load fast on mobile
|
|
22
|
+
|
|
23
|
+
## 3. Target Users
|
|
24
|
+
|
|
25
|
+
- Ad traffic visitors
|
|
26
|
+
- Qualified leads
|
|
27
|
+
- Operators reviewing submitted leads
|
|
28
|
+
|
|
29
|
+
## 4. User Flows
|
|
30
|
+
|
|
31
|
+
- Visitor -> understand offer -> compare benefits -> submit lead form
|
|
32
|
+
- Visitor -> FAQ/social proof -> final CTA
|
|
33
|
+
|
|
34
|
+
## 5. Page List
|
|
35
|
+
|
|
36
|
+
- Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form
|
|
37
|
+
|
|
38
|
+
## 6. Feature List
|
|
39
|
+
|
|
40
|
+
- responsive design
|
|
41
|
+
- CTA buttons
|
|
42
|
+
- lead form
|
|
43
|
+
- conversion-oriented copy
|
|
44
|
+
- SEO metadata
|
|
45
|
+
- fast loading
|
|
46
|
+
- analytics-ready structure
|
|
47
|
+
|
|
48
|
+
## 7. Data Model Draft
|
|
49
|
+
|
|
50
|
+
- Lead: name, emailOrPhone, source, message, consent, createdAt
|
|
51
|
+
- Offer: headline, benefits, proof, CTA
|
|
52
|
+
|
|
53
|
+
## 8. MVP Scope
|
|
54
|
+
|
|
55
|
+
- Implement all pages, flows, and features listed above.
|
|
56
|
+
- Include responsive behavior.
|
|
57
|
+
- Include useful empty, loading, success, and error states where applicable.
|
|
58
|
+
- Include SEO metadata where public pages exist.
|
|
59
|
+
- Include analytics-ready structure where conversion matters.
|
|
60
|
+
- Document every assumption that affects implementation.
|
|
61
|
+
|
|
62
|
+
## 9. Out of Scope
|
|
63
|
+
|
|
64
|
+
- LLM API integration unless explicitly requested
|
|
65
|
+
- complex infrastructure
|
|
66
|
+
- unrequested authentication
|
|
67
|
+
- unrequested payments
|
|
68
|
+
- native mobile apps
|
|
69
|
+
|
|
70
|
+
## 10. Non-Functional Requirements
|
|
71
|
+
|
|
72
|
+
- Mobile-first where users are likely to arrive from search or ads.
|
|
73
|
+
- Accessible semantic HTML.
|
|
74
|
+
- Fast initial load for public pages.
|
|
75
|
+
- Safe form validation and clear error messages.
|
|
76
|
+
- Maintainable TypeScript structure.
|
|
77
|
+
- No unnecessary distributed systems.
|
|
78
|
+
|
|
79
|
+
## 11. Tech Stack
|
|
80
|
+
|
|
81
|
+
No stack hints were provided. Use the default practical web stack unless the user later changes it.
|
|
82
|
+
|
|
83
|
+
See `STACK_POLICY.md` for defaults and forbidden-by-default technology.
|
|
84
|
+
|
|
85
|
+
## 12. Risks
|
|
86
|
+
|
|
87
|
+
- Vague source requirements can cause wrong vertical assumptions.
|
|
88
|
+
- Placeholder copy can look real if not reviewed.
|
|
89
|
+
- Missing production credentials can block deployment.
|
|
90
|
+
- AI agents may reduce scope unless `GASLIGHTING.md` is enforced.
|
|
91
|
+
|
|
92
|
+
## 13. Missing Information
|
|
93
|
+
|
|
94
|
+
See `MISSING_INFO.md`.
|
|
95
|
+
|
|
96
|
+
## 14. Success Criteria
|
|
97
|
+
|
|
98
|
+
- The project purpose is visible in the implemented product.
|
|
99
|
+
- The core pages and features are implemented, not merely described.
|
|
100
|
+
- No required scope is replaced by representative examples.
|
|
101
|
+
- No TODO is used as a substitute for implementation.
|
|
102
|
+
- Assumptions and decisions remain documented.
|
|
103
|
+
- The output can actually be used for the MVP purpose.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# User Flows
|
|
2
|
+
|
|
3
|
+
Project type: `landing_page`
|
|
4
|
+
|
|
5
|
+
## Primary Flow
|
|
6
|
+
|
|
7
|
+
1. User lands on the first relevant page.
|
|
8
|
+
2. User understands the offer or purpose quickly.
|
|
9
|
+
3. User explores the page or feature set needed for trust and decision-making.
|
|
10
|
+
4. User completes the primary conversion or operational action.
|
|
11
|
+
|
|
12
|
+
## Page Coverage
|
|
13
|
+
|
|
14
|
+
1. Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# TASK-0001: Initialize Mission Scope
|
|
2
|
+
|
|
3
|
+
Status: pending
|
|
4
|
+
Runtime: codex
|
|
5
|
+
Permission mode: auto_review
|
|
6
|
+
|
|
7
|
+
## Goal
|
|
8
|
+
|
|
9
|
+
Turn the original request into implemented project work without fake completion.
|
|
10
|
+
|
|
11
|
+
## Request
|
|
12
|
+
|
|
13
|
+
> Build a landing page for lead capture.
|
|
14
|
+
|
|
15
|
+
## Project Type
|
|
16
|
+
|
|
17
|
+
`landing_page`
|
|
@@ -4,18 +4,20 @@ This repository uses Gaslighting-engine.
|
|
|
4
4
|
|
|
5
5
|
The main discipline documents live under `.gaslighting/` to avoid cluttering the project root.
|
|
6
6
|
|
|
7
|
+
Start with `.gaslighting/INDEX.md`. It points to the mission, product, feature, operation, task, loop, verification, and memory documents.
|
|
8
|
+
|
|
7
9
|
Before doing any work, read these files in order:
|
|
8
10
|
|
|
9
|
-
1. `.gaslighting/
|
|
10
|
-
2. `.gaslighting/
|
|
11
|
-
3. `.gaslighting/
|
|
12
|
-
4. `.gaslighting/
|
|
13
|
-
5. `.gaslighting/
|
|
14
|
-
6. `.gaslighting/
|
|
15
|
-
7. `.gaslighting/
|
|
16
|
-
8. `.gaslighting/
|
|
17
|
-
9. `.gaslighting/
|
|
18
|
-
10. `.gaslighting/
|
|
11
|
+
1. `.gaslighting/INDEX.md`
|
|
12
|
+
2. `.gaslighting/mission/PROJECT_PURPOSE.md`
|
|
13
|
+
3. `.gaslighting/mission/EXECUTION_RULES.md`
|
|
14
|
+
4. `.gaslighting/mission/COMPLETION_STANDARD.md`
|
|
15
|
+
5. `.gaslighting/product/PRD.md`
|
|
16
|
+
6. `.gaslighting/product/PAGE_MAP.md`
|
|
17
|
+
7. `.gaslighting/features/core-scope/TASKS.md`
|
|
18
|
+
8. `.gaslighting/operations/PROJECT_CARE.md`
|
|
19
|
+
9. `.gaslighting/loops/current-session.json`
|
|
20
|
+
10. `.gaslighting/GASLIGHTING.md`
|
|
19
21
|
|
|
20
22
|
Do not reduce scope.
|
|
21
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaslighting-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "LUDGI Gaslighting-engine: a hardcore project-discipline generator for AI coding agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"desktop-dist",
|
|
13
14
|
"docs",
|
|
14
15
|
"examples",
|
|
15
16
|
".agents",
|
|
@@ -18,21 +19,37 @@
|
|
|
18
19
|
"LICENSE"
|
|
19
20
|
],
|
|
20
21
|
"scripts": {
|
|
21
|
-
"build": "
|
|
22
|
+
"build": "npm run build:cli && npm run build:desktop",
|
|
23
|
+
"build:cli": "tsc",
|
|
24
|
+
"build:desktop": "vite build --config desktop/vite.config.ts",
|
|
25
|
+
"prepack": "npm run build",
|
|
22
26
|
"start": "node dist/index.js",
|
|
23
27
|
"dev": "tsx src/index.ts",
|
|
28
|
+
"desktop:dev": "vite --config desktop/vite.config.ts",
|
|
24
29
|
"test": "npm run build && node dist/index.js doctor --path examples/hospital-homepage"
|
|
25
30
|
},
|
|
26
31
|
"dependencies": {
|
|
27
|
-
"
|
|
32
|
+
"@xterm/xterm": "^6.0.0",
|
|
33
|
+
"commander": "^14.0.2",
|
|
34
|
+
"lucide-react": "^1.16.0",
|
|
35
|
+
"react": "^19.2.6",
|
|
36
|
+
"react-dom": "^19.2.6"
|
|
28
37
|
},
|
|
29
38
|
"devDependencies": {
|
|
30
39
|
"@types/node": "^24.10.1",
|
|
40
|
+
"@types/react": "^19.2.15",
|
|
41
|
+
"@types/react-dom": "^19.2.3",
|
|
42
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
43
|
+
"electron": "^42.2.0",
|
|
31
44
|
"tsx": "^4.20.6",
|
|
32
|
-
"typescript": "^5.9.3"
|
|
45
|
+
"typescript": "^5.9.3",
|
|
46
|
+
"vite": "^8.0.14"
|
|
33
47
|
},
|
|
34
48
|
"engines": {
|
|
35
49
|
"node": ">=20"
|
|
36
50
|
},
|
|
37
|
-
"packageManager": "pnpm@10.22.0"
|
|
51
|
+
"packageManager": "pnpm@10.22.0",
|
|
52
|
+
"optionalDependencies": {
|
|
53
|
+
"node-pty": "^1.1.0"
|
|
54
|
+
}
|
|
38
55
|
}
|