Repository navigation
Expand file tree
/
Copy pathcontinuity.yml
More file actions
120 lines (114 loc) · 5.48 KB
/
Copy pathcontinuity.yml
File metadata and controls
120 lines (114 loc) · 5.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Canonical Cloudanum & Book Continuity Ledger (Chapters 01-17)
# Single source of truth mirroring Chapters/Building_Reliable_AI_Software__EDITORIAL_MEMO.md
book_title: "Building Reliable AI-Assisted Software Systems"
company:
name: "Cloudanum"
legal_name: "Cloudanum Inc."
established: 2009
hq: "Ottawa"
product: "Cloudanum Studio"
monthly_seat_usd: 350
annual_seat_usd: 4200
customer_studios: 90000
daily_weekday_tickets: 850
policy_docs:
monthly_trial_30d: "refunds-monthly-trial"
annual_nonrefundable: "refunds-annual-licenses"
incidents:
INC-183:
week: -5
chapter_origin: 1
elaborated_in: [2, 10, 12]
actor: "Stefan Krol"
flagged_by: "Ingrid Bos"
loop_duration_min: 50
retries: 13
gpu_rate_usd_per_hr: 30
weekend_hours: 60
total_cost_usd: 23400
INC-207:
week: 0
chapter_origin: 1
elaborated_in: [2, 3, 5, 6, 8, 10, 13, 15]
bloom_level: "Evaluate"
low_risk_contrast_bloom: "Remember"
promised_refund_usd: 4200
prorated_hallucination_usd: 2100
cast:
maya_lindqvist:
name: "Maya Lindqvist"
role: "Senior engineer, tech lead of the four-person assistant team"
introduced_in_chapter: 2
omar_haddad:
name: "Omar Haddad"
role: "Support operations lead"
introduced_in_chapter: 2
calibration_transcripts_pool: 250
ingrid_bos:
name: "Ingrid Bos"
role: "CFO"
introduced_in_chapter: 2
auto_approval_ceiling_usd: 400
stefan_krol:
name: "Stefan Krol"
role: "Platform engineer"
introduced_in_chapter: 2
principles_table_1_4:
P1: "Design for the failure, not the demo"
P2: "Reliability multiplies, it does not average"
P3: "The spec is a dataset"
P4: "The context window is RAM, not a hard drive"
P5: "Autonomy is a dial, not a switch"
P6: "Fail toward determinism"
P7: "Gate the irreversible, automate the reversible"
P8: "Trust lives in the bread, not the filling"
contracts:
trace_schema_v1:
owner_chapter: 6
projected_in: [15, 16]
field_count: 17
key_fields: ["case_id", "run_id", "model_version", "prompt_version"]
compact_history:
owner_chapter: 7
imported_in: [9]
summary_prefix: "[summary of "
escalation_packet:
owner_chapter: 12
consumed_in: [13]
fields:
- "status"
- "reason"
- "goal"
- "partial_result"
- "trajectory"
- "blocked_on"
- "recommended_next_action"
retention_classes:
owner_chapter: 15
values: ["hash_only", "statutory_record", "litigation_hold"]
timeline:
1: {week: 0, golden_cases: 0, key_metric: "Demo 12/12; INC-207 $4,200; 5-run split 3/1/1 ($2,100)"}
2: {week: 3, golden_cases: 0, key_metric: "Backlog +38% offline; $4,200 & INC-183 $23,400 postmortem"}
3: {week: 6, golden_cases: 150, key_metric: "golden_v1.0.jsonl pass rate 72.0% (108/150); golden_0047"}
4: {week: 9, golden_cases: 150, key_metric: "faithfulness_judge v1.1 agreement 78% -> 91%; kappa 0.77"}
5: {week: 12, golden_cases: 150, key_metric: "baseline_v1 = 92.0% (138/150); tweak 88.0% blocked; JSON parse 0.4% -> 6.1%"}
6: {week: 16, golden_cases: 150, key_metric: "Digital-products faithfulness 94% -> 89%; recall@5 0.83 -> 0.61 (caught at CI gate)"}
7: {week: 18, golden_cases: 190, key_metric: "40 multi-turn cases (separate denominator); turn-20 adherence 71% -> 89% (16,000 budget)"}
8: {week: 20, golden_cases: 190, key_metric: "recall@5 0.61 -> 0.89; faithfulness 89% -> 95%"}
9: {week: 23, golden_cases: 310, key_metric: "Cross-session consistency 68% -> 90%; 310 total cases (150+40+120)"}
10: {week: 26, golden_cases: 310, key_metric: "80/15/4/1 tier mix on ~850 tickets/day (~3.5x token savings)"}
11: {week: 30, golden_cases: 310, key_metric: "Shadow 95% deterministic; routing accuracy 97.4%; $0.05/ticket; p95 2.1s"}
12: {week: 33, golden_cases: 310, key_metric: "Max 12 tool calls, $0.50, 60s; 71% resolved in bounds; 0 violations"}
13: {week: 35, golden_cases: 450, key_metric: "<$400 auto-approve; $460 case D-3141 in 4 min; ~15/wk -> ~450 golden cases"}
14: {week: 38, golden_cases: 450, key_metric: "Determinism Sandwich named; 40/40 adversarial blocked incl. $10,000"}
15: {week: 41, golden_cases: 450, key_metric: "23 rules in refund_constitution_v1; 100% reconstructible; 0 audit findings"}
16: {week: 44, golden_cases: 530, key_metric: "GA Wk 46; INC-241 quality drift rollback 3m40s; safe-outcome SLO 99.2%; 0 unauthorized refunds"}
17: {week: 98, golden_cases: 1240, key_metric: "1,240 golden cases; 1-day model swap; containment 61% -> 78%; SLO 99.6%; 0 violations"}
architecture_thread_stages:
stage_0: {chapter: 1, figure: "Figure 1.4", week: 0, state: "Broken Week 0 prototype, M1-M4 exposed (INC-207 & INC-183)"}
stage_1: {chapter: 2, figure: "Figure 2.6", week: 3, state: "Four-Pillar Deterministic Shell target blueprint"}
stage_2: {chapter: 5, figure: "Figure 5.7", week: 12, state: "Pillar 1 active: golden_v1.0 (150) + Judge v1.1 + 3-lane CI gate"}
stage_3: {chapter: 9, figure: "Figure 9.7", week: 23, state: "Pillar 2 active: 16k ContextWindow + 6-stage hybrid RAG + MemoryStore"}
stage_4: {chapter: 13, figure: "Figure 13.7", week: 35, state: "Pillar 3 active: Gateway + 80/15/4/1 Router + 12-step/$0.50 Agent + $400 HITL"}
stage_5: {chapter: 16, figure: "Figure 16.7", week: 46, state: "Pillar 4 active: Determinism Sandwich + 23-rule Rego + audit_v1 + kill switch"}
stage_6: {chapter: 17, figure: "Figure 17.7", week: 98, state: "Side-by-side Week 0 prototype vs. Week 98 mature shell + 1,240-case flywheel"}