gaslighting-engine 0.3.0 → 0.4.0
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 +147 -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 +145 -4
- package/dist/commands/agent.js +11 -0
- package/dist/commands/apiRun.js +32 -0
- package/dist/commands/cockpit.js +61 -7
- package/dist/commands/desktop.js +37 -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/cockpitHtml.js +4 -2
- package/dist/core/codexRuntime.js +44 -32
- 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 +186 -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 +36 -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
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -0,0 +1,37 @@
|
|
|
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: I want to build a hospital website.
|
|
8
|
+
- Project type: hospital_homepage
|
|
9
|
+
- Classification confidence: medium
|
|
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
|
+
- Home
|
|
28
|
+
- Hospital Introduction
|
|
29
|
+
- Departments / Treatments
|
|
30
|
+
- Doctor Profiles
|
|
31
|
+
- Consultation / Contact
|
|
32
|
+
- Location
|
|
33
|
+
- Privacy Policy
|
|
34
|
+
|
|
35
|
+
## Compatibility Files
|
|
36
|
+
|
|
37
|
+
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.
|
|
@@ -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,17 @@
|
|
|
1
|
+
# Core Scope Tasks
|
|
2
|
+
|
|
3
|
+
- [ ] Preserve and restate the project purpose for `hospital_homepage`.
|
|
4
|
+
- [ ] Implement all required MVP pages or feature surfaces.
|
|
5
|
+
- [ ] Implement and verify page/surface: Home
|
|
6
|
+
- [ ] Implement and verify page/surface: Hospital Introduction
|
|
7
|
+
- [ ] Implement and verify page/surface: Departments / Treatments
|
|
8
|
+
- [ ] Implement and verify page/surface: Doctor Profiles
|
|
9
|
+
- [ ] Implement and verify page/surface: Consultation / Contact
|
|
10
|
+
- [ ] Implement and verify page/surface: Location
|
|
11
|
+
- [ ] Implement and verify page/surface: Privacy Policy
|
|
12
|
+
- [ ] Verify build/test/lint/browser flow as appropriate.
|
|
13
|
+
- [ ] Update decisions, missing info, memory, and project care files.
|
|
14
|
+
|
|
15
|
+
Original request:
|
|
16
|
+
|
|
17
|
+
> I want to build a hospital website.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Open Questions
|
|
2
|
+
|
|
3
|
+
- Medical department, doctors, and clinic credentials: Replace with verified doctors, treatments, licenses, address, phone, and medical copy.
|
|
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,20 @@
|
|
|
1
|
+
# Project Purpose
|
|
2
|
+
|
|
3
|
+
Original request:
|
|
4
|
+
|
|
5
|
+
> I want to build a hospital website.
|
|
6
|
+
|
|
7
|
+
Project type: `hospital_homepage`
|
|
8
|
+
|
|
9
|
+
The purpose is:
|
|
10
|
+
|
|
11
|
+
- increase trust
|
|
12
|
+
- generate consultation inquiries
|
|
13
|
+
- support reservation conversion
|
|
14
|
+
- make departments and treatments understandable
|
|
15
|
+
- make doctors and hospital credibility visible
|
|
16
|
+
- help mobile visitors contact the hospital quickly
|
|
17
|
+
- support local SEO
|
|
18
|
+
- make location and contact information obvious
|
|
19
|
+
|
|
20
|
+
Do not turn this project into a generic showcase. Preserve the business purpose and conversion/operation goals implied by the project type.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# GitHub Operations
|
|
2
|
+
|
|
3
|
+
Project root: `examples/hospital-homepage`
|
|
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,76 @@
|
|
|
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: I want to build a hospital website.
|
|
15
|
+
- Project type: hospital_homepage
|
|
16
|
+
- Classification confidence: medium
|
|
17
|
+
- Project purpose:
|
|
18
|
+
- increase trust
|
|
19
|
+
- generate consultation inquiries
|
|
20
|
+
- support reservation conversion
|
|
21
|
+
- make departments and treatments understandable
|
|
22
|
+
- make doctors and hospital credibility visible
|
|
23
|
+
- help mobile visitors contact the hospital quickly
|
|
24
|
+
- support local SEO
|
|
25
|
+
- make location and contact information obvious
|
|
26
|
+
|
|
27
|
+
## Git And GitHub Registry
|
|
28
|
+
|
|
29
|
+
| Item | Status | Next Action |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| Git repository | Detected, branch `main` | Commit meaningful checkpoints. |
|
|
32
|
+
| Origin remote | `https://github.com/nohsangwoo/GaslightingEngineering.git` | Keep remote ownership recorded when it changes. |
|
|
33
|
+
| GitHub remote | Detected | Use GitHub as the source-of-truth remote. |
|
|
34
|
+
|
|
35
|
+
## Domain And Deployment Registry
|
|
36
|
+
|
|
37
|
+
| Item | Current Status | Risk | Next Action |
|
|
38
|
+
|---|---|---|---|
|
|
39
|
+
| Production domain | Missing | Users cannot reach production reliably. | Confirm domain owner, DNS provider, and final domain. |
|
|
40
|
+
| DNS provider | Missing | Launch can be delayed by DNS access issues. | Record provider, account owner, and nameserver strategy. |
|
|
41
|
+
| Deployment target | Not confirmed | Environment drift and launch confusion. | Confirm Vercel, Netlify, Cloudflare, or other target. |
|
|
42
|
+
| Preview URL policy | Missing | Stakeholders cannot review safely. | Decide preview deployment workflow. |
|
|
43
|
+
| Rollback path | Missing | Production incidents become slower to recover. | Define rollback command/provider workflow. |
|
|
44
|
+
|
|
45
|
+
## Care Checklist
|
|
46
|
+
|
|
47
|
+
- [x] Git repository: Git repository detected on branch main. Next: Keep committing discipline and implementation changes.
|
|
48
|
+
- [x] GitHub remote: GitHub remote detected: https://github.com/nohsangwoo/GaslightingEngineering.git Next: Record repository decisions in DECISION_LOG.md when remote ownership changes.
|
|
49
|
+
- [ ] Project package file: package.json is missing. Next: Create package.json when implementation starts, unless this is not a Node project.
|
|
50
|
+
- [ ] Deployment target: No explicit deployment config detected. Next: Confirm deployment target, production domain, preview environment, and rollback path before launch.
|
|
51
|
+
- [ ] Environment template: .env.example is missing. Next: Add .env.example before sharing the project so required secrets are visible without exposing real values.
|
|
52
|
+
- [ ] Production domain confirmed.
|
|
53
|
+
- [ ] DNS owner confirmed.
|
|
54
|
+
- [ ] Deployment provider confirmed.
|
|
55
|
+
- [ ] Analytics ownership confirmed.
|
|
56
|
+
- [ ] Form/email delivery owner confirmed.
|
|
57
|
+
- [ ] Privacy/legal review path confirmed.
|
|
58
|
+
- [ ] Launch checklist created before production release.
|
|
59
|
+
|
|
60
|
+
## Agent Care Rules
|
|
61
|
+
|
|
62
|
+
- Do not stop implementation just because an operational detail is missing.
|
|
63
|
+
- Do make a practical assumption, record it, and keep moving.
|
|
64
|
+
- If Git is not initialized, ask for a GitHub URL and offer the exact commands.
|
|
65
|
+
- If Git is initialized but no GitHub remote exists, ask for the remote URL and offer `git remote add origin <url>`.
|
|
66
|
+
- If the user provides a GitHub URL, run `gaslighting-engine care --github-url <url>` or connect it directly with Git CLI.
|
|
67
|
+
- If GitHub is connected, record the remote URL here and in `DECISION_LOG.md` when it changes.
|
|
68
|
+
- If domain or deployment details are missing, keep warning until they are confirmed.
|
|
69
|
+
- Treat missing domain, deployment, analytics, email, and privacy ownership as mission-critical launch risks, not as reasons to abandon the task.
|
|
70
|
+
- Never turn care warnings into fake blockers.
|
|
71
|
+
|
|
72
|
+
## Current Care Warnings
|
|
73
|
+
|
|
74
|
+
- Project package file: package.json is missing. Action: Create package.json when implementation starts, unless this is not a Node project.
|
|
75
|
+
- Deployment target: No explicit deployment config detected. Action: Confirm deployment target, production domain, preview environment, and rollback path before launch.
|
|
76
|
+
- 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,15 @@
|
|
|
1
|
+
# Consultation / Contact Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Departments / Treatments Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Doctor Profiles Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Home Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Hospital Introduction Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Location Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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,15 @@
|
|
|
1
|
+
# Privacy Policy Page PRD
|
|
2
|
+
|
|
3
|
+
Project type: `hospital_homepage`
|
|
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.
|