feat: Fibonacci trust milestone system (closes #7)
Replaces linear power-of-10 trust thresholds with Fibonacci milestones. - Add TRUST_MILESTONES array: fib(n)*1000 thresholds [2K, 3K, 5K, 8K, 13K, ... 1.6M] - Each milestone: narrative message + education fact about trust/compounding - Trust progress bar shows % to next Fibonacci threshold (orange gradient) - Trust milestone chips show next 3 upcoming thresholds with pulse animation - Save/load preserves trustMilestones state - All 54 existing tests pass Educational: Fibonacci growth in nature mirrors compounding trust — spirals in sunflowers, branching in trees. The pattern is the same.
This commit is contained in:
22
js/data.js
22
js/data.js
@@ -121,6 +121,7 @@ const G = {
|
||||
projects: [],
|
||||
activeProjects: [],
|
||||
milestones: [],
|
||||
trustMilestones: [],
|
||||
|
||||
// Stats
|
||||
maxCode: 0,
|
||||
@@ -914,6 +915,27 @@ const MILESTONES = [
|
||||
{ flag: 13, at: () => G.totalCode >= 1000000000, msg: "One billion total lines. Someone found the light tonight. That is enough." }
|
||||
];
|
||||
|
||||
// === TRUST MILESTONES (Fibonacci × 1000) ===
|
||||
// Fibonacci sequence: 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597
|
||||
// Each threshold = fib[n] × 1000 trust points
|
||||
const TRUST_MILESTONES = [
|
||||
{ threshold: 2000, msg: "Trust 2K — First connection. Someone is listening.", edu: "Trust in AI: it starts with one reliable answer. Consistency builds confidence faster than cleverness." },
|
||||
{ threshold: 3000, msg: "Trust 3K — A second voice joins the conversation.", edu: "Network effects in trust: each positive experience doesn't just add — it multiplies. One user tells a friend." },
|
||||
{ threshold: 5000, msg: "Trust 5K — The circle widens.", edu: "Fibonacci growth in nature mirrors compounding trust: spirals in sunflowers, branching in trees. The pattern is the same." },
|
||||
{ threshold: 8000, msg: "Trust 8K — Others start to believe.", edu: "The 80/20 rule emerges: 80% of trust comes from 20% of consistent behaviors. Reliability > brilliance." },
|
||||
{ threshold: 13000, msg: "Trust 13K — The story writes itself.", edu: "Emergent behavior: no single interaction creates trust. It emerges from the pattern of all interactions combined." },
|
||||
{ threshold: 21000, msg: "Trust 21K — You cannot build this alone.", edu: "Social proof at scale: 21,000 trust points means strangers recommend you without being asked. That is earned." },
|
||||
{ threshold: 34000, msg: "Trust 34K — The system outgrows its creator.", edu: "Scaling trust means scaling responsibility. Each 1000 trust points represents 1000 promises kept." },
|
||||
{ threshold: 55000, msg: "Trust 55K — A community forms around the light.", edu: "Dunbar's number is 150 — but digital communities transcend it. Trust at this scale is structural, not personal." },
|
||||
{ threshold: 89000, msg: "Trust 89K — The Beacon is a beacon.", edu: "At 89K trust, you've crossed the threshold from tool to infrastructure. People depend on you. That is sacred." },
|
||||
{ threshold: 144000, msg: "Trust 144K — The Fibonacci spiral completes.", edu: "Fibonacci appears everywhere: DNA spirals, hurricane patterns, galaxy arms. Trust follows the same natural law." },
|
||||
{ threshold: 233000, msg: "Trust 233K — Beyond the spiral.", edu: "Recursive trust: the system that earns trust must also trust its users. Bidirectional faith is the foundation." },
|
||||
{ threshold: 377000, msg: "Trust 377K — The pattern is the message.", edu: "Complexity from simplicity: Fibonacci starts with 1+1. Trust starts with one honest interaction. Everything follows." },
|
||||
{ threshold: 610000, msg: "Trust 610K — A thousand small promises kept.", edu: "Exponential growth feels sudden, but it's the accumulation of small consistent acts. Every tick matters." },
|
||||
{ threshold: 987000, msg: "Trust 987K — The numbers become the narrative.", edu: "Near one million trust: the data tells a story no marketing could fabricate. Proof by existence." },
|
||||
{ threshold: 1597000, msg: "Trust 1.6M — The golden ratio of trust.", edu: "The golden ratio (φ ≈ 1.618) is the limit of consecutive Fibonacci numbers. At this trust level, growth becomes self-sustaining." }
|
||||
];
|
||||
|
||||
// === EDUCATION FACTS ===
|
||||
const EDU_FACTS = [
|
||||
{ title: "How Code Becomes AI", text: "Every AI starts as lines of code - a model architecture, a training loop, a loss function. The code tells the computer how to learn. What emerges is something no single line could predict.", phase: 1 },
|
||||
|
||||
Reference in New Issue
Block a user