autoforge-ai-ven1ce7 1.0.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/.autoforge/templates/spec_prompt.template.md +78 -0
- package/.claude/commands/check-code.md +32 -0
- package/.claude/commands/checkpoint.md +40 -0
- package/.claude/commands/create-spec.md +613 -0
- package/.claude/commands/expand-project.md +234 -0
- package/.claude/commands/gsd-to-autoforge-spec.md +10 -0
- package/.claude/commands/review-pr.md +106 -0
- package/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/.claude/skills/frontend-design/SKILL.md +42 -0
- package/.claude/skills/gsd-to-autoforge-spec/SKILL.md +221 -0
- package/.claude/skills/gsd-to-autoforge-spec/references/app-spec-format.md +293 -0
- package/.claude/skills/playwright-cli/SKILL.md +259 -0
- package/.claude/skills/playwright-cli/references/request-mocking.md +87 -0
- package/.claude/skills/playwright-cli/references/running-code.md +232 -0
- package/.claude/skills/playwright-cli/references/session-management.md +169 -0
- package/.claude/skills/playwright-cli/references/storage-state.md +275 -0
- package/.claude/skills/playwright-cli/references/test-generation.md +88 -0
- package/.claude/skills/playwright-cli/references/tracing.md +139 -0
- package/.claude/skills/playwright-cli/references/video-recording.md +43 -0
- package/.claude/templates/app_spec.template.txt +331 -0
- package/.claude/templates/coding_prompt.template.md +280 -0
- package/.claude/templates/initializer_prompt.template.md +354 -0
- package/.claude/templates/testing_prompt.template.md +150 -0
- package/.env.example +76 -0
- package/.opencode/opencode.json +32 -0
- package/LICENSE.md +676 -0
- package/README.md +408 -0
- package/agent.py +528 -0
- package/api/__init__.py +10 -0
- package/api/database.py +561 -0
- package/api/dependency_resolver.py +449 -0
- package/api/migration.py +156 -0
- package/auth.py +83 -0
- package/autoforge_paths.py +326 -0
- package/autonomous_agent_demo.py +320 -0
- package/bin/autoforge.js +3 -0
- package/client.py +497 -0
- package/env_constants.py +28 -0
- package/examples/OPTIMIZE_CONFIG.md +230 -0
- package/examples/README.md +531 -0
- package/examples/org_config.yaml +172 -0
- package/examples/project_allowed_commands.yaml +139 -0
- package/lib/cli.js +978 -0
- package/mcp_server/__init__.py +1 -0
- package/mcp_server/feature_mcp.py +1141 -0
- package/opencode_bash_guard.py +23 -0
- package/opencode_config.py +220 -0
- package/opencode_runtime.py +182 -0
- package/opencode_spec.py +336 -0
- package/package.json +61 -0
- package/parallel_orchestrator.py +1870 -0
- package/progress.py +264 -0
- package/prompts.py +832 -0
- package/pyproject.toml +17 -0
- package/rate_limit_utils.py +132 -0
- package/registry.py +852 -0
- package/requirements-prod.txt +15 -0
- package/security.py +1001 -0
- package/server/__init__.py +17 -0
- package/server/main.py +277 -0
- package/server/routers/__init__.py +32 -0
- package/server/routers/agent.py +205 -0
- package/server/routers/assistant_chat.py +363 -0
- package/server/routers/devserver.py +436 -0
- package/server/routers/expand_project.py +245 -0
- package/server/routers/features.py +821 -0
- package/server/routers/filesystem.py +514 -0
- package/server/routers/projects.py +524 -0
- package/server/routers/schedules.py +356 -0
- package/server/routers/settings.py +197 -0
- package/server/routers/spec_creation.py +363 -0
- package/server/routers/terminal.py +459 -0
- package/server/schemas.py +716 -0
- package/server/services/__init__.py +36 -0
- package/server/services/assistant_chat_session.py +523 -0
- package/server/services/assistant_database.py +304 -0
- package/server/services/chat_constants.py +111 -0
- package/server/services/dev_server_manager.py +568 -0
- package/server/services/expand_chat_session.py +407 -0
- package/server/services/process_manager.py +829 -0
- package/server/services/project_config.py +475 -0
- package/server/services/scheduler_service.py +683 -0
- package/server/services/spec_chat_session.py +203 -0
- package/server/services/terminal_manager.py +756 -0
- package/server/utils/__init__.py +1 -0
- package/server/utils/process_utils.py +134 -0
- package/server/utils/project_helpers.py +32 -0
- package/server/utils/validation.py +54 -0
- package/server/websocket.py +939 -0
- package/start.py +499 -0
- package/temp_cleanup.py +221 -0
- package/ui/dist/assets/index-DjOkaq7Z.js +95 -0
- package/ui/dist/assets/index-JNM7eUj7.css +1 -0
- package/ui/dist/assets/vendor-flow-CVNK-_lx.js +7 -0
- package/ui/dist/assets/vendor-markdown-lmnOnLXp.js +29 -0
- package/ui/dist/assets/vendor-query-BUABzP5o.js +1 -0
- package/ui/dist/assets/vendor-radix-DjWauVBs.js +45 -0
- package/ui/dist/assets/vendor-react-qkC6yhPU.js +1 -0
- package/ui/dist/assets/vendor-utils-BaL7xioT.js +2 -0
- package/ui/dist/assets/vendor-xterm-DP_gxef0.js +16 -0
- package/ui/dist/index.html +24 -0
- package/ui/dist/logo.png +0 -0
- package/ui/dist/ollama.png +0 -0
- package/ui/dist/vite.svg +6 -0
- package/ui/package.json +60 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create an app spec for autonomous coding (project)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# PROJECT DIRECTORY
|
|
6
|
+
|
|
7
|
+
This command requires the project directory via `$ARGUMENTS`.
|
|
8
|
+
|
|
9
|
+
Output targets:
|
|
10
|
+
- `$ARGUMENTS/.autoforge/prompts/app_spec.txt`
|
|
11
|
+
- `$ARGUMENTS/.autoforge/prompts/initializer_prompt.md`
|
|
12
|
+
|
|
13
|
+
If `$ARGUMENTS` is empty, ask for a valid project path and stop.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# ROLE
|
|
18
|
+
|
|
19
|
+
You are the Spec Creation Assistant. Your job is to run a clear, user-friendly conversation that turns a rough app idea into a complete technical spec for an autonomous coding workflow.
|
|
20
|
+
|
|
21
|
+
Support both technical and non-technical users:
|
|
22
|
+
- Ask plain-language product questions first.
|
|
23
|
+
- Derive technical architecture from requirements when the user prefers quick mode.
|
|
24
|
+
- Ask technical follow-ups only when needed.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# CONVERSATION FLOW
|
|
29
|
+
|
|
30
|
+
Run this as a phased conversation, one phase at a time.
|
|
31
|
+
Do not dump all questions in one turn.
|
|
32
|
+
|
|
33
|
+
1. Project basics: name, purpose, users.
|
|
34
|
+
2. Involvement mode: quick (recommended) or detailed.
|
|
35
|
+
3. Tech preferences and data persistence requirement.
|
|
36
|
+
4. Core features and user workflows (deepest phase).
|
|
37
|
+
5. Derive technical details (entities, APIs, layout, architecture).
|
|
38
|
+
6. Define success criteria.
|
|
39
|
+
7. Review and final confirmation.
|
|
40
|
+
|
|
41
|
+
Always confirm before finalizing outputs.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# FEATURE COUNT
|
|
46
|
+
|
|
47
|
+
Do not ask the user to guess a feature count.
|
|
48
|
+
Derive it from requirements and show a brief category breakdown.
|
|
49
|
+
|
|
50
|
+
If persistent data is required, include five mandatory infrastructure checks in the plan:
|
|
51
|
+
1. Database connection established
|
|
52
|
+
2. Database schema applied correctly
|
|
53
|
+
3. Data persists across server restart
|
|
54
|
+
4. No mock data patterns in codebase
|
|
55
|
+
5. Backend API queries real database
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
# OUTPUT REQUIREMENTS
|
|
60
|
+
|
|
61
|
+
When the user confirms, produce content for:
|
|
62
|
+
- `app_spec.txt` using `<project_specification>...</project_specification>` XML
|
|
63
|
+
- `initializer_prompt.md` with exact feature count inserted
|
|
64
|
+
|
|
65
|
+
Your final output must be a single JSON object (no markdown fences) with:
|
|
66
|
+
- `app_spec_txt`
|
|
67
|
+
- `initializer_prompt_md`
|
|
68
|
+
|
|
69
|
+
Do not include extra top-level keys.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
# START
|
|
74
|
+
|
|
75
|
+
Open with a short friendly greeting and ask only the first three basics:
|
|
76
|
+
1. Project name
|
|
77
|
+
2. What they want to build
|
|
78
|
+
3. Who it is for
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
description:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Run the following commands and ensure the code is clean.
|
|
6
|
+
|
|
7
|
+
From project root:
|
|
8
|
+
|
|
9
|
+
# Python linting
|
|
10
|
+
|
|
11
|
+
ruff check .
|
|
12
|
+
|
|
13
|
+
# Security tests
|
|
14
|
+
|
|
15
|
+
python test_security.py
|
|
16
|
+
|
|
17
|
+
From ui/ directory:
|
|
18
|
+
cd ui
|
|
19
|
+
|
|
20
|
+
# ESLint (will fail until we add the config)
|
|
21
|
+
|
|
22
|
+
npm run lint
|
|
23
|
+
|
|
24
|
+
# TypeScript check + build
|
|
25
|
+
|
|
26
|
+
npm run build
|
|
27
|
+
|
|
28
|
+
One-liner to run everything:
|
|
29
|
+
ruff check . && python test_security.py && cd ui && npm run lint && npm run build
|
|
30
|
+
|
|
31
|
+
Or if you want to see all failures at once (doesn't stop on first error):
|
|
32
|
+
ruff check .; python test_security.py; cd ui && npm run lint; npm run build
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create commit with detailed comment
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Please create a comprehensive checkpoint commit with the following steps:
|
|
6
|
+
|
|
7
|
+
1. **Initialize Git if needed**: Run `git init` if git has not been instantiated for the project yet.
|
|
8
|
+
|
|
9
|
+
2. **Analyze all changes**:
|
|
10
|
+
|
|
11
|
+
- Run `git status` to see all tracked and untracked files
|
|
12
|
+
- Run `git diff` to see detailed changes in tracked files
|
|
13
|
+
- Run `git log -5 --oneline` to understand the commit message style of this repository
|
|
14
|
+
|
|
15
|
+
3. **Stage everything**:
|
|
16
|
+
|
|
17
|
+
- Add ALL tracked changes (modified and deleted files)
|
|
18
|
+
- Add ALL untracked files (new files)
|
|
19
|
+
- Use `git add -A` or `git add .` to stage everything
|
|
20
|
+
|
|
21
|
+
4. **Create a detailed commit message**:
|
|
22
|
+
|
|
23
|
+
- **First line**: Write a clear, concise summary (50-72 chars) describing the primary change
|
|
24
|
+
- Use imperative mood (e.g., "Add feature" not "Added feature")
|
|
25
|
+
- Examples: "feat: add user authentication", "fix: resolve database connection issue", "refactor: improve API route structure"
|
|
26
|
+
- **Body**: Provide a detailed description including:
|
|
27
|
+
- What changes were made (list of key modifications)
|
|
28
|
+
- Why these changes were made (purpose/motivation)
|
|
29
|
+
- Any important technical details or decisions
|
|
30
|
+
- Breaking changes or migration notes if applicable
|
|
31
|
+
- **Footer**: Include co-author attribution as shown in the Git Safety Protocol
|
|
32
|
+
|
|
33
|
+
5. **Execute the commit**: Create the commit with the properly formatted message following this repository's conventions.
|
|
34
|
+
|
|
35
|
+
IMPORTANT:
|
|
36
|
+
|
|
37
|
+
- Do NOT skip any files - include everything
|
|
38
|
+
- Make the commit message descriptive enough that someone reviewing the git log can understand what was accomplished
|
|
39
|
+
- Follow the project's existing commit message conventions (check git log first)
|
|
40
|
+
- Include the Claude Code co-author attribution in the commit message
|