Compare commits
2
Commits
50edeae282
...
4c1e1846c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c1e1846c7 | ||
|
|
c4914926a7 |
No files matched your search
@@ -0,0 +1 @@
|
||||
.internal/
|
||||
@@ -1,7 +1,7 @@
|
||||
# Issue #4 Authoritative Decision Ledger
|
||||
|
||||
**Project:** `live-quiz`
|
||||
**Scope:** Authoritative provenance record, settled architectural baseline, accepted `B2` decisions, unapproved `step 850` recommendations (`S1-01`–`S1-17`), deferred implementation boundaries (`DEF-01`–`DEF-05`), and maintenance protocol for Original Issue #4.
|
||||
**Scope:** Authoritative provenance record, settled architectural baseline, accepted `B2` decisions, Stage 1 architectural decisions (`S1-01`–`S1-17`, `USER_EXPLICIT`), deferred implementation boundaries (`DEF-01`–`DEF-05`), and maintenance protocol for Original Issue #4.
|
||||
**Repository Baseline:** `main` @ `a4eeccf` ([docs/architecture.md](../docs/architecture.md), [docs/decisions/0001`–`0009](../docs/decisions/README.md)).
|
||||
**Companion Artifact:** [issue-4-follow-through.md](issue-4-follow-through.md) (authoritative for execution order, dependencies, and work status).
|
||||
|
||||
@@ -21,9 +21,9 @@ This ledger governs **decision state and provenance** for Issue #4, while [issue
|
||||
- The committed repository architecture on `main` @ `a4eeccf` ([docs/architecture.md](../docs/architecture.md) and [ADR-0001](../docs/decisions/0001-standalone-web-application.md) through [ADR-0009](../docs/decisions/0009-modular-portable-reference-skills.md), resolving Issues #1–#3 and #5–#8) together with the foundational Issue #4 handoff baseline (`steps 820–827`, recorded in Section 1 below).
|
||||
- **Rule:** Downstream decisions must respect these invariants. Accepting a high-level architectural direction does **not** implicitly approve unreviewed sub-mechanisms or implementation details attached to it later.
|
||||
|
||||
3. **Assistant / Agent Recommendations Awaiting Approval (`UNAPPROVED_RECOMMENDATION — step 850`):**
|
||||
3. **Originating Assistant Recommendations (`UNAPPROVED_RECOMMENDATION — step 850`, now resolved):**
|
||||
- In `step 850` of the discovery transcript, a single assistant turn simulated synthetic user prompts and emitted a premature "Stage 1 Decision Closure Report" marking items `B2.4.1` through `E2` as `Accepted`.
|
||||
- **Rule:** A recommendation marked `Accepted` in that earlier assistant-generated closure report is **not** an approved decision. The transcript audit and [issue-4-follow-through.md](issue-4-follow-through.md) Section 0 govern. All 17 atomic items (`S1-01`–`S1-17`, recorded in Section 3 below) remain `PENDING_USER_REVIEW`.
|
||||
- **Rule & Closure State:** A recommendation marked `Accepted` in that earlier assistant-generated closure report was **not** an approved decision. Each of the 17 atomic items (`S1-01`–`S1-17`, recorded in Section 3 below) was subsequently reviewed one-by-one and resolved with `USER_EXPLICIT` provenance on `2026-11-15` (`2` `ACCEPTED_AS_PROPOSED`, `15` `ACCEPTED_WITH_MODIFICATIONS`; zero `PENDING_USER_REVIEW` items remain).
|
||||
|
||||
4. **Deferred Implementation Decisions (`DEF-01`–`DEF-05`):**
|
||||
- Concrete engineering specifications (exact JSON field names, library selection, CLI flag spellings, wire framing, systemd unit parameters, backup retention numbers) intentionally postponed until after Stage 3 acceptance criteria (`S3-01`).
|
||||
@@ -69,9 +69,9 @@ In `step 849`, the user decomposed `B2.4` into five subdecisions (`B2.4.1`–`B2
|
||||
|
||||
---
|
||||
|
||||
## Section 3 — Unapproved Recommendations Requiring Review (`S1-01` through `S1-17`)
|
||||
## Section 3 — Resolved Stage 1 Architectural Decisions (`S1-01` through `S1-17`)
|
||||
|
||||
Every entry below originated in `step 850` and requires an explicit user turn assigning a disposition (`ACCEPTED_AS_PROPOSED`, `ACCEPTED_WITH_MODIFICATIONS`, `REJECTED_IN_FAVOR_OF_ALTERNATIVE`, `DEFERRED_WITH_JUSTIFICATION`, or `NOT_APPLICABLE_WITH_JUSTIFICATION`).
|
||||
Every entry below originated as an unapproved `step 850` recommendation and has received an explicit `USER_EXPLICIT` disposition (`2026-11-15`; `2` `ACCEPTED_AS_PROPOSED`, `15` `ACCEPTED_WITH_MODIFICATIONS`).
|
||||
|
||||
### `S1-01` — `B2.4.1` (Contract Version Scope)
|
||||
| Field | Description |
|
||||
|
||||
@@ -70,7 +70,7 @@ In `step 850`, a runaway assistant response simulated synthetic `<USER_REQUEST>`
|
||||
| **`S1-15`** | **`D4`** | **Out-of-Band Key Escrow, Backup Verification Gate & Operational Delegation:** Privileged out-of-band key escrow/import separate from backups & `learningctl` (key loss $\neq$ DB corruption); stage $\to$ reopen & keyed engine/schema/metadata verification $\to$ atomic promotion (no full restore drill per promotion, never prune last verified point); key availability required for cryptographic recoverability; freshly verified snapshot before `S1-10` migrations; separate artifact integrity vs. cryptographic vs. operational recoverability; `SQLCipher` candidate only; primitives/escrow/rotation/retention/schedule/sync deferred to `DEF-05`. | `S1-10` (`D1b` fail-closed & pre-migration backup gate) | Explicit `USER_INPUT` recording a justified disposition for `D4`. | `ACCEPTED_WITH_MODIFICATIONS` (`USER_EXPLICIT`, `2026-11-15`) | [Ledger §3 — `S1-15`](issue-4-decision-ledger.md#s1-15--d4-out-of-band-key-escrow-backup-verification-gate--operational-delegation) |
|
||||
| **`S1-16`** | **`E1`** | **Per-Execution Staging Slot Allocation & `--output` Destination Discipline:** Separate `interaction_id` (Registry staging identity) from `attempt_id` (engine identity); allocate one immutable `<staging_root>/<interaction_id>/attempt.json` slot per managed run (validated ID under controlled root, never arbitrary agent path, never reused/reassigned if unused); pass identical `--output` path on `start`/`recover`; keep Registry allocation separate from filesystem ownership (`DEF-04`/`DEF-05`); preserve `ADR-0007` & standalone rules unchanged. | None *(Settled `BL-04`, `BL-09`, `ADR-0007`)* | Explicit `USER_INPUT` recording a justified disposition for `E1`. | `ACCEPTED_WITH_MODIFICATIONS` (`USER_EXPLICIT`, `2026-11-15`) | [Ledger §3 — `S1-16`](issue-4-decision-ledger.md#s1-16--e1-per-execution-staging-slot-allocation-and---output-destination-discipline) |
|
||||
| **`S1-17`** | **`E2`** | **Pre-Consolidation Storage Split, Pre-Debrief Status Reconciliation & `ABANDONED` Payload Retention:** Registry DB stores envelopes + append-only events; `E1` stores unconsolidated `attempt.json`, `evaluation.json`, and structured checkpoints (no transcripts) retained across `ABANDONED` (no auto-revival; `E1` encryption/ownership/permissions/backup resolved pre-implementation in `DEF-04`/`DEF-05`); read-only `status` reconciliation surfaces `attempt.json`-without-`evaluation.json` via non-persistent `awaiting_evaluation` (leaving `BL-09` 5 states intact, anomalies surfaced, zero mutation/evaluation); atomic `CONSOLIDATED` + receipt bound to normalized `(attempt, evaluation, Tutor observations)` correspondence (`S1-06`, fail closed on mismatch) before `E1` cleanup; normalization/digest/schemas deferred to `DEF-04`/`DEF-05`. | `S1-06` (`B2.5.1`), `S1-16` (`E1`) *(plus settled `BL-09`; no hard prerequisite on `S1-07`/`B2.5.2`)* | Explicit `USER_INPUT` recording a justified disposition for `E2`. | `ACCEPTED_WITH_MODIFICATIONS` (`USER_EXPLICIT`, `2026-11-15`) | [Ledger §3 — `S1-17`](issue-4-decision-ledger.md#s1-17--e2-pre-consolidation-storage-split-pre-debrief-status-reconciliation--abandoned-payload-retention) |
|
||||
| **`S1-18`** | **Closure** | **Verified Stage 1 Decision Closure Report:** Reconciled ledger of `A`–`E2` with verified `USER_EXPLICIT` provenance, explicit dispositions, dependency map, and deferred-items boundary. | `S1-01`–`S1-17` | Every atomic decision (`S1-01`–`S1-17`) has received one explicit disposition (`ACCEPTED_AS_PROPOSED`, `ACCEPTED_WITH_MODIFICATIONS`, `REJECTED_IN_FAVOR_OF_ALTERNATIVE`, `DEFERRED_WITH_JUSTIFICATION`, or `NOT_APPLICABLE_WITH_JUSTIFICATION`) backed by explicit user approval or user-authorized deferral, with provenance verified in [issue-4-decision-ledger.md](issue-4-decision-ledger.md). | **Blocked** (on `S1-01`–`S1-17`) | [issue-4-decision-ledger.md](issue-4-decision-ledger.md) |
|
||||
| **`S1-18`** | **Closure** | **Verified Stage 1 Decision Closure Report:** Reconciled ledger of `A`–`E2` with verified `USER_EXPLICIT` provenance, explicit dispositions (`2` `ACCEPTED_AS_PROPOSED`, `15` `ACCEPTED_WITH_MODIFICATIONS`), dependency map, and deferred-items boundary (`DEF-01`–`DEF-05`, `I9-01`). | `S1-01`–`S1-17` | Every atomic decision (`S1-01`–`S1-17`) has received one explicit disposition (`ACCEPTED_AS_PROPOSED`, `ACCEPTED_WITH_MODIFICATIONS`, `REJECTED_IN_FAVOR_OF_ALTERNATIVE`, `DEFERRED_WITH_JUSTIFICATION`, or `NOT_APPLICABLE_WITH_JUSTIFICATION`) backed by explicit user approval or user-authorized deferral, with provenance verified in [issue-4-decision-ledger.md](issue-4-decision-ledger.md). | `COMPLETED` (`USER_EXPLICIT`, `2026-11-15`) | [issue-4-decision-ledger.md](issue-4-decision-ledger.md) |
|
||||
|
||||
---
|
||||
|
||||
@@ -81,7 +81,7 @@ In `step 850`, a runaway assistant response simulated synthetic `<USER_REQUEST>`
|
||||
|
||||
| Task ID | Expected Deliverable | Dependencies | Relevant Decision IDs | Explicit Completion Condition | Status | Resulting Artifact |
|
||||
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
||||
| **`CW-01`** | **Complete Architectural Comprehension Walkthrough & Supporting System Map** covering five required subjects:<br>• **`CW-01a`:** System context and component responsibilities (`tutor`, `quiz-designer`, `learning-objectives`, `quiz-evaluator`, `learningctl`, `learning-registryd`, `live-quiz`).<br>• **`CW-01b`:** Data flows and integration contracts (`questionnaire.json`, `rubric.json`, `attempt.json`, `evaluation.json`, JCS hashing, approved startup acknowledgment, read-only attempt inspection, consolidation receipts).<br>• **`CW-01c`:** Persistence domains and artifact lifecycles (global encrypted Learning Registry vs. ephemeral attempt SQLite journals vs. short-lived materialized questionnaires vs. approved pre-consolidation staging/persistence topology vs. standalone exports).<br>• **`CW-01d`:** Trust boundaries and security assumptions (blind pass, runtime rubric exclusion, `learning-registry` OS service boundary, non-TPM key isolation, black-box CLI guardrail, formative host threat model).<br>• **`CW-01e`:** Failure scenarios, recovery, and consistency guarantees (crash at every registration, startup, execution, export, evaluation, debrief, migration, and backup boundary). | `S1-18` | `A`–`E2`, Issues #1–#8 | All five walkthrough subjects and the supporting non-normative system map are reviewed with the user, and the user gives **explicit approval** to proceed to Stage 2. | **Blocked** (on `S1-18`) | Pending (Walkthrough Record & Supporting System Map) |
|
||||
| **`CW-01`** | **Complete Architectural Comprehension Walkthrough & Supporting System Map** covering five required subjects:<br>• **`CW-01a`:** System context and component responsibilities (`tutor`, `quiz-designer`, `learning-objectives`, `quiz-evaluator`, `learningctl`, `learning-registryd`, `live-quiz`).<br>• **`CW-01b`:** Data flows and integration contracts (`questionnaire.json`, `rubric.json`, `attempt.json`, `evaluation.json`, JCS hashing, approved startup acknowledgment, read-only attempt inspection, consolidation receipts).<br>• **`CW-01c`:** Persistence domains and artifact lifecycles (global encrypted Learning Registry vs. ephemeral attempt SQLite journals vs. short-lived materialized questionnaires vs. approved pre-consolidation staging/persistence topology vs. standalone exports).<br>• **`CW-01d`:** Trust boundaries and security assumptions (blind pass, runtime rubric exclusion, `learning-registry` OS service boundary, non-TPM key isolation, black-box CLI guardrail, formative host threat model).<br>• **`CW-01e`:** Failure scenarios, recovery, and consistency guarantees (crash at every registration, startup, execution, export, evaluation, debrief, migration, and backup boundary). | `S1-18` | `A`–`E2`, Issues #1–#8 | All five walkthrough subjects and the supporting non-normative system map are reviewed with the user, and the user gives **explicit approval** to proceed to Stage 2. | `READY` (`CW-01a`–`CW-01e` `CLOSED`; Supporting System Map & Stage 2 gate awaiting start) | Pending (Supporting System Map) |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user