feat: bootstrap dongba (schema, contract, docs, plan) #41
No reviewers
Labels
No labels
area/backend
area/db
area/devops
area/docs
area/frontend
coordination
course-requirement
kind/deliverable
kind/design
kind/feature
kind/task
phase-2
status
blocked
status
in-progress
status
ready
status
review
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
k8s-services/dongba!41
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/bootstrap"
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?
Bootstraps dongba: database, API contract, docs, plan and agent guide. Issues #1–#40 track everything that follows.
Database (
db/)BINARY(16); the SQL is portable across MariaDB 11 and MySQL 8.4EXIT HANDLER → ROLLBACK; RESIGNAL)FOR UPDATE SKIP LOCKEDwith worker leasesdb/build.shbundles it all intodb/dongba.sql(course deliverable, Workbench import)dongba(schema only) anddongba_test(schema and demo data)Contract —
openapi.yamlv0 covering identity, projects, files, revisions, sharing, teams, review, rendering, templates and reports. Passes redocly lint.Docs — architecture, data model (mermaid ER per domain, cardinalities, BCNF argument, views, procedures, triggers, Workbench steps), operations, development, reference, design, AI usage log. Compiled to
docs-html/with tern.Process — PLAN.md (milestones, dependency graph, board, issue conventions, decisions) and CLAUDE.md (coordination channel #40, Forgejo API with kanban moves, workflow, DB/backend/frontend rules, headless Chrome UI verification, docs standard, AI disclosure).
Verification
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q7bU4Kec4w6pVqigbajupv
Follow-up: the schema and seed now also load cleanly on MySQL 8.4.11. Two fixes landed:
v_file_pathscasts paths toutf8mb4with an explicit collation, so it no longer depends on the client charset or the server's default collation.db/dongba.sqlalso starts withSET NAMES utf8mb4. The views on the server (dongba,dongba_test) are updated.