Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
fe0ec20
agent 3
ak-asu Mar 21, 2026
15556a3
test
ak-asu Mar 21, 2026
a91d311
groq to ollama
ak-asu Mar 21, 2026
e32d2c0
Merge branch 'main' of githuba:devgunnu/cloudforge into agent3
ak-asu Mar 22, 2026
37d3f48
inconsistency resolves
ak-asu Mar 22, 2026
ef8937f
Merge remote-tracking branch 'origin/agent3' into integrations
devgunnu Mar 22, 2026
417a3b6
fix: deduplicate configProps by key to prevent duplicate React keys
devgunnu Mar 22, 2026
9c0ee7e
fix: replace O(N*E) nodes.find in DiagramEdge with O(1) nodeMap.get
devgunnu Mar 22, 2026
4d91625
fix: use terraformResource for accurate AWS service icon mapping
devgunnu Mar 22, 2026
e5f76e4
fix: clear tooltip timer on ArchDiagram unmount
devgunnu Mar 22, 2026
46e3d26
fix: add role="img" to diagram wrapper so aria-label is announced
devgunnu Mar 22, 2026
69a3a7d
Merge pull request #5 from devgunnu/feat/arch-display-rewrite
devgunnu Mar 22, 2026
ea908d1
Merge remote-tracking branch 'origin/main' into integrations
devgunnu Mar 22, 2026
380a94f
feat(config): extend settings with MongoDB, JWT, Fernet, GitHub OAuth…
devgunnu Mar 22, 2026
276a6d1
feat(db): add Motor client singleton and collection accessors
devgunnu Mar 22, 2026
d75b0db
feat(db): add Fernet encrypt/decrypt wrapper
devgunnu Mar 22, 2026
f302f42
feat(core): add JWT create/decode utilities and password hashing
devgunnu Mar 22, 2026
5b07791
feat(core): add get_current_user and require_project_owner dependencies
devgunnu Mar 22, 2026
ce8c868
chore(deps): add motor, pymongo, cryptography, python-jose, passlib, …
devgunnu Mar 22, 2026
8a5b931
feat(main): add lifespan, CORS middleware, and router registration
devgunnu Mar 22, 2026
f8c0bcc
feat(auth): add auth schemas — RegisterRequest, LoginRequest, AuthRes…
devgunnu Mar 22, 2026
559ebfe
feat(auth): add register, login, refresh, me, and GitHub OAuth endpoints
devgunnu Mar 22, 2026
50ad05c
feat(projects): add project schemas — ProjectCreate, ProjectUpdate, P…
devgunnu Mar 22, 2026
99fd286
feat(projects): add CRUD and cloud credentials storage endpoints
devgunnu Mar 22, 2026
60abae9
feat(prd): add Agent 1 SSE wrapper — constraint chip extraction and a…
devgunnu Mar 22, 2026
2f24236
fix(agents): convert compliance and service discovery nodes to sync
devgunnu Mar 22, 2026
f2c509a
feat(arch): add architecture SSE schemas — ArchSSEStartRequest, Respo…
devgunnu Mar 22, 2026
d4da03a
feat(arch): add Agent 2 astream SSE router v2 with interrupt detectio…
devgunnu Mar 22, 2026
32a438f
feat(build): add GitHub tree-based commit service via Git Data API
devgunnu Mar 22, 2026
bdbcce0
feat(build): add Agent 3 build SSE, status, GitHub commit, and repo l…
devgunnu Mar 22, 2026
d9a9e7a
feat(deploy): add CloudProvider base class, AWSProvider with STS+Clou…
devgunnu Mar 22, 2026
096ae53
feat(deploy): add deploy SSE, rollback, and status endpoints
devgunnu Mar 22, 2026
675599a
feat(frontend): add auth store with JWT persistence, update forgeStor…
devgunnu Mar 22, 2026
87d24f0
feat(frontend): wire login/signup to auth API, replace agent mocks wi…
devgunnu Mar 22, 2026
bd910c4
docs: add env.sample and startup guides for backend and frontend
devgunnu Mar 22, 2026
7b9d00e
fix(auth): correct ObjectId/string comparison in require_project_owne…
devgunnu Mar 22, 2026
c28d4d0
fix(security): migrate from python-jose (CVE-2024-33664/33663) to PyJWT
devgunnu Mar 22, 2026
d042a69
fix(startup): fail fast on missing JWT_SECRET_KEY or FERNET_KEY, wrap…
devgunnu Mar 22, 2026
16c8d02
fix(sse): fix silent exception swallowing in build stream, add client…
devgunnu Mar 22, 2026
8f1697c
perf(db): add MongoDB indexes for all query patterns — users, project…
devgunnu Mar 22, 2026
3da07e1
feat(encryption): replace single Fernet key with MultiFernet to suppo…
devgunnu Mar 22, 2026
620e76b
refactor(utils): extract shared serialize_doc utility, remove duplica…
devgunnu Mar 22, 2026
e9b7f6b
fix(validation): add min/max length constraints to prd_text, project …
devgunnu Mar 22, 2026
0aec530
feat(ratelimit): add SlowAPI rate limiting to auth endpoints — 5/min …
devgunnu Mar 22, 2026
6483a74
fix(frontend): SSR-safe authHeaders, token refresh on 401, AbortContr…
devgunnu Mar 22, 2026
430bee1
Fixed agent 1
BhavyaShah1234 Mar 22, 2026
9dc1731
delete redundant files
Mar 22, 2026
be93501
major ui
devgunnu Mar 22, 2026
fecc668
Merge branch 'integrations' of https://github.com/devgunnu/cloudforge…
devgunnu Mar 22, 2026
5e31f20
Working on agent1 and agent2
BhavyaShah1234 Mar 22, 2026
341cf11
ui changes
devgunnu Mar 22, 2026
4468238
Fixed agent1 question repition and tested with gemma3
BhavyaShah1234 Mar 22, 2026
4e1c133
agent 2 pre fix
devgunnu Mar 22, 2026
d5f69bb
preview ui changes
ak-asu Mar 22, 2026
ab78e37
merge conflicts
ak-asu Mar 22, 2026
490b93b
Merge pull request #7 from devgunnu/uienhance
ak-asu Mar 22, 2026
76e03a6
Merged changes from integrations branch
BhavyaShah1234 Mar 22, 2026
c1e8e8c
Added more LLM providers with Ollama as default
BhavyaShah1234 Mar 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"permissions": {
"allow": [
"Bash(python3:*)",
"Bash(ls -la \"/c/Users/gunbi/OneDrive/Desktop/cloudforge/frontend/src/app/\\(auth\\)/\")",
"Bash(find /c/Users/gunbi/OneDrive/Desktop/cloudforge/backend -name .env* -o -name *.env)",
"Bash(cat:*)",
"Bash(npx tsc:*)",
"Bash(xargs grep:*)",
"Bash(ls:*)"
]
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ coverage/

# ── CloudForge specific ───────────────────────────────────────
backend/outputs

*/.env
12 changes: 0 additions & 12 deletions backend/.env.example

This file was deleted.

59 changes: 59 additions & 0 deletions backend/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# ── App ───────────────────────────────────────────────────────────────────────
APP_NAME=CloudForge API
APP_ENV=development
DEBUG=true
HOST=0.0.0.0
PORT=8000

# ── MongoDB ───────────────────────────────────────────────────────────────────
MONGODB_URL=mongodb://localhost:27017
MONGODB_DB_NAME=cloudforge

# ── JWT ───────────────────────────────────────────────────────────────────────
# Generate with: python -c "import secrets; print(secrets.token_hex(32))"
JWT_SECRET_KEY=replace_with_64_char_hex
JWT_ALGORITHM=HS256
JWT_ACCESS_EXPIRE_MINUTES=30
JWT_REFRESH_EXPIRE_DAYS=7

# ── Encryption (Fernet) ───────────────────────────────────────────────────────
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
FERNET_KEY=replace_with_fernet_key

# ── GitHub OAuth ──────────────────────────────────────────────────────────────
# Create an OAuth App at https://github.com/settings/developers
# Homepage URL: http://localhost:3000
# Callback URL: http://localhost:8000/auth/github/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT_URI=http://localhost:8000/auth/github/callback

# ── Anthropic ─────────────────────────────────────────────────────────────────
# Required when ARCH_MODEL_TYPE=anthropic (Agent 2 uses Claude)
ANTHROPIC_API_KEY=sk-ant-...

# ── Frontend ──────────────────────────────────────────────────────────────────
FRONTEND_URL=http://localhost:3000

# ── Agent 1 (PRD) — Ollama ────────────────────────────────────────────────────
OLLAMA_BASE_URL=http://localhost:11434
QWEN_MODEL=qwen3.5:latest
LLM_TEMPERATURE=0.2
LLM_TIMEOUT_SECONDS=90
ENABLE_WEB_SEARCH=true
MAX_CLARIFICATION_ROUNDS=6
MAX_RESEARCH_ROUNDS=3

# ── Agent 2 (Architecture Planner) ───────────────────────────────────────────
# Set to "anthropic" + fill ANTHROPIC_API_KEY to use Claude.
# Set to "ollama" + set ARCH_MODEL_NAME for a local model.
ARCH_MODEL_TYPE=ollama
ARCH_MODEL_NAME=llama3.1:8b

# ── Agent 3 (Code / Terraform Generator) — Ollama ────────────────────────────
AGENT3_MODEL=qwen3.5
AGENT3_FAST_MODEL=qwen3.5

# ── Agent data paths ─────────────────────────────────────────────────────────
GRAPH_JSON_PATH=app/agents/data/graph/graph.json
KUZU_DB_PATH=./cloudforge_db
Loading