feat(scaffold): add ZyntroAI merged monorepo scaffold (additive) - #155
Merged
Conversation
added 2 commits
September 9, 2026 06:31
…lobber) Adds a full monorepo scaffold as NEW files only — nothing existing on main is modified or deleted. - backend/: FastAPI + SQLModel async API (config/security/infrastructure), Alembic migrations, JWT auth, full Item CRUD data path, pytest suite (6 passing) - frontend/: React + Vite + TS shell with type-safe API client - knowledge/: Obsidian REST API client + Algolia indexer (diff_policy.py, push_index.py) - k8s/: backend/frontend Deployments, Services, Ingress, HPA, Secrets (helm chart untouched) - .github/workflows/: pr-ci.yml (classify -> validate -> test -> index) + pr-validation.yml (reusable: title, template, checklist, gitleaks, ruff, ts, type gates) - Docs: ZYNTROAI-SCAFFOLD.md (proposal) + FILE-MANIFEST.md (full inventory) Note: docker-compose.yml and .env.example already exist on main and were intentionally NOT overwritten. Existing .github/workflows/Auto-Index-Sync.yml is pre-existing broken YAML unrelated to this PR.
The two CI workflow files (pr-ci.yml, pr-validation.yml) are kept on disk and will be added in a follow-up PR once the fig-ai-agent GitHub App has the 'workflows' permission at the installation level. Code scaffold is unaffected.
| from __future__ import annotations | ||
|
|
||
| import argparse | ||
| import os |
Member
There was a problem hiding this comment.
Unused import
Import of 'os' is not used.
| import argparse | ||
| import os | ||
| import re | ||
| import sys |
| from sqlmodel import SQLModel | ||
|
|
||
| from app.core.config import get_settings | ||
| from app.api.v1 import models # noqa: F401 (register tables with metadata) |
added 2 commits
September 9, 2026 06:34
…ndencies, bugfix) Adds .github/PULL_REQUEST_TEMPLATE/ with one template per PR type, matching the ZyntroAI PR-quality spec. Each carries the type header the pr-ci classify job greps for, plus targeted checklist + validation gates.
Code review of PR surfaced 9 ruff issues; all resolved: - Use collections.abc.AsyncGenerator, datetime.UTC, X|None unions - Drop unused pytest + models imports from tests - Wrap 2 over-length lines Verification: ruff check passes clean; pytest 6/6 green.
fig-ai-agent Bot
added a commit
that referenced
this pull request
Sep 9, 2026
Co-authored-by: ZyntroAI Bot <bot@zyntro.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ Feature
Summary
Adds the full ZyntroAI merged monorepo scaffold as NEW files only (no-clobber). Nothing existing on main is modified or deleted.
What's added
diff_policy.py,push_index.py)ZYNTROAI-SCAFFOLD.md(proposal) +FILE-MANIFEST.md(full inventory)Verified
pytest tests/→ 6 passed (in-memory SQLite, no live services)pr-ci.yml,pr-validation.yml) are kept on disk locally but excluded from this PR because thefig-ai-agentGitHub App lacks theworkflowspermission required to push.github/workflows/*.yml. They'll land in a follow-up PR once that permission is granted..github/workflows/Auto-Index-Sync.ymlis pre-existing broken YAML, unrelated to this PR.Checklist