Scaffold pal-e-docs service (SQLite + cluster knowledge API) #1
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Scaffold pal-e-docs as the platform's knowledge service — SQLite-backed, queryable by all services and AI agents.
Architecture
SQLite on PVC, not Postgres. Repo contains schema + app code only. Docs accumulate in
.dbfile on PersistentVolumeClaim. Repo never grows as content is added.Platform Role
pal-e-docs is the cluster's brain. Other services and AI agents query its API:
GET /notes?tags=auth,sop→ platform SOPs about authGET /projects/basketball-api/notes→ all basketball-api decisionsGET /notes/{slug}→ specific doc with HTML contentMinimizes token cost for AI (targeted queries vs crawling files). Same data serves human-readable frontend.
Data Model
IDs are integers (SQLite autoincrement), not UUIDs.
API Endpoints
k8s Manifests (no postgres)
var.services entry
Depends on
Scaffold pal-e-docs serviceto Scaffold pal-e-docs service (SQLite + cluster knowledge API)