docs: add universal context capsule
CI / test (pull_request) Failing after 6s

This commit is contained in:
2026-09-28 22:15:02 +08:00
parent 8ac22a4c52
commit 6588e128bd
7 changed files with 238 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
# Hulumath Context Boot
## Purpose
Hulumath is a public mathematics product built as a Django modular monolith.
It combines mathematical identity, stories, competitions, courses,
progression and constrained mathematical tools.
## Repository Map
```text
backend/ Django applications, APIs, templates and static assets
docs/ product, release and deployment documentation
scripts/ deployment and maintenance helpers
deploy/ production configuration templates
context/ bounded repository identity for Universal Context
```
## Read Order
```text
AGENTS.md
-> context/boot.md
-> context/capsule.json
-> README.md
-> relevant document under docs/
-> relevant Django application under backend/
```
Runtime credentials, databases, uploads and account data are never context
inputs. Current production claims require a fresh JOps observation.
+95
View File
@@ -0,0 +1,95 @@
{
"schema": 1,
"kind": "jcm.repository-capsule",
"repository": {
"id": "hulumath",
"name": "Hulumath",
"remote": "Jacky/Hulumath-Web",
"role": "public-mathematics-product",
"summary": "Owns the public Hulumath Django application, mathematical content, competitions, learning tools and product release evidence."
},
"domains": [
"platform",
"learning"
],
"context": {
"entrypoint": "AGENTS.md",
"read_order": [
"AGENTS.md",
"context/boot.md",
"context/capsule.json",
"context/manifest.json",
"README.md",
"docs/RELEASE_NOTES_V1.2.1.md",
"docs/DEPLOYMENT.md"
]
},
"ownership": {
"owns": [
"Hulumath product behavior and mathematical content",
"Django application, APIs and WebSocket contracts",
"Hulumath release and migration documentation"
],
"excludes": [
"JLearn accounts, sessions and learner data",
"Shared platform edge and runtime operations",
"Production secrets, databases and uploads"
]
},
"contracts": null,
"services": [
{
"id": "hulumath-web",
"name": "Hulumath",
"kind": "public-mathematics-application",
"summary": "Responsive mathematics product with identity, stories, contests, courses and tools.",
"public_urls": [
"https://math.jacky0987.xyz/"
],
"domains": [
"platform",
"learning"
]
}
],
"relationships": [
{
"target": "jlearn",
"type": "integrates",
"summary": "Receives a public link from JLearn but keeps independent accounts and data."
},
{
"target": "jops",
"type": "operates",
"summary": "Relies on JOps for shared edge and production runtime evidence."
}
],
"runtime": {
"authority": "none"
},
"current_state": {
"status": "released",
"summary": "The repository release baseline is v1.2.1; this source state does not claim current production health.",
"evidence": [
"README.md",
"docs/RELEASE_NOTES_V1.2.1.md",
"docs/DEPLOYMENT.md"
]
},
"facts": [
{
"id": "hulumath-platform-boundary",
"scope": "platform",
"summary": "Hulumath is an independently deployed product whose shared edge and runtime evidence belong to JOps.",
"authority": "canonical",
"evidence": "docs/DEPLOYMENT.md"
},
{
"id": "hulumath-learning-scope",
"scope": "learning",
"summary": "Hulumath combines mathematical identity, stories, competitions, courses, progression and constrained tools.",
"authority": "canonical",
"evidence": "README.md"
}
]
}
+35
View File
@@ -0,0 +1,35 @@
{
"schema_version": "2.0.0",
"bundle_type": "repo-local-ai",
"repository": {
"owner": "Jacky",
"name": "Hulumath-Web",
"role": "public-mathematics-product"
},
"state": "RELEASED",
"runtime_state": "UNVERIFIED",
"entrypoint": "AGENTS.md",
"read_order": [
"AGENTS.md",
"context/boot.md",
"context/capsule.json",
"context/manifest.json",
"README.md",
"docs/RELEASE_NOTES_V1.2.1.md",
"docs/DEPLOYMENT.md"
],
"contracts": {},
"dependencies": {
"strategy": "none"
},
"runtime": {
"freshness": "requires_jops_observation"
},
"artifacts": [
"context/boot.md",
"context/capsule.json",
"README.md",
"docs/RELEASE_NOTES_V1.2.1.md",
"docs/DEPLOYMENT.md"
]
}