webrune-tim / webrune-tim/The-Autonomy-Protocol
Curriculum Content Architecture & Versioned Student Telemetry
Open
Nobody has claimed this yet.
database
hacktoberfest
help wanted
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Refactor curriculum schema for versioning, observable rubrics, and structured responses
1. Problem Statement
The current modules, sections, and user_progress tables suffer from severe architectural limitations:
- Unversioned Mutable Curriculum: Edits made by educators in
teacher-sitedirectly mutate the rows that students are actively reading and referencing. - Unstructured Responses:
user_progress.responseis a single raw text string. The curriculum requires specific pedagogical interactions: The Accountability Cycle inventories, limits-of-control checks, and four-agreements self-audits. - Missing Metrics & State:
user_progressonly storesstartedandcompletedbooleans. There is no tracking of submission timestamps, duration/time spent, or observable behavioral rubrics.
2. Target Schema Improvements
modules:- Add
status:'draft' | 'published' | 'archived'. - Add
version: integer tracking revision updates. - Add
ctePathway:'general' | 'computer_science' | 'healthcare' | 'trades'. - Add
authorId: referencesuser.id.
- Add
sections:- Add
sectionType:'instructional' | 'accountability_audit' | 'practicum_reflection' | 'amends_mapping'. - Add
promptSchema: JSON/schema configuration describing the expected student inputs.
- Add
user_progress->student_module_progress&student_practicum_submissions:- Decouple navigational progress (
started_at,last_accessed_at,completed_at) from formal assignment submissions. - Store structured responses (
response_payloadas typed JSON) with revision history. - Add optional educator evaluation fields:
evaluator_id,rubric_score,behavioral_shift_observed(boolean),feedback_notes.
- Decouple navigational progress (
3. Acceptance Criteria
- Drafted lessons cannot be viewed by students until transitioned to
status: 'published'. - Multiple submissions/revisions can be tracked per student without data loss.
- Composite indexes added to
(user_id, module_id)and(module_id, order).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the schema definitions for modules, sections, and user_progress, then trace the teacher-site curriculum editing path. Map the proposed progress and submission records before changing the schema. Done means published-only student access, lossless submission revisions, and the specified composite indexes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100