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,9 @@
|
|
|
1
|
+
# Page Map
|
|
2
|
+
|
|
3
|
+
- [ ] Home: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
4
|
+
- [ ] Hospital Introduction: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
5
|
+
- [ ] Departments / Treatments: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
6
|
+
- [ ] Doctor Profiles: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
7
|
+
- [ ] Consultation / Contact: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
8
|
+
- [ ] Location: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
9
|
+
- [ ] Privacy Policy: define purpose, content, CTA, empty state, and acceptance criteria.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# PRD.md
|
|
2
|
+
|
|
3
|
+
## 1. Product Overview
|
|
4
|
+
|
|
5
|
+
Build an MVP for this request:
|
|
6
|
+
|
|
7
|
+
> I want to build a hospital website.
|
|
8
|
+
|
|
9
|
+
Classified project type: `hospital_homepage`
|
|
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
|
+
- increase trust
|
|
16
|
+
- generate consultation inquiries
|
|
17
|
+
- support reservation conversion
|
|
18
|
+
- make departments and treatments understandable
|
|
19
|
+
- make doctors and hospital credibility visible
|
|
20
|
+
- help mobile visitors contact the hospital quickly
|
|
21
|
+
- support local SEO
|
|
22
|
+
- make location and contact information obvious
|
|
23
|
+
|
|
24
|
+
## 3. Target Users
|
|
25
|
+
|
|
26
|
+
- Potential patients searching on mobile
|
|
27
|
+
- Patients comparing hospitals
|
|
28
|
+
- Users looking for treatment information
|
|
29
|
+
- Users who want to call, reserve, or ask questions
|
|
30
|
+
- Hospital staff receiving inquiries
|
|
31
|
+
|
|
32
|
+
## 4. User Flows
|
|
33
|
+
|
|
34
|
+
- Search/mobile visitor -> home -> treatment/doctor trust -> contact or reservation CTA
|
|
35
|
+
- Visitor -> location/contact -> call or submit inquiry
|
|
36
|
+
|
|
37
|
+
## 5. Page List
|
|
38
|
+
|
|
39
|
+
- Home
|
|
40
|
+
- Hospital Introduction
|
|
41
|
+
- Departments / Treatments
|
|
42
|
+
- Doctor Profiles
|
|
43
|
+
- Consultation / Contact
|
|
44
|
+
- Location
|
|
45
|
+
- Privacy Policy
|
|
46
|
+
|
|
47
|
+
## 6. Feature List
|
|
48
|
+
|
|
49
|
+
- responsive layout
|
|
50
|
+
- mobile-first UI
|
|
51
|
+
- contact CTA
|
|
52
|
+
- inquiry form
|
|
53
|
+
- treatment sections
|
|
54
|
+
- doctor introduction
|
|
55
|
+
- location section
|
|
56
|
+
- privacy policy
|
|
57
|
+
- SEO metadata
|
|
58
|
+
- analytics-ready structure
|
|
59
|
+
|
|
60
|
+
## 7. Data Model Draft
|
|
61
|
+
|
|
62
|
+
- Inquiry: name, phone, category, message, privacyConsent, status, createdAt
|
|
63
|
+
- Treatment: title, summary, body, image, order
|
|
64
|
+
- Doctor: name, specialty, bio, credentials, image
|
|
65
|
+
- Location: address, phone, hours, mapUrl
|
|
66
|
+
|
|
67
|
+
## 8. MVP Scope
|
|
68
|
+
|
|
69
|
+
- Implement all pages, flows, and features listed above.
|
|
70
|
+
- Include responsive behavior.
|
|
71
|
+
- Include useful empty, loading, success, and error states where applicable.
|
|
72
|
+
- Include SEO metadata where public pages exist.
|
|
73
|
+
- Include analytics-ready structure where conversion matters.
|
|
74
|
+
- Document every assumption that affects implementation.
|
|
75
|
+
|
|
76
|
+
## 9. Out of Scope
|
|
77
|
+
|
|
78
|
+
- full admin dashboard
|
|
79
|
+
- payment
|
|
80
|
+
- complex reservation calendar
|
|
81
|
+
- EMR integration
|
|
82
|
+
- user login
|
|
83
|
+
- multilingual content
|
|
84
|
+
- automated medical diagnosis
|
|
85
|
+
|
|
86
|
+
## 10. Non-Functional Requirements
|
|
87
|
+
|
|
88
|
+
- Mobile-first where users are likely to arrive from search or ads.
|
|
89
|
+
- Accessible semantic HTML.
|
|
90
|
+
- Fast initial load for public pages.
|
|
91
|
+
- Safe form validation and clear error messages.
|
|
92
|
+
- Maintainable TypeScript structure.
|
|
93
|
+
- No unnecessary distributed systems.
|
|
94
|
+
|
|
95
|
+
## 11. Tech Stack
|
|
96
|
+
|
|
97
|
+
No stack hints were provided. Use the default practical web stack unless the user later changes it.
|
|
98
|
+
|
|
99
|
+
See `STACK_POLICY.md` for defaults and forbidden-by-default technology.
|
|
100
|
+
|
|
101
|
+
## 12. Risks
|
|
102
|
+
|
|
103
|
+
- Vague source requirements can cause wrong vertical assumptions.
|
|
104
|
+
- Placeholder copy can look real if not reviewed.
|
|
105
|
+
- Missing production credentials can block deployment.
|
|
106
|
+
- AI agents may reduce scope unless `GASLIGHTING.md` is enforced.
|
|
107
|
+
|
|
108
|
+
## 13. Missing Information
|
|
109
|
+
|
|
110
|
+
See `MISSING_INFO.md`.
|
|
111
|
+
|
|
112
|
+
## 14. Success Criteria
|
|
113
|
+
|
|
114
|
+
- The project purpose is visible in the implemented product.
|
|
115
|
+
- The core pages and features are implemented, not merely described.
|
|
116
|
+
- No required scope is replaced by representative examples.
|
|
117
|
+
- No TODO is used as a substitute for implementation.
|
|
118
|
+
- Assumptions and decisions remain documented.
|
|
119
|
+
- The output can actually be used for the MVP purpose.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# User Flows
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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. Home
|
|
15
|
+
2. Hospital Introduction
|
|
16
|
+
3. Departments / Treatments
|
|
17
|
+
4. Doctor Profiles
|
|
18
|
+
5. Consultation / Contact
|
|
19
|
+
6. Location
|
|
20
|
+
7. Privacy Policy
|
|
@@ -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
|
+
> I want to build a hospital website.
|
|
14
|
+
|
|
15
|
+
## Project Type
|
|
16
|
+
|
|
17
|
+
`hospital_homepage`
|
|
@@ -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
|
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Read the Gaslighting-engine project-control files before doing any work:
|
|
4
4
|
|
|
5
|
-
1. `.gaslighting/
|
|
6
|
-
2. `.gaslighting/
|
|
7
|
-
3. `.gaslighting/
|
|
8
|
-
4. `.gaslighting/
|
|
9
|
-
5. `.gaslighting/
|
|
10
|
-
6. `.gaslighting/
|
|
5
|
+
1. `.gaslighting/INDEX.md`
|
|
6
|
+
2. `.gaslighting/mission/PROJECT_PURPOSE.md`
|
|
7
|
+
3. `.gaslighting/mission/EXECUTION_RULES.md`
|
|
8
|
+
4. `.gaslighting/product/PRD.md`
|
|
9
|
+
5. `.gaslighting/features/core-scope/TASKS.md`
|
|
10
|
+
6. `.gaslighting/operations/PROJECT_CARE.md`
|
|
11
11
|
7. `AGENTS.md`
|
|
12
|
-
8. `.gaslighting/
|
|
13
|
-
9. `.gaslighting/
|
|
14
|
-
10. `.gaslighting/
|
|
12
|
+
8. `.gaslighting/GASLIGHTING.md`
|
|
13
|
+
9. `.gaslighting/MISSING_INFO.md`
|
|
14
|
+
10. `.gaslighting/DECISION_LOG.md`
|
|
15
15
|
|
|
16
16
|
Then execute the user's requested implementation.
|
|
17
17
|
|
|
@@ -4,15 +4,15 @@ This repository uses Gaslighting-engine.
|
|
|
4
4
|
|
|
5
5
|
Before doing any work, read these files in order:
|
|
6
6
|
|
|
7
|
-
1. `.gaslighting/
|
|
8
|
-
2. `.gaslighting/
|
|
9
|
-
3. `.gaslighting/
|
|
10
|
-
4. `.gaslighting/
|
|
11
|
-
5. `.gaslighting/
|
|
12
|
-
6. `.gaslighting/
|
|
13
|
-
7. `.gaslighting/
|
|
14
|
-
8. `.gaslighting/
|
|
15
|
-
9. `.gaslighting/
|
|
7
|
+
1. `.gaslighting/INDEX.md`
|
|
8
|
+
2. `.gaslighting/mission/PROJECT_PURPOSE.md`
|
|
9
|
+
3. `.gaslighting/mission/EXECUTION_RULES.md`
|
|
10
|
+
4. `.gaslighting/mission/COMPLETION_STANDARD.md`
|
|
11
|
+
5. `.gaslighting/product/PRD.md`
|
|
12
|
+
6. `.gaslighting/features/core-scope/TASKS.md`
|
|
13
|
+
7. `.gaslighting/operations/PROJECT_CARE.md`
|
|
14
|
+
8. `.gaslighting/loops/current-session.json`
|
|
15
|
+
9. `.gaslighting/GASLIGHTING.md`
|
|
16
16
|
|
|
17
17
|
## Prime Directive
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ It is the runtime loop.
|
|
|
8
8
|
|
|
9
9
|
## Mission
|
|
10
10
|
|
|
11
|
-
- Original request: Build a landing page for
|
|
11
|
+
- Original request: Build a landing page for lead capture.
|
|
12
12
|
- Project type: landing_page
|
|
13
13
|
- Classification confidence: high
|
|
14
14
|
- Runtime stance: Codex-first, full-scope, no fake completion.
|
|
@@ -6,16 +6,16 @@ Copy and paste this into Codex:
|
|
|
6
6
|
|
|
7
7
|
Read the following files before doing any work:
|
|
8
8
|
|
|
9
|
-
1. `.gaslighting/
|
|
10
|
-
2. `.gaslighting/
|
|
11
|
-
3. `.gaslighting/
|
|
12
|
-
4. `.gaslighting/
|
|
13
|
-
5. `.gaslighting/
|
|
14
|
-
6. `.gaslighting/
|
|
9
|
+
1. `.gaslighting/INDEX.md`
|
|
10
|
+
2. `.gaslighting/mission/PROJECT_PURPOSE.md`
|
|
11
|
+
3. `.gaslighting/mission/EXECUTION_RULES.md`
|
|
12
|
+
4. `.gaslighting/product/PRD.md`
|
|
13
|
+
5. `.gaslighting/features/core-scope/TASKS.md`
|
|
14
|
+
6. `.gaslighting/operations/PROJECT_CARE.md`
|
|
15
15
|
7. `AGENTS.md`
|
|
16
|
-
8. `.gaslighting/
|
|
17
|
-
9. `.gaslighting/
|
|
18
|
-
10. `.gaslighting/
|
|
16
|
+
8. `.gaslighting/GASLIGHTING.md`
|
|
17
|
+
9. `.gaslighting/MISSING_INFO.md`
|
|
18
|
+
10. `.gaslighting/DECISION_LOG.md`
|
|
19
19
|
|
|
20
20
|
Then implement the project MVP.
|
|
21
21
|
|
|
@@ -121,7 +121,7 @@ Project type: `landing_page`
|
|
|
121
121
|
|
|
122
122
|
Original request:
|
|
123
123
|
|
|
124
|
-
> Build a landing page for
|
|
124
|
+
> Build a landing page for lead capture.
|
|
125
125
|
|
|
126
126
|
The purpose is:
|
|
127
127
|
|
|
@@ -139,7 +139,7 @@ The purpose is:
|
|
|
139
139
|
|
|
140
140
|
## 3. Confirmed Information
|
|
141
141
|
|
|
142
|
-
- The user requested: Build a landing page for
|
|
142
|
+
- The user requested: Build a landing page for lead capture.
|
|
143
143
|
- Classified project type: landing_page
|
|
144
144
|
- Classification confidence: high
|
|
145
145
|
- No stack hints were provided. Use the default practical web stack unless the user later changes it.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Gaslighting-engine Index
|
|
2
|
+
|
|
3
|
+
This is the structured source of truth for the project discipline layer.
|
|
4
|
+
|
|
5
|
+
## Mission
|
|
6
|
+
|
|
7
|
+
- Original request: Build a landing page for lead capture.
|
|
8
|
+
- Project type: landing_page
|
|
9
|
+
- Classification confidence: high
|
|
10
|
+
- Default runtime: codex
|
|
11
|
+
- Loop mode: off
|
|
12
|
+
- Permission mode: auto_review
|
|
13
|
+
|
|
14
|
+
## Read Order For Agents
|
|
15
|
+
|
|
16
|
+
1. `mission/PROJECT_PURPOSE.md`
|
|
17
|
+
2. `mission/EXECUTION_RULES.md`
|
|
18
|
+
3. `mission/COMPLETION_STANDARD.md`
|
|
19
|
+
4. `product/PRD.md`
|
|
20
|
+
5. `product/PAGE_MAP.md`
|
|
21
|
+
6. `features/core-scope/TASKS.md`
|
|
22
|
+
7. `operations/PROJECT_CARE.md`
|
|
23
|
+
8. `loops/current-session.json`
|
|
24
|
+
|
|
25
|
+
## Pages
|
|
26
|
+
|
|
27
|
+
- Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form
|
|
28
|
+
|
|
29
|
+
## Compatibility Files
|
|
30
|
+
|
|
31
|
+
Older agents may still read the root compatibility markdown files in `.gaslighting/`. Those files remain generated for backward compatibility, but this index is the preferred entrypoint.
|
|
@@ -10,7 +10,7 @@ Keep required rules in root `AGENTS.md`, `.gaslighting/GASLIGHTING.md`, and chec
|
|
|
10
10
|
|
|
11
11
|
## Stable Project Facts
|
|
12
12
|
|
|
13
|
-
- Original request: Build a landing page for
|
|
13
|
+
- Original request: Build a landing page for lead capture.
|
|
14
14
|
- Project type: landing_page
|
|
15
15
|
- Classification confidence: high
|
|
16
16
|
- Stack hints: none
|
|
@@ -11,7 +11,7 @@ The agent must treat this project as mission-critical. If something can put deli
|
|
|
11
11
|
## Project Snapshot
|
|
12
12
|
|
|
13
13
|
- Date: 2026-05-23
|
|
14
|
-
- Original request: Build a landing page for
|
|
14
|
+
- Original request: Build a landing page for lead capture.
|
|
15
15
|
- Project type: landing_page
|
|
16
16
|
- Classification confidence: high
|
|
17
17
|
- Project purpose:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ADR-0001: Stack Policy
|
|
2
|
+
|
|
3
|
+
Date: 2026-05-23
|
|
4
|
+
|
|
5
|
+
## Decision
|
|
6
|
+
|
|
7
|
+
No stack hints were provided. Use the default practical web stack unless the user later changes it.
|
|
8
|
+
|
|
9
|
+
## Consequence
|
|
10
|
+
|
|
11
|
+
The agent must avoid over-engineering and choose technology that serves the project purpose.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Core Scope Tasks
|
|
2
|
+
|
|
3
|
+
- [ ] Preserve and restate the project purpose for `landing_page`.
|
|
4
|
+
- [ ] Implement all required MVP pages or feature surfaces.
|
|
5
|
+
- [ ] Implement and verify page/surface: Single landing page with Hero, Problem, Solution, Benefits, Social Proof, Process, Offer, FAQ, Final CTA, Lead Form
|
|
6
|
+
- [ ] Verify build/test/lint/browser flow as appropriate.
|
|
7
|
+
- [ ] Update decisions, missing info, memory, and project care files.
|
|
8
|
+
|
|
9
|
+
Original request:
|
|
10
|
+
|
|
11
|
+
> Build a landing page for lead capture.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Open Questions
|
|
2
|
+
|
|
3
|
+
- Exact offer and conversion goal: Confirm the offer, target audience, ad source, CTA, and lead destination.
|
|
4
|
+
- Final brand identity and production copy: Collect final brand name, tone, assets, and legally approved copy before launch.
|
|
5
|
+
- Exact deployment credentials and accounts: Add project-specific env vars and provider accounts before production deployment.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Completion Standard
|
|
2
|
+
|
|
3
|
+
A task is complete only when:
|
|
4
|
+
|
|
5
|
+
- Requested scope is fully handled.
|
|
6
|
+
- No required item was silently skipped.
|
|
7
|
+
- No placeholder is pretending to be implementation.
|
|
8
|
+
- No TODO replaces requested implementation.
|
|
9
|
+
- Verification was run or the reason it could not run is stated.
|
|
10
|
+
- Assumptions, missing information, and operational care risks are updated.
|
|
11
|
+
- The result can actually be used.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Execution Rules
|
|
2
|
+
|
|
3
|
+
- Runtime: codex
|
|
4
|
+
- Loop mode: off
|
|
5
|
+
- Permission mode: auto_review
|
|
6
|
+
|
|
7
|
+
## Non-Negotiables
|
|
8
|
+
|
|
9
|
+
- Do the actual work.
|
|
10
|
+
- Do not shrink scope.
|
|
11
|
+
- Do not use TODOs as fake implementation.
|
|
12
|
+
- Do not present representative examples as full coverage.
|
|
13
|
+
- Document missing information and continue unless truly blocked.
|
|
14
|
+
- Record operational risk in `operations/PROJECT_CARE.md`.
|
|
15
|
+
|
|
16
|
+
## Permission Modes
|
|
17
|
+
|
|
18
|
+
- `ask_each_task`: request approval before each task action.
|
|
19
|
+
- `auto_review`: continue ordinary work; request approval for destructive, publishing, deployment, secret, DNS, payment, MCP install, or global configuration changes.
|
|
20
|
+
- `full_autonomy`: continue without approval, but log every action and never expose secrets.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Project Purpose
|
|
2
|
+
|
|
3
|
+
Original request:
|
|
4
|
+
|
|
5
|
+
> Build a landing page for lead capture.
|
|
6
|
+
|
|
7
|
+
Project type: `landing_page`
|
|
8
|
+
|
|
9
|
+
The purpose is:
|
|
10
|
+
|
|
11
|
+
- make the offer clear within 5 seconds
|
|
12
|
+
- drive CTA clicks
|
|
13
|
+
- capture leads
|
|
14
|
+
- support ad traffic
|
|
15
|
+
- reduce bounce
|
|
16
|
+
- communicate value clearly
|
|
17
|
+
- load fast on mobile
|
|
18
|
+
|
|
19
|
+
Do not turn this project into a generic showcase. Preserve the business purpose and conversion/operation goals implied by the project type.
|