Standardize documentation headers for proposals and data schemas

Update metadata headers across various Markdown documentation files, including proposals and data schemas, to ensure consistent formatting and version information.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a0a576b2-b0c8-4957-a050-9455d8333c63
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 1f77cc9d-a44f-4ea4-b13b-fb1b8af6fac5
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
bewest
2026-01-19 13:14:21 -08:00
committed by Ben West
parent 794a0ba703
commit db32bdc6dd
11 changed files with 66 additions and 19 deletions
+7
View File
@@ -1,5 +1,12 @@
# Profiles Schema Documentation
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Active (2025 Standard)
**Source:** Code analysis and domain expert interview
---
## Overview
The `profile` collection stores therapy settings that define how the system calculates insulin dosing, carb ratios, target ranges, and basal rates. Profiles can change over time (e.g., different settings for weekdays vs weekends) and can be switched dynamically via Profile Switch treatments.
+7
View File
@@ -1,5 +1,12 @@
# Treatments Schema Documentation
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Active (2025 Standard)
**Source:** Code analysis and domain expert interview
---
## Overview
The `treatments` collection stores all user interventions and system events related to diabetes management. This includes insulin doses, carbohydrate intake, temp basals, profile switches, CGM sensor events, and free-form notes.
+4 -3
View File
@@ -1,9 +1,10 @@
# RFC: Agentic Control Plane for Automated Insulin Delivery Systems
**Status:** Draft
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Authors:** Nightscout Community
**Created:** 2026-01-01
**Last Updated:** 2026-01-01
**Created:** 2026-01-01
---
+4 -3
View File
@@ -1,9 +1,10 @@
# Proposal: API Query Normalization & Protection
**Status:** Draft
**Authors:** Nightscout Community
**Created:** 2026-01-13
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Priority:** HIGH
**Authors:** Nightscout Community
**Related:** [API Layer Audit](../audits/api-layer-audit.md), [Security Audit](../audits/security-audit.md)
---
+10 -1
View File
@@ -1,6 +1,15 @@
# Bridge Mode: Legacy devicestatus to Event Synthesis
**Purpose:** Define rules for synthesizing canonical control plane events from legacy `devicestatus` uploads, enabling backward compatibility while controllers transition to native event emission.
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Related:** [Agent Control Plane RFC](./agent-control-plane-rfc.md), [Integration Questionnaire](./integration-questionnaire.md)
---
## Purpose
Define rules for synthesizing canonical control plane events from legacy `devicestatus` uploads, enabling backward compatibility while controllers transition to native event emission.
---
+10 -1
View File
@@ -1,6 +1,15 @@
# Multi-Writer Semantics & Conflict Resolution
**Purpose:** Define rules for handling concurrent inputs from multiple sources (controllers, caregivers, agents, manual UI) to the Nightscout control plane.
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Related:** [Agent Control Plane RFC](./agent-control-plane-rfc.md), [Bridge Rules](./bridge-rules.md)
---
## Purpose
Define rules for handling concurrent inputs from multiple sources (controllers, caregivers, agents, manual UI) to the Nightscout control plane.
---
+10 -1
View File
@@ -1,6 +1,15 @@
# Integration Questionnaire for Loop/AAPS/Trio Implementers
**Purpose:** This questionnaire helps determine how well existing AID controllers can support the proposed event-driven control plane architecture. Answers will inform bridge mode implementation and native event adoption roadmaps.
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Related:** [Agent Control Plane RFC](./agent-control-plane-rfc.md), [Bridge Rules](./bridge-rules.md)
---
## Purpose
This questionnaire helps determine how well existing AID controllers can support the proposed event-driven control plane architecture. Answers will inform bridge mode implementation and native event adoption roadmaps.
---
@@ -1,8 +1,9 @@
# MongoDB Modernization Implementation Plan
**Based on:** mongodb-modernization-impact-assessment.md
**Date:** 2026-01-18
**Status:** Planning Phase
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Planning Phase (2026 Proposal)
**Based on:** mongodb-modernization-impact-assessment.md
---
@@ -1,7 +1,8 @@
# RFC: OpenID Connect Actor Identity Plugin for Nightscout Core
**Status:** DRAFT
**Date:** January 2026
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal)
**Authors:** NRG Team
**Target Audience:** Nightscout Core Maintainers, Community Contributors
**Source:** [nightscout-roles-gateway proposal](https://github.com/t1pal/nightscout-roles-gateway/blob/replit/docs/proposals/oidc-actor-identity-proposal.md)
@@ -1,8 +1,9 @@
# Testing & Architecture Modernization Proposal
**Date:** January 2026
**Status:** Draft (Revised)
**Author:** Nightscout Development Team
**Document Version:** 1.1
**Last Updated:** January 2026
**Status:** Draft (2026 Proposal - Revised)
**Authors:** Nightscout Development Team
---
@@ -1,7 +1,8 @@
# WebSocket dbAdd Array Handling - Deduplication Issue
**Date:** 2026-01-18
**Status:** IDENTIFIED - NOT A BUG, EXPECTED BEHAVIOR
**Document Version:** 1.0
**Last Updated:** January 2026
**Status:** Resolved - Expected Behavior (2026 Proposal)
**Related:** MongoDB 5.x migration, websocket.js dbAdd handler
---