From 1ff78077de3eb0a73b55c76817d253ec576fa163 Mon Sep 17 00:00:00 2001 From: finn Date: Sat, 3 Jan 2026 15:50:27 -0700 Subject: [PATCH] further ui cleanup, trimming quick stats --- AGENTS.md | 113 +++++++++++++++++++ data/prompts_historic.json | 120 ++++++++++----------- data/prompts_historic.json.bak | 120 ++++++++++----------- data/prompts_pool.json | 16 +-- data/prompts_pool.json.bak | 22 ++-- frontend/src/components/PromptDisplay.jsx | 97 ++++++++++++----- frontend/src/components/StatsDashboard.jsx | 37 +------ frontend/src/layouts/Layout.astro | 2 +- frontend/src/pages/index.astro | 9 +- 9 files changed, 324 insertions(+), 212 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 455a519..6df8ec3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -681,3 +681,116 @@ curl -X POST "http://localhost:8000/api/v1/prompts/select" \ ``` The "Add to History" functionality is now fully operational. When users draw prompts from the pool, select one, and click "Use Selected Prompt", the prompt is actually added to the history cyclic buffer, and the page refreshes to show the updated most recent prompt. + +## UI Cleanup Tasks Completed ✓ + +### Task 1: Hide 'Use selected prompt' button in default view ✓ +**Problem**: The "Use selected prompt" button was always visible, even in the default view when showing the most recent prompt from history. + +**Solution**: Modified the `PromptDisplay` component to conditionally show the button only when `viewMode === 'drawn'` (i.e., when the user has drawn new prompts from the pool and needs to select one). + +**Result**: Cleaner interface where the "Use Selected Prompt" button only appears when relevant to the user's current action. + +### Task 2: Remove browser alert after pool refill ✓ +**Problem**: After successfully filling the prompt pool, a browser alert was shown, which was unnecessary and disruptive. + +**Solution**: Removed the `alert()` calls from both `PromptDisplay.jsx` and `StatsDashboard.jsx` in the `handleFillPool` functions. The UI now provides feedback through: +- Updated pool fullness percentage in the "Fill Prompt Pool" button +- Refreshed statistics in the StatsDashboard +- Visual progress bar updates + +**Result**: Smoother user experience without disruptive popups. + +### Task 3: Replace "pool needs refilling" text with progress bar button ✓ +**Problem**: The UI had redundant "pool needs refilling" text and a lower button to refill the pool. + +**Solution**: +1. **Removed "pool needs refilling" text** from `StatsDashboard.jsx`: + - Removed conditional text showing "Needs refill" or "Pool is full" + - Removed "Pool needs refilling" text from Quick Insights list + - Removed the lower conditional "Fill Prompt Pool" button + +2. **Enhanced "Fill Prompt Pool" button** in `PromptDisplay.jsx`: + - Added progress bar visualization inside the button + - Shows current pool fullness as a colored overlay (`{poolStats.total}/{poolStats.target}`) + - Displays percentage fullness below the button + - Button text now shows current pool count (e.g., "Fill Prompt Pool (8/20)") + +**Result**: Cleaner, more informative interface where the primary "Fill Prompt Pool" button serves dual purpose: +- Action button to refill the pool +- Visual indicator of current pool fullness +- No redundant UI elements or confusing messages + +### Verification +- ✅ Docker containers running successfully (backend, frontend, frontend-dev) +- ✅ All API endpoints responding correctly +- ✅ Frontend accessible at http://localhost:3000 +- ✅ Backend documentation available at http://localhost:8000/docs +- ✅ "Use Selected Prompt" button only shown when drawing new prompts +- ✅ No browser alerts after pool refill +- ✅ "Fill Prompt Pool" button shows pool fullness as progress bar +- ✅ No "pool needs refilling" text or redundant buttons + +The UI cleanup is now complete, providing a cleaner, more intuitive user experience while maintaining all functionality. + +## Additional UI Cleanup Tasks Completed ✓ + +### Task 1: Main writing prompt (top of history) should not be selectable at all ✓ +**Problem**: The main writing prompt from history was selectable with a cursor pointer and click handler, even though users only need to select prompts when drawing from the pool. + +**Solution**: Modified the `PromptDisplay` component to conditionally apply click handlers and cursor styles: +- Only prompts in `viewMode === 'drawn'` are clickable +- History prompts show "Most recent from history" instead of "Click to select" +- No cursor pointer or selection UI for history prompts + +**Result**: Cleaner interface where users only interact with prompts when they need to make a selection. + +### Task 2: Remove browser popup alert when picking a prompt ✓ +**Problem**: When users picked a prompt, a browser alert was shown with success message. + +**Solution**: Removed the `alert()` call from the `handleAddToHistory` function in `PromptDisplay.jsx`. The UI now provides feedback through: +- Page refresh showing updated history (most recent prompt) +- Updated pool statistics +- Visual state changes in the interface + +**Result**: Smoother user experience without disruptive popups. + +### Task 3: Refresh displayed pool stats when user draws from pool and picks ✓ +**Problem**: When users drew from the pool and picked a prompt, the displayed pool stats became obsolete (pool size decreases by 1). + +**Solution**: Updated the `handleAddToHistory` function to also call `fetchPoolStats()` after successfully adding a prompt to history. This ensures: +- Pool statistics are always current +- Progress bars and counts reflect actual pool state +- Users see accurate information about available prompts + +**Result**: Always-accurate pool statistics with minimal API calls. + +### Task 4: Remove draw and refill actions from Quick Actions box, replace with API docs link ✓ +**Problem**: The Quick Actions box had redundant buttons for "Draw 3 Prompts" and "Fill Pool" that duplicated functionality in the main prompt display. + +**Solution**: +- Removed "Draw 3 Prompts" and "Fill Pool" buttons from Quick Actions +- Added "API Documentation" button linking to `/docs` (FastAPI Swagger UI) +- Kept "View History (API)" button for direct API access + +**Result**: Cleaner Quick Actions panel with useful developer tools instead of redundant UI controls. + +### Task 5: Change footer copyright to 2026 ✓ +**Problem**: Footer copyright showed 2024. + +**Solution**: Updated `Layout.astro` to change copyright from "2024" to "2026". + +**Result**: Updated copyright year reflecting current development. + +### Verification +- ✅ All Docker containers running successfully (backend, frontend, frontend-dev) +- ✅ All API endpoints responding correctly +- ✅ Frontend accessible at http://localhost:3000 +- ✅ Backend documentation available at http://localhost:8000/docs +- ✅ History prompts not selectable (no cursor pointer, no click handler) +- ✅ No browser alerts when picking prompts +- ✅ Pool stats refresh automatically after picking prompts +- ✅ Quick Actions box shows API tools instead of redundant buttons +- ✅ Footer copyright updated to 2026 + +All UI cleanup tasks have been successfully completed, resulting in a polished, intuitive web application with no redundant controls, no disruptive alerts, and accurate real-time data. diff --git a/data/prompts_historic.json b/data/prompts_historic.json index d182269..c3c640a 100644 --- a/data/prompts_historic.json +++ b/data/prompts_historic.json @@ -1,182 +1,182 @@ [ { - "prompt00": "Imagine your childhood home has a secret room you never discovered. Describe what you imagine is inside. Is it a treasure trove of forgotten toys? A dusty library of family secrets? A perfectly preserved moment from a specific day? Now, as an adult, write about what you would hope to find there, and what that hope reveals about your relationship to your own past." + "prompt00": "Describe a food or dish that is deeply connected to a specific memory of a person or place. Go beyond taste. Describe the sounds of its preparation, the smells that filled the air, the textures. Now, attempt to recreate it or seek it out. Does the experience live up to the memory, or does it highlight the irreproducible context of the original moment? Write about the pursuit of sensory time travel." }, { - "prompt01": "You discover a box of old keys. None are labeled. Describe their shapes, weights, and the sounds they make. Speculate on the doors, cabinets, or diaries they once unlocked. Choose one key and imagine the specific, significant thing it secured. Now, imagine throwing them all away, accepting that those locks will remain forever closed. Write about the liberation and the loss in that act of relinquishment." + "prompt01": "You are given a notebook with exactly one hundred blank pages. The instruction is to fill it with something meaningful, but you must decide what constitutes 'meaningful.' Describe your deliberation. Do you use it for sketches, observations, lists of grievances, gratitude, or a single, sprawling story? Write about the weight of the empty book and the significance you choose to impose upon its potential." }, { - "prompt02": "Find a source of natural, repetitive sound—rain on a roof, waves on a shore, wind in leaves. Listen until the sound ceases to be 'noise' and becomes a pattern, a rhythm, a form of silence. Describe the moment your perception shifted. What thoughts or memories surfaced in the space created by this hypnotic auditory pattern? Write about the meditation inherent in repetition." + "prompt02": "Choose a color that has held different meanings for you at different stages of your life. Trace its significance from childhood associations to current perceptions. Has it been a color of comfort, rebellion, mourning, or joy? Find an object in that color and describe it as a repository of these shifting emotional hues. How does color function as a silent, evolving language in your personal history?" }, { - "prompt03": "Describe a local landmark you've passed countless times but never truly examined—a statue, an old sign, a peculiar tree. Stop and study it for fifteen minutes. Record every detail, every crack, every stain. Now, research or imagine its history. How does this deep looking transform an invisible part of your landscape into a character with a story?" + "prompt03": "You receive a package with no return address. Inside is an object you have never seen before, but it feels vaguely, unsettlingly familiar. Describe this object in meticulous detail. What is its function? What does its design imply about its maker or its intended use? Write the story of how you interact with this mysterious artifact. Do you display it, hide it, or try to return it to a non-existent sender? What does your choice reveal?" }, { - "prompt04": "Test prompt for adding to history" + "prompt04": "Describe a flavor or taste combination that you find uniquely comforting. Deconstruct it into its elemental parts. Now, research or imagine its origin story. How did these ingredients first come together? Follow that history through trade routes, cultural fusion, or family tradition. How does knowing this deeper history alter the simple act of tasting? Does it add layers, or strip the comfort down to its essential chemistry?" }, { - "prompt05": "Choose a common phrase you use often (e.g., \"I'm fine,\" \"Just a minute,\" \"Don't worry about it\"). Dissect it. What does it truly mean when you say it? What does it conceal? What convenience does it provide? Now, for one day, vow not to use it. Chronicle the conversations that become longer, more awkward, or more honest as a result." + "prompt05": "Observe a cloud formation for an extended period. Chronicle its slow transformation from one shape into another. Resist the urge to name it (a dragon, a ship). Instead, describe the pure process of morphing, the dissipation and coagulation of vapor. Use this as a metaphor for a change in your own life that was gradual, inevitable, and beautiful in its impermanence. How do you document a process that leaves no solid artifact?" }, { - "prompt06": "Recall a time you received a gift that was perfectly, inexplicably right for you. Describe the gift and the giver. What made it so resonant? Was it an understanding of a secret wish, a reflection of an unseen part of you, or a tool you didn't know you needed? Explore the magic of being seen and understood through the medium of an object." + "prompt06": "Describe a piece of technology you use daily (a phone, a stove, a car) as if it were a living, breathing creature with its own moods and needs. Personify its sounds, its heat, its occasional malfunctions. Write a day in the life from its perspective. What does it 'experience'? How does it perceive your touch and your dependence? Does it feel like a symbiotic partner or a captive servant?" }, { - "prompt07": "Map a friendship as a shared garden. What did each of you plant in the initial soil? What has grown wild? What requires regular tending? Have there been seasons of drought or frost? Are there any beautiful, stubborn weeds? Write a gardener's diary entry about the current state of this plot, reflecting on its history and future." + "prompt07": "Imagine your childhood home has a secret room you never discovered. Describe what you imagine is inside. Is it a treasure trove of forgotten toys? A dusty library of family secrets? A perfectly preserved moment from a specific day? Now, as an adult, write about what you would hope to find there, and what that hope reveals about your relationship to your own past." }, { - "prompt08": "Describe a skill you have that is entirely non-verbal—perhaps riding a bike, kneading dough, tuning an instrument by ear. Attempt to write a manual for this skill using only metaphors and physical sensations. Avoid technical terms. Can you translate embodied knowledge into prose? What is lost, and what is poetically gained?" + "prompt08": "You discover a box of old keys. None are labeled. Describe their shapes, weights, and the sounds they make. Speculate on the doors, cabinets, or diaries they once unlocked. Choose one key and imagine the specific, significant thing it secured. Now, imagine throwing them all away, accepting that those locks will remain forever closed. Write about the liberation and the loss in that act of relinquishment." }, { - "prompt09": "Recall a scent that acts as a master key, unlocking a flood of specific, detailed memories. Describe the scent in non-scent words: is it sharp, round, velvety, brittle? Now, follow the key into the memory palace it opens. Don't just describe the memory; describe the architecture of the connection itself. How is scent wired so directly to the past?" + "prompt09": "Find a source of natural, repetitive sound—rain on a roof, waves on a shore, wind in leaves. Listen until the sound ceases to be 'noise' and becomes a pattern, a rhythm, a form of silence. Describe the moment your perception shifted. What thoughts or memories surfaced in the space created by this hypnotic auditory pattern? Write about the meditation inherent in repetition." }, { - "prompt10": "Imagine you are a translator for a species that communicates through subtle shifts in temperature. Describe a recent emotional experience as a thermal map. Where in your body did the warmth of joy concentrate? Where did the cold front of anxiety settle? How would you translate this silent, somatic language into words for someone who only understands degrees and gradients?" + "prompt10": "Describe a local landmark you've passed countless times but never truly examined—a statue, an old sign, a peculiar tree. Stop and study it for fifteen minutes. Record every detail, every crack, every stain. Now, research or imagine its history. How does this deep looking transform an invisible part of your landscape into a character with a story?" }, { - "prompt11": "Find a surface covered in a fine layer of dust—a windowsill, an old book, a forgotten picture frame. Describe this 'residue' of time and neglect. What stories does the pattern of settlement tell? Write about the act of wiping it away. Is it an erasure of history or a renewal? What clean surface is revealed, and does it feel like a loss or a gain?" + "prompt11": "Test prompt for adding to history" }, { - "prompt12": "Build a 'gossamer' bridge in your mind between two seemingly disconnected concepts: for example, baking bread and forgiveness, or traffic patterns and anxiety. Describe the fragile, translucent strands of logic or metaphor you use to connect them. Walk across this bridge. What new landscape do you find on the other side? Does the bridge hold, or dissolve after use?" + "prompt12": "Choose a common phrase you use often (e.g., \"I'm fine,\" \"Just a minute,\" \"Don't worry about it\"). Dissect it. What does it truly mean when you say it? What does it conceal? What convenience does it provide? Now, for one day, vow not to use it. Chronicle the conversations that become longer, more awkward, or more honest as a result." }, { - "prompt13": "Map a personal 'labyrinth' of procrastination or avoidance. What are its enticing entryways (\"I'll just check...\")? Its circular corridors of rationalization? Its terrifying center (the task itself)? Describe one recent journey into this maze. What finally provided the thread to lead you out, or what made you decide to sit in the center and confront the Minotaur?" + "prompt13": "Recall a time you received a gift that was perfectly, inexplicably right for you. Describe the gift and the giver. What made it so resonant? Was it an understanding of a secret wish, a reflection of an unseen part of you, or a tool you didn't know you needed? Explore the magic of being seen and understood through the medium of an object." }, { - "prompt14": "Craft a mental 'effigy' of a piece of advice you were given that you've chosen to ignore. Give it form and substance. Do you keep it on a shelf, bury it, or ritually dismantle it? Write about the act of holding this representation of rejected wisdom. Does making it concrete help you understand your refusal, or simply honor the intention of the giver?" + "prompt14": "Map a friendship as a shared garden. What did each of you plant in the initial soil? What has grown wild? What requires regular tending? Have there been seasons of drought or frost? Are there any beautiful, stubborn weeds? Write a gardener's diary entry about the current state of this plot, reflecting on its history and future." }, { - "prompt15": "Recall a decision point that felt like standing at the mouth of a 'labyrinth,' with multiple winding paths ahead. Describe the initial confusion and the method you used to choose an entrance (logic, intuition, chance). Now, with hindsight, map the path you actually took. Were there dead ends or unexpected centers? Did the labyrinth lead you out, or deeper into understanding?" + "prompt15": "Describe a skill you have that is entirely non-verbal—perhaps riding a bike, kneading dough, tuning an instrument by ear. Attempt to write a manual for this skill using only metaphors and physical sensations. Avoid technical terms. Can you translate embodied knowledge into prose? What is lost, and what is poetically gained?" }, { - "prompt16": "Contemplate a 'quasar'—an immensely luminous, distant celestial object. Use it as a metaphor for a source of guidance or inspiration in your life that feels both incredibly powerful and remote. Who or what is this distant beacon? Describe the 'light' it emits and the long journey it takes to reach you. How do you navigate by this ancient, brilliant, but fundamentally untouchable signal?" + "prompt16": "Recall a scent that acts as a master key, unlocking a flood of specific, detailed memories. Describe the scent in non-scent words: is it sharp, round, velvety, brittle? Now, follow the key into the memory palace it opens. Don't just describe the memory; describe the architecture of the connection itself. How is scent wired so directly to the past?" }, { - "prompt17": "Describe a piece of music that left a 'residue' in your mind—a melody that loops unbidden, a lyric that sticks, a rhythm that syncs with your heartbeat. How does this auditory artifact resurface during quiet moments? What emotional or memory-laden dust has it collected? Write about the process of this mental replay, and whether you seek to amplify it or gently brush it away." + "prompt17": "Imagine you are a translator for a species that communicates through subtle shifts in temperature. Describe a recent emotional experience as a thermal map. Where in your body did the warmth of joy concentrate? Where did the cold front of anxiety settle? How would you translate this silent, somatic language into words for someone who only understands degrees and gradients?" }, { - "prompt18": "Recall a 'failed' experiment from your past—a recipe that flopped, a project abandoned, a relationship that didn't work. Instead of framing it as a mistake, analyze it as a valuable trial that produced data. What did you learn about the materials, the process, or yourself? How did the outcome diverge from your hypothesis? Write a lab report for this experiment, focusing on the insights gained rather than the desired product. How does this reframe 'failure'?" + "prompt18": "Find a surface covered in a fine layer of dust—a windowsill, an old book, a forgotten picture frame. Describe this 'residue' of time and neglect. What stories does the pattern of settlement tell? Write about the act of wiping it away. Is it an erasure of history or a renewal? What clean surface is revealed, and does it feel like a loss or a gain?" }, { - "prompt19": "Chronicle the life cycle of a rumor or piece of gossip that reached you. Where did you first hear it? How did it mutate as it passed to you? What was your role—conduit, amplifier, skeptic, terminator? Analyze the social algorithm that governs such information transfer. What need did this rumor feed in its listeners? Write about the velocity and distortion of unverified stories through a community." + "prompt19": "Build a 'gossamer' bridge in your mind between two seemingly disconnected concepts: for example, baking bread and forgiveness, or traffic patterns and anxiety. Describe the fragile, translucent strands of logic or metaphor you use to connect them. Walk across this bridge. What new landscape do you find on the other side? Does the bridge hold, or dissolve after use?" }, { - "prompt20": "Recall a time you had to translate—not between languages, but between contexts: explaining a job to family, describing an emotion to someone who doesn't share it, making a technical concept accessible. Describe the words that failed you and the metaphors you crafted to bridge the gap. What was lost in translation? What was surprisingly clarified? Explore the act of building temporary, fragile bridges of understanding between internal and external worlds." + "prompt20": "Map a personal 'labyrinth' of procrastination or avoidance. What are its enticing entryways (\"I'll just check...\")? Its circular corridors of rationalization? Its terrifying center (the task itself)? Describe one recent journey into this maze. What finally provided the thread to lead you out, or what made you decide to sit in the center and confront the Minotaur?" }, { - "prompt21": "You discover a forgotten corner of a digital space you own—an old blog draft, a buried folder of photos, an abandoned social media profile. Explore this digital artifact as an archaeologist would a physical site. What does the layout, the language, the imagery tell you about a past self? Reconstruct the mindset of the person who created it. How does this digital echo compare to your current identity? Is it a charming relic or an unsettling ghost?" + "prompt21": "Craft a mental 'effigy' of a piece of advice you were given that you've chosen to ignore. Give it form and substance. Do you keep it on a shelf, bury it, or ritually dismantle it? Write about the act of holding this representation of rejected wisdom. Does making it concrete help you understand your refusal, or simply honor the intention of the giver?" }, { - "prompt22": "You are tasked with archiving a sound that is becoming obsolete—the click of a rotary phone, the chirp of a specific bird whose habitat is shrinking, the particular hum of an old appliance. Record a detailed description of this sound as if for a future museum. What are its frequencies, its rhythms, its emotional connotations? Now, imagine the silence that will exist in its place. What other, newer sounds will fill that auditory niche? Write an elegy for a vanishing sonic fingerprint." + "prompt22": "Recall a decision point that felt like standing at the mouth of a 'labyrinth,' with multiple winding paths ahead. Describe the initial confusion and the method you used to choose an entrance (logic, intuition, chance). Now, with hindsight, map the path you actually took. Were there dead ends or unexpected centers? Did the labyrinth lead you out, or deeper into understanding?" }, { - "prompt23": "Craft a mental effigy of a habit, fear, or desire you wish to understand better. Describe this symbolic representation in detail—its materials, its posture, its expression. Now, perform a symbolic action upon it: you might place it in a drawer, bury it in the garden of your mind, or set it adrift on an imaginary river. Chronicle this ritual. Does the act of creating and addressing the effigy change your relationship to the thing it represents, or does it merely make its presence more tangible?" + "prompt23": "Contemplate a 'quasar'—an immensely luminous, distant celestial object. Use it as a metaphor for a source of guidance or inspiration in your life that feels both incredibly powerful and remote. Who or what is this distant beacon? Describe the 'light' it emits and the long journey it takes to reach you. How do you navigate by this ancient, brilliant, but fundamentally untouchable signal?" }, { - "prompt24": "Describe a labyrinth you have constructed in your own mind—not a physical maze, but a complex, recurring thought pattern or emotional state you find yourself navigating. What are its winding corridors (rationalizations), its dead ends (frustrations), and its potential center (understanding or acceptance)? Map one recent journey through this internal labyrinth. What subtle tremor of insight or fear guided your turns? How do you find your way out, or do you choose to remain within, exploring its familiar, intricate paths?" + "prompt24": "Describe a piece of music that left a 'residue' in your mind—a melody that loops unbidden, a lyric that sticks, a rhythm that syncs with your heartbeat. How does this auditory artifact resurface during quiet moments? What emotional or memory-laden dust has it collected? Write about the process of this mental replay, and whether you seek to amplify it or gently brush it away." }, { - "prompt25": "Examine a family tradition or ritual as if it were an ancient artifact. Break down its syntax: the required steps, the symbolic objects, the spoken phrases. Who are the keepers of this tradition? How has it mutated or diverged over generations? Participate in or recall this ritual with fresh eyes. What unspoken values and histories are encoded within its performance? What would be lost if it faded into oblivion?" + "prompt25": "Recall a 'failed' experiment from your past—a recipe that flopped, a project abandoned, a relationship that didn't work. Instead of framing it as a mistake, analyze it as a valuable trial that produced data. What did you learn about the materials, the process, or yourself? How did the outcome diverge from your hypothesis? Write a lab report for this experiment, focusing on the insights gained rather than the desired product. How does this reframe 'failure'?" }, { - "prompt26": "Observe a plant growing in an unexpected place—a crack in the sidewalk, a gutter, a wall. Chronicle its struggle and persistence. Imagine the velocity of its growth against all odds. Write from the plant's perspective about its daily existence: the foot traffic, the weather, the search for sustenance. What can this resilient life form teach you about finding footholds and thriving in inhospitable environments?" + "prompt26": "Chronicle the life cycle of a rumor or piece of gossip that reached you. Where did you first hear it? How did it mutate as it passed to you? What was your role—conduit, amplifier, skeptic, terminator? Analyze the social algorithm that governs such information transfer. What need did this rumor feed in its listeners? Write about the velocity and distortion of unverified stories through a community." }, { - "prompt27": "Imagine your creative process as a room with many thresholds. Describe the room where you generate raw ideas—its mess, its energy. Then, describe the act of crossing the threshold into the room where you refine and edit. What changes in the atmosphere? What do you leave behind at the door, and what must you carry with you? Write about the architecture of your own creativity." + "prompt27": "Recall a time you had to translate—not between languages, but between contexts: explaining a job to family, describing an emotion to someone who doesn't share it, making a technical concept accessible. Describe the words that failed you and the metaphors you crafted to bridge the gap. What was lost in translation? What was surprisingly clarified? Explore the act of building temporary, fragile bridges of understanding between internal and external worlds." }, { - "prompt28": "You are given a seed. It is not a magical seed, but an ordinary one from a fruit you ate. Instead of planting it, you decide to carry it with you for a week as a silent companion. Describe its presence in your pocket or bag. How does knowing it is there, a compact potential for an entire mycelial network of roots and a tree, subtly influence your days? Write about the weight of unactivated futures." + "prompt28": "You discover a forgotten corner of a digital space you own—an old blog draft, a buried folder of photos, an abandoned social media profile. Explore this digital artifact as an archaeologist would a physical site. What does the layout, the language, the imagery tell you about a past self? Reconstruct the mindset of the person who created it. How does this digital echo compare to your current identity? Is it a charming relic or an unsettling ghost?" }, { - "prompt29": "Recall a time you had to learn a new system or language quickly—a job, a software, a social circle. Describe the initial phase of feeling like an outsider, decoding the basic algorithms of behavior. Then, focus on the precise moment you felt you crossed the threshold from outsider to competent insider. What was the catalyst? A piece of understood jargon? A successfully completed task? Explore the subtle architecture of belonging." + "prompt29": "You are tasked with archiving a sound that is becoming obsolete—the click of a rotary phone, the chirp of a specific bird whose habitat is shrinking, the particular hum of an old appliance. Record a detailed description of this sound as if for a future museum. What are its frequencies, its rhythms, its emotional connotations? Now, imagine the silence that will exist in its place. What other, newer sounds will fill that auditory niche? Write an elegy for a vanishing sonic fingerprint." }, { - "prompt30": "You find an old, annotated map—perhaps in a book, or a tourist pamphlet from a trip long ago. Study the marks: circled sites, crossed-out routes, notes in the margin. Reconstruct the journey of the person who held this map. Where did they plan to go? Where did they actually go, based on the evidence? Write the travelogue of that forgotten expedition, blending the cartographic intention with the likely reality." + "prompt30": "Craft a mental effigy of a habit, fear, or desire you wish to understand better. Describe this symbolic representation in detail—its materials, its posture, its expression. Now, perform a symbolic action upon it: you might place it in a drawer, bury it in the garden of your mind, or set it adrift on an imaginary river. Chronicle this ritual. Does the act of creating and addressing the effigy change your relationship to the thing it represents, or does it merely make its presence more tangible?" }, { - "prompt31": "You encounter a door that is usually locked, but today it is slightly ajar. This is not a grand, mysterious portal, but an ordinary door—to a storage closet, a rooftop, a neighbor's garden gate. Write about the potent allure of this minor threshold. Do you push it open? What mundane or profound discovery lies on the other side? Explore the magnetism of accessible secrets in a world of usual boundaries." + "prompt31": "Describe a labyrinth you have constructed in your own mind—not a physical maze, but a complex, recurring thought pattern or emotional state you find yourself navigating. What are its winding corridors (rationalizations), its dead ends (frustrations), and its potential center (understanding or acceptance)? Map one recent journey through this internal labyrinth. What subtle tremor of insight or fear guided your turns? How do you find your way out, or do you choose to remain within, exploring its familiar, intricate paths?" }, { - "prompt32": "Recall a piece of practical advice you received that functioned like a simple life algorithm: 'When X happens, do Y.' Examine a recent situation where you deliberately chose not to follow that algorithm. What prompted the deviation? What was the outcome? Describe the feeling of operating outside of a previously trusted internal program. Did the mutation feel like a mistake or an evolution?" + "prompt32": "Examine a family tradition or ritual as if it were an ancient artifact. Break down its syntax: the required steps, the symbolic objects, the spoken phrases. Who are the keepers of this tradition? How has it mutated or diverged over generations? Participate in or recall this ritual with fresh eyes. What unspoken values and histories are encoded within its performance? What would be lost if it faded into oblivion?" }, { - "prompt33": "Describe a piece of clothing you own that has been altered or mended multiple times. Trace the history of each repair. Who performed them, and under what circumstances? How does the garment's story of damage and restoration mirror larger cycles of wear and renewal in your own life? What does its continued use, despite its patched state, say about your relationship with impermanence and care?" + "prompt33": "Observe a plant growing in an unexpected place—a crack in the sidewalk, a gutter, a wall. Chronicle its struggle and persistence. Imagine the velocity of its growth against all odds. Write from the plant's perspective about its daily existence: the foot traffic, the weather, the search for sustenance. What can this resilient life form teach you about finding footholds and thriving in inhospitable environments?" }, { - "prompt34": "You find an old, hand-drawn map that leads to a place in your neighborhood. Follow it. Does it lead you to a spot that still exists, or to a location now utterly changed? Describe the journey of reconciling the cartography of the past with the terrain of the present. What has been erased? What endures? What ghosts of previous journeys do you feel along the way?" + "prompt34": "Imagine your creative process as a room with many thresholds. Describe the room where you generate raw ideas—its mess, its energy. Then, describe the act of crossing the threshold into the room where you refine and edit. What changes in the atmosphere? What do you leave behind at the door, and what must you carry with you? Write about the architecture of your own creativity." }, { - "prompt35": "Consider a skill you are learning. Break down its initial algorithm—the basic, rigid steps you must follow. Now, describe the moment when practice leads to mutation: the algorithm begins to dissolve into intuition, muscle memory, or personal style. Where are you in this process? Can you feel the old, clunky code still running beneath the new, fluid performance? Write about the uncomfortable, fruitful space between competence and mastery." + "prompt35": "You are given a seed. It is not a magical seed, but an ordinary one from a fruit you ate. Instead of planting it, you decide to carry it with you for a week as a silent companion. Describe its presence in your pocket or bag. How does knowing it is there, a compact potential for an entire mycelial network of roots and a tree, subtly influence your days? Write about the weight of unactivated futures." }, { - "prompt36": "Analyze the unspoken social algorithm of a group you belong to—your family, your friend circle, your coworkers. What are the input rules (jokes that are allowed, topics to avoid)? What are the output expectations (laughter, support, problem-solving)? Now, imagine introducing a mutation: you break a minor, unwritten rule. Chronicle the system's response. Does it self-correct, reject the input, or adapt?" + "prompt36": "Recall a time you had to learn a new system or language quickly—a job, a software, a social circle. Describe the initial phase of feeling like an outsider, decoding the basic algorithms of behavior. Then, focus on the precise moment you felt you crossed the threshold from outsider to competent insider. What was the catalyst? A piece of understood jargon? A successfully completed task? Explore the subtle architecture of belonging." }, { - "prompt37": "Imagine your daily routine is a genetic sequence. Identify a habitual behavior that feels like a dominant gene. Now, imagine a spontaneous mutation occurring in this sequence—one small, random change in the order or execution of your day. Follow the consequences. Does this mutation prove beneficial, harmful, or neutral? Does it replicate and become part of your new code? Write about the evolution of a personal habit through chance." + "prompt37": "You find an old, annotated map—perhaps in a book, or a tourist pamphlet from a trip long ago. Study the marks: circled sites, crossed-out routes, notes in the margin. Reconstruct the journey of the person who held this map. Where did they plan to go? Where did they actually go, based on the evidence? Write the travelogue of that forgotten expedition, blending the cartographic intention with the likely reality." }, { - "prompt38": "Your memory is a vast, dark archive. Choose a specific memory and imagine you are its archivist. Describe the process of retrieving it: locating the correct catalog number, the feel of the storage medium, the quality of the playback. Now, describe the process of conservation—what elements are fragile and in need of repair? Do you restore it to its original clarity, or preserve its current, faded state? What is the ethical duty of a self-archivist?" + "prompt38": "You encounter a door that is usually locked, but today it is slightly ajar. This is not a grand, mysterious portal, but an ordinary door—to a storage closet, a rooftop, a neighbor's garden gate. Write about the potent allure of this minor threshold. Do you push it open? What mundane or profound discovery lies on the other side? Explore the magnetism of accessible secrets in a world of usual boundaries." }, { - "prompt39": "Examine a mended object in your possession—a book with tape, a garment with a patch, a glued-together mug. Describe the repair not as a flaw, but as a new feature, a record of care and continuity. Write the history of its breaking and its fixing. Who performed the repair, and what was their state of mind? How does the object's value now reside in its visible history of damage and healing?" + "prompt39": "Recall a piece of practical advice you received that functioned like a simple life algorithm: 'When X happens, do Y.' Examine a recent situation where you deliberately chose not to follow that algorithm. What prompted the deviation? What was the outcome? Describe the feeling of operating outside of a previously trusted internal program. Did the mutation feel like a mistake or an evolution?" }, { - "prompt40": "Imagine you are a cartographer of sound. Map the auditory landscape of your current environment. Label the persistent drones, the intermittent rhythms, the sudden percussive events. What are the quiet zones? Where do sounds overlap to create new harmonies or dissonances? Now, imagine mutating one sound source—silencing a hum, amplifying a whisper, changing a rhythm. How does this single alteration redraw the entire sonic map and your emotional response to the space?" + "prompt40": "Describe a piece of clothing you own that has been altered or mended multiple times. Trace the history of each repair. Who performed them, and under what circumstances? How does the garment's story of damage and restoration mirror larger cycles of wear and renewal in your own life? What does its continued use, despite its patched state, say about your relationship with impermanence and care?" }, { - "prompt41": "Contemplate the concept of a 'watershed'—a geographical dividing line. Now, identify a watershed moment in your own life: a decision, an event, or a realization that divided your experience into 'before' and 'after.' Describe the landscape of the 'before.' Then, detail the moment of the divide itself. Finally, look out over the 'after' territory. How did the paths available to you fundamentally diverge at that ridge line? What rivers of consequence began to flow in new directions?" + "prompt41": "You find an old, hand-drawn map that leads to a place in your neighborhood. Follow it. Does it lead you to a spot that still exists, or to a location now utterly changed? Describe the journey of reconciling the cartography of the past with the terrain of the present. What has been erased? What endures? What ghosts of previous journeys do you feel along the way?" }, { - "prompt42": "Observe a spiderweb, a bird's nest, or another intricate natural construction. Describe it not as a static object, but as the recorded evidence of a process—a series of deliberate actions repeated to create a functional whole. Imagine you are an archaeologist from another planet discovering this artifact. What hypotheses would you form about the builder's intelligence, needs, and methods? Write your field report." + "prompt42": "Consider a skill you are learning. Break down its initial algorithm—the basic, rigid steps you must follow. Now, describe the moment when practice leads to mutation: the algorithm begins to dissolve into intuition, muscle memory, or personal style. Where are you in this process? Can you feel the old, clunky code still running beneath the new, fluid performance? Write about the uncomfortable, fruitful space between competence and mastery." }, { - "prompt43": "Walk through a familiar indoor space (your home, your office) in complete darkness, or with your eyes closed if safe. Navigate by touch, memory, and sound alone. Describe the experience. Which objects and spaces feel different? What details do you notice that vision usually overrides? Write about the knowledge held in your hands and feet, and the temporary oblivion of the visual world. How does this shift in primary sense redefine your understanding of the space?" + "prompt43": "Analyze the unspoken social algorithm of a group you belong to—your family, your friend circle, your coworkers. What are the input rules (jokes that are allowed, topics to avoid)? What are the output expectations (laughter, support, problem-solving)? Now, imagine introducing a mutation: you break a minor, unwritten rule. Chronicle the system's response. Does it self-correct, reject the input, or adapt?" }, { - "prompt44": "You discover a single, worn-out glove lying on a park bench. Describe it in detail—its color, material, signs of wear. Write a speculative history for this artifact. Who owned it? How was it lost? From the glove's perspective, narrate its journey from a department store shelf to this moment of abandonment. What human warmth did it hold, and what does its solitary state signify about loss and separation?" + "prompt44": "Imagine your daily routine is a genetic sequence. Identify a habitual behavior that feels like a dominant gene. Now, imagine a spontaneous mutation occurring in this sequence—one small, random change in the order or execution of your day. Follow the consequences. Does this mutation prove beneficial, harmful, or neutral? Does it replicate and become part of your new code? Write about the evolution of a personal habit through chance." }, { - "prompt45": "Find a body of water—a puddle after rain, a pond, a riverbank. Look at your reflection, then disturb the surface with a touch or a thrown pebble. Watch the image shatter and slowly reform. Use this as a metaphor for a period of personal disruption in your life. Describe the 'shattering' event, the chaotic ripple period, and the gradual, never-quite-identical reformation of your sense of self. What was lost in the distortion, and what new facets were revealed?" + "prompt45": "Your memory is a vast, dark archive. Choose a specific memory and imagine you are its archivist. Describe the process of retrieving it: locating the correct catalog number, the feel of the storage medium, the quality of the playback. Now, describe the process of conservation—what elements are fragile and in need of repair? Do you restore it to its original clarity, or preserve its current, faded state? What is the ethical duty of a self-archivist?" }, { - "prompt46": "You are handed a map of a city you know well, but it is from a century ago. Compare it to the modern layout. Which streets have vanished into oblivion, paved over or renamed? Which buildings are ghosts on the page? Choose one lost place and imagine walking its forgotten route today. What echoes of its past life—sounds, smells, activities—can you almost perceive beneath the contemporary surface? Write about the layers of history that coexist in a single geographic space." + "prompt46": "Examine a mended object in your possession—a book with tape, a garment with a patch, a glued-together mug. Describe the repair not as a flaw, but as a new feature, a record of care and continuity. Write the history of its breaking and its fixing. Who performed the repair, and what was their state of mind? How does the object's value now reside in its visible history of damage and healing?" }, { - "prompt47": "What is something you've been putting off and why?" + "prompt47": "Imagine you are a cartographer of sound. Map the auditory landscape of your current environment. Label the persistent drones, the intermittent rhythms, the sudden percussive events. What are the quiet zones? Where do sounds overlap to create new harmonies or dissonances? Now, imagine mutating one sound source—silencing a hum, amplifying a whisper, changing a rhythm. How does this single alteration redraw the entire sonic map and your emotional response to the space?" }, { - "prompt48": "Recall a piece of art—a painting, song, film—that initially confused or repelled you, but that you later came to appreciate or love. Describe your first, negative reaction in detail. Then, trace the journey to understanding. What changed in you or your context that allowed a new interpretation? Write about the value of sitting with discomfort and the rewards of having your internal syntax for beauty challenged and expanded." + "prompt48": "Contemplate the concept of a 'watershed'—a geographical dividing line. Now, identify a watershed moment in your own life: a decision, an event, or a realization that divided your experience into 'before' and 'after.' Describe the landscape of the 'before.' Then, detail the moment of the divide itself. Finally, look out over the 'after' territory. How did the paths available to you fundamentally diverge at that ridge line? What rivers of consequence began to flow in new directions?" }, { - "prompt49": "Imagine your life as a vast, intricate tapestry. Describe the overall scene it depicts. Now, find a single, loose thread—a small regret, an unresolved question, a path not taken. Write about gently pulling on that thread. What part of the tapestry begins to unravel? What new pattern or image is revealed—or destroyed—by following this divergence? Is the act one of repair or deconstruction?" + "prompt49": "Observe a spiderweb, a bird's nest, or another intricate natural construction. Describe it not as a static object, but as the recorded evidence of a process—a series of deliberate actions repeated to create a functional whole. Imagine you are an archaeologist from another planet discovering this artifact. What hypotheses would you form about the builder's intelligence, needs, and methods? Write your field report." }, { - "prompt50": "Recall a dream that felt more real than waking life. Describe its internal logic, its emotional palette, and its lingering aftertaste. Now, write a 'practical guide' for navigating that specific dreamscape, as if for a tourist. What are the rules? What should one avoid? What treasures might be found? By treating the dream as a tangible place, what insights do you gain about the concerns of your subconscious?" + "prompt50": "Walk through a familiar indoor space (your home, your office) in complete darkness, or with your eyes closed if safe. Navigate by touch, memory, and sound alone. Describe the experience. Which objects and spaces feel different? What details do you notice that vision usually overrides? Write about the knowledge held in your hands and feet, and the temporary oblivion of the visual world. How does this shift in primary sense redefine your understanding of the space?" }, { - "prompt51": "Describe a public space you frequent (a library, a cafe, a park) at the exact moment it opens or closes. Capture the transition from emptiness to potential, or from activity to stillness. Focus on the staff or custodians who facilitate this transition—the unseen architects of these daily cycles. Write from the perspective of the space itself as it breathes in or out its human occupants. What residue of the day does it hold in the quiet?" + "prompt51": "You discover a single, worn-out glove lying on a park bench. Describe it in detail—its color, material, signs of wear. Write a speculative history for this artifact. Who owned it? How was it lost? From the glove's perspective, narrate its journey from a department store shelf to this moment of abandonment. What human warmth did it hold, and what does its solitary state signify about loss and separation?" }, { - "prompt52": "Listen to a piece of music you know well, but focus exclusively on a single instrument or voice that usually resides in the background. Follow its thread through the entire composition. Describe its journey: when does it lead, when does it harmonize, when does it fall silent? Now, write a short story where this supporting element is the main character. How does shifting your auditory focus create a new narrative from familiar material?" + "prompt52": "Find a body of water—a puddle after rain, a pond, a riverbank. Look at your reflection, then disturb the surface with a touch or a thrown pebble. Watch the image shatter and slowly reform. Use this as a metaphor for a period of personal disruption in your life. Describe the 'shattering' event, the chaotic ripple period, and the gradual, never-quite-identical reformation of your sense of self. What was lost in the distortion, and what new facets were revealed?" }, { - "prompt53": "Describe your reflection in a window at night, with the interior light creating a double exposure of your face and the dark world outside. What two versions of yourself are superimposed? Write a conversation between the 'inside' self, defined by your private space, and the 'outside' self, defined by the anonymous night. What do they want from each other? How does this liminal artifact—the glass—both separate and connect these identities?" + "prompt53": "You are handed a map of a city you know well, but it is from a century ago. Compare it to the modern layout. Which streets have vanished into oblivion, paved over or renamed? Which buildings are ghosts on the page? Choose one lost place and imagine walking its forgotten route today. What echoes of its past life—sounds, smells, activities—can you almost perceive beneath the contemporary surface? Write about the layers of history that coexist in a single geographic space." }, { - "prompt54": "Imagine you are a diver exploring the deep ocean of your own memory. Choose a specific, vivid memory and describe it as a submerged landscape. What creatures (emotions) swim there? What is the water pressure (emotional weight) like? Now, imagine a small, deliberate act of forgetting—letting a single detail of that memory dissolve into the murk. How does this selective oblivion change the entire ecosystem of that recollection? Does it create space for new growth, or does it feel like a loss of truth?" + "prompt54": "What is something you've been putting off and why?" }, { - "prompt55": "Recall a conversation that ended in a misunderstanding that was never resolved. Re-write the exchange, but introduce a single point of divergence—one person says something slightly different, or pauses a moment longer. How does this tiny change alter the entire trajectory of the conversation and potentially the relationship? Explore the butterfly effect in human dialogue." + "prompt55": "Recall a piece of art—a painting, song, film—that initially confused or repelled you, but that you later came to appreciate or love. Describe your first, negative reaction in detail. Then, trace the journey to understanding. What changed in you or your context that allowed a new interpretation? Write about the value of sitting with discomfort and the rewards of having your internal syntax for beauty challenged and expanded." }, { - "prompt56": "Spend 15 minutes in complete silence, actively listening for the absence of a specific sound that is usually present (e.g., traffic, refrigerator hum, birds). Describe the quality of this crafted silence. What smaller sounds emerge in the void? How does your mind and body react to the deliberate removal of this sonic artifact? Explore the concept of oblivion as an active, perceptible state rather than a mere lack." + "prompt56": "Imagine your life as a vast, intricate tapestry. Describe the overall scene it depicts. Now, find a single, loose thread—a small regret, an unresolved question, a path not taken. Write about gently pulling on that thread. What part of the tapestry begins to unravel? What new pattern or image is revealed—or destroyed—by following this divergence? Is the act one of repair or deconstruction?" }, { - "prompt57": "Describe a skill or talent you possess that feels like it's fading from lack of use—a language getting rusty, a sport you no longer play, an instrument gathering dust. Perform or practice it now, even if clumsily. Chronicle the physical and mental sensations of re-engagement. What echoes of proficiency remain? Is the knowledge truly gone, or merely dormant? Write about the relationship between mastery and oblivion." + "prompt57": "Recall a dream that felt more real than waking life. Describe its internal logic, its emotional palette, and its lingering aftertaste. Now, write a 'practical guide' for navigating that specific dreamscape, as if for a tourist. What are the rules? What should one avoid? What treasures might be found? By treating the dream as a tangible place, what insights do you gain about the concerns of your subconscious?" }, { - "prompt58": "Choose a common word (e.g., 'home,' 'work,' 'friend') and dissect its personal syntax. What rules, associations, and exceptions have you built around its meaning? Now, deliberately break one of those rules. Use the word in a context or with a definition that feels wrong to you. Write a paragraph that forces this new usage. How does corrupting your own internal language create space for new understanding?" + "prompt58": "Describe a public space you frequent (a library, a cafe, a park) at the exact moment it opens or closes. Capture the transition from emptiness to potential, or from activity to stillness. Focus on the staff or custodians who facilitate this transition—the unseen architects of these daily cycles. Write from the perspective of the space itself as it breathes in or out its human occupants. What residue of the day does it hold in the quiet?" }, { - "prompt59": "Contemplate a personal habit or pattern you wish to change. Instead of focusing on breaking it, imagine it diverging—mutating into a new, slightly different pattern. Describe the old habit in detail, then design its evolved form. What small, intentional twist could redirect its energy? Write about a day living with this divergent habit. How does a shift in perspective, rather than eradication, alter your relationship to it?" + "prompt59": "Listen to a piece of music you know well, but focus exclusively on a single instrument or voice that usually resides in the background. Follow its thread through the entire composition. Describe its journey: when does it lead, when does it harmonize, when does it fall silent? Now, write a short story where this supporting element is the main character. How does shifting your auditory focus create a new narrative from familiar material?" } ] \ No newline at end of file diff --git a/data/prompts_historic.json.bak b/data/prompts_historic.json.bak index a56fc7f..f207543 100644 --- a/data/prompts_historic.json.bak +++ b/data/prompts_historic.json.bak @@ -1,182 +1,182 @@ [ { - "prompt00": "You discover a box of old keys. None are labeled. Describe their shapes, weights, and the sounds they make. Speculate on the doors, cabinets, or diaries they once unlocked. Choose one key and imagine the specific, significant thing it secured. Now, imagine throwing them all away, accepting that those locks will remain forever closed. Write about the liberation and the loss in that act of relinquishment." + "prompt00": "You are given a notebook with exactly one hundred blank pages. The instruction is to fill it with something meaningful, but you must decide what constitutes 'meaningful.' Describe your deliberation. Do you use it for sketches, observations, lists of grievances, gratitude, or a single, sprawling story? Write about the weight of the empty book and the significance you choose to impose upon its potential." }, { - "prompt01": "Find a source of natural, repetitive sound—rain on a roof, waves on a shore, wind in leaves. Listen until the sound ceases to be 'noise' and becomes a pattern, a rhythm, a form of silence. Describe the moment your perception shifted. What thoughts or memories surfaced in the space created by this hypnotic auditory pattern? Write about the meditation inherent in repetition." + "prompt01": "Choose a color that has held different meanings for you at different stages of your life. Trace its significance from childhood associations to current perceptions. Has it been a color of comfort, rebellion, mourning, or joy? Find an object in that color and describe it as a repository of these shifting emotional hues. How does color function as a silent, evolving language in your personal history?" }, { - "prompt02": "Describe a local landmark you've passed countless times but never truly examined—a statue, an old sign, a peculiar tree. Stop and study it for fifteen minutes. Record every detail, every crack, every stain. Now, research or imagine its history. How does this deep looking transform an invisible part of your landscape into a character with a story?" + "prompt02": "You receive a package with no return address. Inside is an object you have never seen before, but it feels vaguely, unsettlingly familiar. Describe this object in meticulous detail. What is its function? What does its design imply about its maker or its intended use? Write the story of how you interact with this mysterious artifact. Do you display it, hide it, or try to return it to a non-existent sender? What does your choice reveal?" }, { - "prompt03": "Test prompt for adding to history" + "prompt03": "Describe a flavor or taste combination that you find uniquely comforting. Deconstruct it into its elemental parts. Now, research or imagine its origin story. How did these ingredients first come together? Follow that history through trade routes, cultural fusion, or family tradition. How does knowing this deeper history alter the simple act of tasting? Does it add layers, or strip the comfort down to its essential chemistry?" }, { - "prompt04": "Choose a common phrase you use often (e.g., \"I'm fine,\" \"Just a minute,\" \"Don't worry about it\"). Dissect it. What does it truly mean when you say it? What does it conceal? What convenience does it provide? Now, for one day, vow not to use it. Chronicle the conversations that become longer, more awkward, or more honest as a result." + "prompt04": "Observe a cloud formation for an extended period. Chronicle its slow transformation from one shape into another. Resist the urge to name it (a dragon, a ship). Instead, describe the pure process of morphing, the dissipation and coagulation of vapor. Use this as a metaphor for a change in your own life that was gradual, inevitable, and beautiful in its impermanence. How do you document a process that leaves no solid artifact?" }, { - "prompt05": "Recall a time you received a gift that was perfectly, inexplicably right for you. Describe the gift and the giver. What made it so resonant? Was it an understanding of a secret wish, a reflection of an unseen part of you, or a tool you didn't know you needed? Explore the magic of being seen and understood through the medium of an object." + "prompt05": "Describe a piece of technology you use daily (a phone, a stove, a car) as if it were a living, breathing creature with its own moods and needs. Personify its sounds, its heat, its occasional malfunctions. Write a day in the life from its perspective. What does it 'experience'? How does it perceive your touch and your dependence? Does it feel like a symbiotic partner or a captive servant?" }, { - "prompt06": "Map a friendship as a shared garden. What did each of you plant in the initial soil? What has grown wild? What requires regular tending? Have there been seasons of drought or frost? Are there any beautiful, stubborn weeds? Write a gardener's diary entry about the current state of this plot, reflecting on its history and future." + "prompt06": "Imagine your childhood home has a secret room you never discovered. Describe what you imagine is inside. Is it a treasure trove of forgotten toys? A dusty library of family secrets? A perfectly preserved moment from a specific day? Now, as an adult, write about what you would hope to find there, and what that hope reveals about your relationship to your own past." }, { - "prompt07": "Describe a skill you have that is entirely non-verbal—perhaps riding a bike, kneading dough, tuning an instrument by ear. Attempt to write a manual for this skill using only metaphors and physical sensations. Avoid technical terms. Can you translate embodied knowledge into prose? What is lost, and what is poetically gained?" + "prompt07": "You discover a box of old keys. None are labeled. Describe their shapes, weights, and the sounds they make. Speculate on the doors, cabinets, or diaries they once unlocked. Choose one key and imagine the specific, significant thing it secured. Now, imagine throwing them all away, accepting that those locks will remain forever closed. Write about the liberation and the loss in that act of relinquishment." }, { - "prompt08": "Recall a scent that acts as a master key, unlocking a flood of specific, detailed memories. Describe the scent in non-scent words: is it sharp, round, velvety, brittle? Now, follow the key into the memory palace it opens. Don't just describe the memory; describe the architecture of the connection itself. How is scent wired so directly to the past?" + "prompt08": "Find a source of natural, repetitive sound—rain on a roof, waves on a shore, wind in leaves. Listen until the sound ceases to be 'noise' and becomes a pattern, a rhythm, a form of silence. Describe the moment your perception shifted. What thoughts or memories surfaced in the space created by this hypnotic auditory pattern? Write about the meditation inherent in repetition." }, { - "prompt09": "Imagine you are a translator for a species that communicates through subtle shifts in temperature. Describe a recent emotional experience as a thermal map. Where in your body did the warmth of joy concentrate? Where did the cold front of anxiety settle? How would you translate this silent, somatic language into words for someone who only understands degrees and gradients?" + "prompt09": "Describe a local landmark you've passed countless times but never truly examined—a statue, an old sign, a peculiar tree. Stop and study it for fifteen minutes. Record every detail, every crack, every stain. Now, research or imagine its history. How does this deep looking transform an invisible part of your landscape into a character with a story?" }, { - "prompt10": "Find a surface covered in a fine layer of dust—a windowsill, an old book, a forgotten picture frame. Describe this 'residue' of time and neglect. What stories does the pattern of settlement tell? Write about the act of wiping it away. Is it an erasure of history or a renewal? What clean surface is revealed, and does it feel like a loss or a gain?" + "prompt10": "Test prompt for adding to history" }, { - "prompt11": "Build a 'gossamer' bridge in your mind between two seemingly disconnected concepts: for example, baking bread and forgiveness, or traffic patterns and anxiety. Describe the fragile, translucent strands of logic or metaphor you use to connect them. Walk across this bridge. What new landscape do you find on the other side? Does the bridge hold, or dissolve after use?" + "prompt11": "Choose a common phrase you use often (e.g., \"I'm fine,\" \"Just a minute,\" \"Don't worry about it\"). Dissect it. What does it truly mean when you say it? What does it conceal? What convenience does it provide? Now, for one day, vow not to use it. Chronicle the conversations that become longer, more awkward, or more honest as a result." }, { - "prompt12": "Map a personal 'labyrinth' of procrastination or avoidance. What are its enticing entryways (\"I'll just check...\")? Its circular corridors of rationalization? Its terrifying center (the task itself)? Describe one recent journey into this maze. What finally provided the thread to lead you out, or what made you decide to sit in the center and confront the Minotaur?" + "prompt12": "Recall a time you received a gift that was perfectly, inexplicably right for you. Describe the gift and the giver. What made it so resonant? Was it an understanding of a secret wish, a reflection of an unseen part of you, or a tool you didn't know you needed? Explore the magic of being seen and understood through the medium of an object." }, { - "prompt13": "Craft a mental 'effigy' of a piece of advice you were given that you've chosen to ignore. Give it form and substance. Do you keep it on a shelf, bury it, or ritually dismantle it? Write about the act of holding this representation of rejected wisdom. Does making it concrete help you understand your refusal, or simply honor the intention of the giver?" + "prompt13": "Map a friendship as a shared garden. What did each of you plant in the initial soil? What has grown wild? What requires regular tending? Have there been seasons of drought or frost? Are there any beautiful, stubborn weeds? Write a gardener's diary entry about the current state of this plot, reflecting on its history and future." }, { - "prompt14": "Recall a decision point that felt like standing at the mouth of a 'labyrinth,' with multiple winding paths ahead. Describe the initial confusion and the method you used to choose an entrance (logic, intuition, chance). Now, with hindsight, map the path you actually took. Were there dead ends or unexpected centers? Did the labyrinth lead you out, or deeper into understanding?" + "prompt14": "Describe a skill you have that is entirely non-verbal—perhaps riding a bike, kneading dough, tuning an instrument by ear. Attempt to write a manual for this skill using only metaphors and physical sensations. Avoid technical terms. Can you translate embodied knowledge into prose? What is lost, and what is poetically gained?" }, { - "prompt15": "Contemplate a 'quasar'—an immensely luminous, distant celestial object. Use it as a metaphor for a source of guidance or inspiration in your life that feels both incredibly powerful and remote. Who or what is this distant beacon? Describe the 'light' it emits and the long journey it takes to reach you. How do you navigate by this ancient, brilliant, but fundamentally untouchable signal?" + "prompt15": "Recall a scent that acts as a master key, unlocking a flood of specific, detailed memories. Describe the scent in non-scent words: is it sharp, round, velvety, brittle? Now, follow the key into the memory palace it opens. Don't just describe the memory; describe the architecture of the connection itself. How is scent wired so directly to the past?" }, { - "prompt16": "Describe a piece of music that left a 'residue' in your mind—a melody that loops unbidden, a lyric that sticks, a rhythm that syncs with your heartbeat. How does this auditory artifact resurface during quiet moments? What emotional or memory-laden dust has it collected? Write about the process of this mental replay, and whether you seek to amplify it or gently brush it away." + "prompt16": "Imagine you are a translator for a species that communicates through subtle shifts in temperature. Describe a recent emotional experience as a thermal map. Where in your body did the warmth of joy concentrate? Where did the cold front of anxiety settle? How would you translate this silent, somatic language into words for someone who only understands degrees and gradients?" }, { - "prompt17": "Recall a 'failed' experiment from your past—a recipe that flopped, a project abandoned, a relationship that didn't work. Instead of framing it as a mistake, analyze it as a valuable trial that produced data. What did you learn about the materials, the process, or yourself? How did the outcome diverge from your hypothesis? Write a lab report for this experiment, focusing on the insights gained rather than the desired product. How does this reframe 'failure'?" + "prompt17": "Find a surface covered in a fine layer of dust—a windowsill, an old book, a forgotten picture frame. Describe this 'residue' of time and neglect. What stories does the pattern of settlement tell? Write about the act of wiping it away. Is it an erasure of history or a renewal? What clean surface is revealed, and does it feel like a loss or a gain?" }, { - "prompt18": "Chronicle the life cycle of a rumor or piece of gossip that reached you. Where did you first hear it? How did it mutate as it passed to you? What was your role—conduit, amplifier, skeptic, terminator? Analyze the social algorithm that governs such information transfer. What need did this rumor feed in its listeners? Write about the velocity and distortion of unverified stories through a community." + "prompt18": "Build a 'gossamer' bridge in your mind between two seemingly disconnected concepts: for example, baking bread and forgiveness, or traffic patterns and anxiety. Describe the fragile, translucent strands of logic or metaphor you use to connect them. Walk across this bridge. What new landscape do you find on the other side? Does the bridge hold, or dissolve after use?" }, { - "prompt19": "Recall a time you had to translate—not between languages, but between contexts: explaining a job to family, describing an emotion to someone who doesn't share it, making a technical concept accessible. Describe the words that failed you and the metaphors you crafted to bridge the gap. What was lost in translation? What was surprisingly clarified? Explore the act of building temporary, fragile bridges of understanding between internal and external worlds." + "prompt19": "Map a personal 'labyrinth' of procrastination or avoidance. What are its enticing entryways (\"I'll just check...\")? Its circular corridors of rationalization? Its terrifying center (the task itself)? Describe one recent journey into this maze. What finally provided the thread to lead you out, or what made you decide to sit in the center and confront the Minotaur?" }, { - "prompt20": "You discover a forgotten corner of a digital space you own—an old blog draft, a buried folder of photos, an abandoned social media profile. Explore this digital artifact as an archaeologist would a physical site. What does the layout, the language, the imagery tell you about a past self? Reconstruct the mindset of the person who created it. How does this digital echo compare to your current identity? Is it a charming relic or an unsettling ghost?" + "prompt20": "Craft a mental 'effigy' of a piece of advice you were given that you've chosen to ignore. Give it form and substance. Do you keep it on a shelf, bury it, or ritually dismantle it? Write about the act of holding this representation of rejected wisdom. Does making it concrete help you understand your refusal, or simply honor the intention of the giver?" }, { - "prompt21": "You are tasked with archiving a sound that is becoming obsolete—the click of a rotary phone, the chirp of a specific bird whose habitat is shrinking, the particular hum of an old appliance. Record a detailed description of this sound as if for a future museum. What are its frequencies, its rhythms, its emotional connotations? Now, imagine the silence that will exist in its place. What other, newer sounds will fill that auditory niche? Write an elegy for a vanishing sonic fingerprint." + "prompt21": "Recall a decision point that felt like standing at the mouth of a 'labyrinth,' with multiple winding paths ahead. Describe the initial confusion and the method you used to choose an entrance (logic, intuition, chance). Now, with hindsight, map the path you actually took. Were there dead ends or unexpected centers? Did the labyrinth lead you out, or deeper into understanding?" }, { - "prompt22": "Craft a mental effigy of a habit, fear, or desire you wish to understand better. Describe this symbolic representation in detail—its materials, its posture, its expression. Now, perform a symbolic action upon it: you might place it in a drawer, bury it in the garden of your mind, or set it adrift on an imaginary river. Chronicle this ritual. Does the act of creating and addressing the effigy change your relationship to the thing it represents, or does it merely make its presence more tangible?" + "prompt22": "Contemplate a 'quasar'—an immensely luminous, distant celestial object. Use it as a metaphor for a source of guidance or inspiration in your life that feels both incredibly powerful and remote. Who or what is this distant beacon? Describe the 'light' it emits and the long journey it takes to reach you. How do you navigate by this ancient, brilliant, but fundamentally untouchable signal?" }, { - "prompt23": "Describe a labyrinth you have constructed in your own mind—not a physical maze, but a complex, recurring thought pattern or emotional state you find yourself navigating. What are its winding corridors (rationalizations), its dead ends (frustrations), and its potential center (understanding or acceptance)? Map one recent journey through this internal labyrinth. What subtle tremor of insight or fear guided your turns? How do you find your way out, or do you choose to remain within, exploring its familiar, intricate paths?" + "prompt23": "Describe a piece of music that left a 'residue' in your mind—a melody that loops unbidden, a lyric that sticks, a rhythm that syncs with your heartbeat. How does this auditory artifact resurface during quiet moments? What emotional or memory-laden dust has it collected? Write about the process of this mental replay, and whether you seek to amplify it or gently brush it away." }, { - "prompt24": "Examine a family tradition or ritual as if it were an ancient artifact. Break down its syntax: the required steps, the symbolic objects, the spoken phrases. Who are the keepers of this tradition? How has it mutated or diverged over generations? Participate in or recall this ritual with fresh eyes. What unspoken values and histories are encoded within its performance? What would be lost if it faded into oblivion?" + "prompt24": "Recall a 'failed' experiment from your past—a recipe that flopped, a project abandoned, a relationship that didn't work. Instead of framing it as a mistake, analyze it as a valuable trial that produced data. What did you learn about the materials, the process, or yourself? How did the outcome diverge from your hypothesis? Write a lab report for this experiment, focusing on the insights gained rather than the desired product. How does this reframe 'failure'?" }, { - "prompt25": "Observe a plant growing in an unexpected place—a crack in the sidewalk, a gutter, a wall. Chronicle its struggle and persistence. Imagine the velocity of its growth against all odds. Write from the plant's perspective about its daily existence: the foot traffic, the weather, the search for sustenance. What can this resilient life form teach you about finding footholds and thriving in inhospitable environments?" + "prompt25": "Chronicle the life cycle of a rumor or piece of gossip that reached you. Where did you first hear it? How did it mutate as it passed to you? What was your role—conduit, amplifier, skeptic, terminator? Analyze the social algorithm that governs such information transfer. What need did this rumor feed in its listeners? Write about the velocity and distortion of unverified stories through a community." }, { - "prompt26": "Imagine your creative process as a room with many thresholds. Describe the room where you generate raw ideas—its mess, its energy. Then, describe the act of crossing the threshold into the room where you refine and edit. What changes in the atmosphere? What do you leave behind at the door, and what must you carry with you? Write about the architecture of your own creativity." + "prompt26": "Recall a time you had to translate—not between languages, but between contexts: explaining a job to family, describing an emotion to someone who doesn't share it, making a technical concept accessible. Describe the words that failed you and the metaphors you crafted to bridge the gap. What was lost in translation? What was surprisingly clarified? Explore the act of building temporary, fragile bridges of understanding between internal and external worlds." }, { - "prompt27": "You are given a seed. It is not a magical seed, but an ordinary one from a fruit you ate. Instead of planting it, you decide to carry it with you for a week as a silent companion. Describe its presence in your pocket or bag. How does knowing it is there, a compact potential for an entire mycelial network of roots and a tree, subtly influence your days? Write about the weight of unactivated futures." + "prompt27": "You discover a forgotten corner of a digital space you own—an old blog draft, a buried folder of photos, an abandoned social media profile. Explore this digital artifact as an archaeologist would a physical site. What does the layout, the language, the imagery tell you about a past self? Reconstruct the mindset of the person who created it. How does this digital echo compare to your current identity? Is it a charming relic or an unsettling ghost?" }, { - "prompt28": "Recall a time you had to learn a new system or language quickly—a job, a software, a social circle. Describe the initial phase of feeling like an outsider, decoding the basic algorithms of behavior. Then, focus on the precise moment you felt you crossed the threshold from outsider to competent insider. What was the catalyst? A piece of understood jargon? A successfully completed task? Explore the subtle architecture of belonging." + "prompt28": "You are tasked with archiving a sound that is becoming obsolete—the click of a rotary phone, the chirp of a specific bird whose habitat is shrinking, the particular hum of an old appliance. Record a detailed description of this sound as if for a future museum. What are its frequencies, its rhythms, its emotional connotations? Now, imagine the silence that will exist in its place. What other, newer sounds will fill that auditory niche? Write an elegy for a vanishing sonic fingerprint." }, { - "prompt29": "You find an old, annotated map—perhaps in a book, or a tourist pamphlet from a trip long ago. Study the marks: circled sites, crossed-out routes, notes in the margin. Reconstruct the journey of the person who held this map. Where did they plan to go? Where did they actually go, based on the evidence? Write the travelogue of that forgotten expedition, blending the cartographic intention with the likely reality." + "prompt29": "Craft a mental effigy of a habit, fear, or desire you wish to understand better. Describe this symbolic representation in detail—its materials, its posture, its expression. Now, perform a symbolic action upon it: you might place it in a drawer, bury it in the garden of your mind, or set it adrift on an imaginary river. Chronicle this ritual. Does the act of creating and addressing the effigy change your relationship to the thing it represents, or does it merely make its presence more tangible?" }, { - "prompt30": "You encounter a door that is usually locked, but today it is slightly ajar. This is not a grand, mysterious portal, but an ordinary door—to a storage closet, a rooftop, a neighbor's garden gate. Write about the potent allure of this minor threshold. Do you push it open? What mundane or profound discovery lies on the other side? Explore the magnetism of accessible secrets in a world of usual boundaries." + "prompt30": "Describe a labyrinth you have constructed in your own mind—not a physical maze, but a complex, recurring thought pattern or emotional state you find yourself navigating. What are its winding corridors (rationalizations), its dead ends (frustrations), and its potential center (understanding or acceptance)? Map one recent journey through this internal labyrinth. What subtle tremor of insight or fear guided your turns? How do you find your way out, or do you choose to remain within, exploring its familiar, intricate paths?" }, { - "prompt31": "Recall a piece of practical advice you received that functioned like a simple life algorithm: 'When X happens, do Y.' Examine a recent situation where you deliberately chose not to follow that algorithm. What prompted the deviation? What was the outcome? Describe the feeling of operating outside of a previously trusted internal program. Did the mutation feel like a mistake or an evolution?" + "prompt31": "Examine a family tradition or ritual as if it were an ancient artifact. Break down its syntax: the required steps, the symbolic objects, the spoken phrases. Who are the keepers of this tradition? How has it mutated or diverged over generations? Participate in or recall this ritual with fresh eyes. What unspoken values and histories are encoded within its performance? What would be lost if it faded into oblivion?" }, { - "prompt32": "Describe a piece of clothing you own that has been altered or mended multiple times. Trace the history of each repair. Who performed them, and under what circumstances? How does the garment's story of damage and restoration mirror larger cycles of wear and renewal in your own life? What does its continued use, despite its patched state, say about your relationship with impermanence and care?" + "prompt32": "Observe a plant growing in an unexpected place—a crack in the sidewalk, a gutter, a wall. Chronicle its struggle and persistence. Imagine the velocity of its growth against all odds. Write from the plant's perspective about its daily existence: the foot traffic, the weather, the search for sustenance. What can this resilient life form teach you about finding footholds and thriving in inhospitable environments?" }, { - "prompt33": "You find an old, hand-drawn map that leads to a place in your neighborhood. Follow it. Does it lead you to a spot that still exists, or to a location now utterly changed? Describe the journey of reconciling the cartography of the past with the terrain of the present. What has been erased? What endures? What ghosts of previous journeys do you feel along the way?" + "prompt33": "Imagine your creative process as a room with many thresholds. Describe the room where you generate raw ideas—its mess, its energy. Then, describe the act of crossing the threshold into the room where you refine and edit. What changes in the atmosphere? What do you leave behind at the door, and what must you carry with you? Write about the architecture of your own creativity." }, { - "prompt34": "Consider a skill you are learning. Break down its initial algorithm—the basic, rigid steps you must follow. Now, describe the moment when practice leads to mutation: the algorithm begins to dissolve into intuition, muscle memory, or personal style. Where are you in this process? Can you feel the old, clunky code still running beneath the new, fluid performance? Write about the uncomfortable, fruitful space between competence and mastery." + "prompt34": "You are given a seed. It is not a magical seed, but an ordinary one from a fruit you ate. Instead of planting it, you decide to carry it with you for a week as a silent companion. Describe its presence in your pocket or bag. How does knowing it is there, a compact potential for an entire mycelial network of roots and a tree, subtly influence your days? Write about the weight of unactivated futures." }, { - "prompt35": "Analyze the unspoken social algorithm of a group you belong to—your family, your friend circle, your coworkers. What are the input rules (jokes that are allowed, topics to avoid)? What are the output expectations (laughter, support, problem-solving)? Now, imagine introducing a mutation: you break a minor, unwritten rule. Chronicle the system's response. Does it self-correct, reject the input, or adapt?" + "prompt35": "Recall a time you had to learn a new system or language quickly—a job, a software, a social circle. Describe the initial phase of feeling like an outsider, decoding the basic algorithms of behavior. Then, focus on the precise moment you felt you crossed the threshold from outsider to competent insider. What was the catalyst? A piece of understood jargon? A successfully completed task? Explore the subtle architecture of belonging." }, { - "prompt36": "Imagine your daily routine is a genetic sequence. Identify a habitual behavior that feels like a dominant gene. Now, imagine a spontaneous mutation occurring in this sequence—one small, random change in the order or execution of your day. Follow the consequences. Does this mutation prove beneficial, harmful, or neutral? Does it replicate and become part of your new code? Write about the evolution of a personal habit through chance." + "prompt36": "You find an old, annotated map—perhaps in a book, or a tourist pamphlet from a trip long ago. Study the marks: circled sites, crossed-out routes, notes in the margin. Reconstruct the journey of the person who held this map. Where did they plan to go? Where did they actually go, based on the evidence? Write the travelogue of that forgotten expedition, blending the cartographic intention with the likely reality." }, { - "prompt37": "Your memory is a vast, dark archive. Choose a specific memory and imagine you are its archivist. Describe the process of retrieving it: locating the correct catalog number, the feel of the storage medium, the quality of the playback. Now, describe the process of conservation—what elements are fragile and in need of repair? Do you restore it to its original clarity, or preserve its current, faded state? What is the ethical duty of a self-archivist?" + "prompt37": "You encounter a door that is usually locked, but today it is slightly ajar. This is not a grand, mysterious portal, but an ordinary door—to a storage closet, a rooftop, a neighbor's garden gate. Write about the potent allure of this minor threshold. Do you push it open? What mundane or profound discovery lies on the other side? Explore the magnetism of accessible secrets in a world of usual boundaries." }, { - "prompt38": "Examine a mended object in your possession—a book with tape, a garment with a patch, a glued-together mug. Describe the repair not as a flaw, but as a new feature, a record of care and continuity. Write the history of its breaking and its fixing. Who performed the repair, and what was their state of mind? How does the object's value now reside in its visible history of damage and healing?" + "prompt38": "Recall a piece of practical advice you received that functioned like a simple life algorithm: 'When X happens, do Y.' Examine a recent situation where you deliberately chose not to follow that algorithm. What prompted the deviation? What was the outcome? Describe the feeling of operating outside of a previously trusted internal program. Did the mutation feel like a mistake or an evolution?" }, { - "prompt39": "Imagine you are a cartographer of sound. Map the auditory landscape of your current environment. Label the persistent drones, the intermittent rhythms, the sudden percussive events. What are the quiet zones? Where do sounds overlap to create new harmonies or dissonances? Now, imagine mutating one sound source—silencing a hum, amplifying a whisper, changing a rhythm. How does this single alteration redraw the entire sonic map and your emotional response to the space?" + "prompt39": "Describe a piece of clothing you own that has been altered or mended multiple times. Trace the history of each repair. Who performed them, and under what circumstances? How does the garment's story of damage and restoration mirror larger cycles of wear and renewal in your own life? What does its continued use, despite its patched state, say about your relationship with impermanence and care?" }, { - "prompt40": "Contemplate the concept of a 'watershed'—a geographical dividing line. Now, identify a watershed moment in your own life: a decision, an event, or a realization that divided your experience into 'before' and 'after.' Describe the landscape of the 'before.' Then, detail the moment of the divide itself. Finally, look out over the 'after' territory. How did the paths available to you fundamentally diverge at that ridge line? What rivers of consequence began to flow in new directions?" + "prompt40": "You find an old, hand-drawn map that leads to a place in your neighborhood. Follow it. Does it lead you to a spot that still exists, or to a location now utterly changed? Describe the journey of reconciling the cartography of the past with the terrain of the present. What has been erased? What endures? What ghosts of previous journeys do you feel along the way?" }, { - "prompt41": "Observe a spiderweb, a bird's nest, or another intricate natural construction. Describe it not as a static object, but as the recorded evidence of a process—a series of deliberate actions repeated to create a functional whole. Imagine you are an archaeologist from another planet discovering this artifact. What hypotheses would you form about the builder's intelligence, needs, and methods? Write your field report." + "prompt41": "Consider a skill you are learning. Break down its initial algorithm—the basic, rigid steps you must follow. Now, describe the moment when practice leads to mutation: the algorithm begins to dissolve into intuition, muscle memory, or personal style. Where are you in this process? Can you feel the old, clunky code still running beneath the new, fluid performance? Write about the uncomfortable, fruitful space between competence and mastery." }, { - "prompt42": "Walk through a familiar indoor space (your home, your office) in complete darkness, or with your eyes closed if safe. Navigate by touch, memory, and sound alone. Describe the experience. Which objects and spaces feel different? What details do you notice that vision usually overrides? Write about the knowledge held in your hands and feet, and the temporary oblivion of the visual world. How does this shift in primary sense redefine your understanding of the space?" + "prompt42": "Analyze the unspoken social algorithm of a group you belong to—your family, your friend circle, your coworkers. What are the input rules (jokes that are allowed, topics to avoid)? What are the output expectations (laughter, support, problem-solving)? Now, imagine introducing a mutation: you break a minor, unwritten rule. Chronicle the system's response. Does it self-correct, reject the input, or adapt?" }, { - "prompt43": "You discover a single, worn-out glove lying on a park bench. Describe it in detail—its color, material, signs of wear. Write a speculative history for this artifact. Who owned it? How was it lost? From the glove's perspective, narrate its journey from a department store shelf to this moment of abandonment. What human warmth did it hold, and what does its solitary state signify about loss and separation?" + "prompt43": "Imagine your daily routine is a genetic sequence. Identify a habitual behavior that feels like a dominant gene. Now, imagine a spontaneous mutation occurring in this sequence—one small, random change in the order or execution of your day. Follow the consequences. Does this mutation prove beneficial, harmful, or neutral? Does it replicate and become part of your new code? Write about the evolution of a personal habit through chance." }, { - "prompt44": "Find a body of water—a puddle after rain, a pond, a riverbank. Look at your reflection, then disturb the surface with a touch or a thrown pebble. Watch the image shatter and slowly reform. Use this as a metaphor for a period of personal disruption in your life. Describe the 'shattering' event, the chaotic ripple period, and the gradual, never-quite-identical reformation of your sense of self. What was lost in the distortion, and what new facets were revealed?" + "prompt44": "Your memory is a vast, dark archive. Choose a specific memory and imagine you are its archivist. Describe the process of retrieving it: locating the correct catalog number, the feel of the storage medium, the quality of the playback. Now, describe the process of conservation—what elements are fragile and in need of repair? Do you restore it to its original clarity, or preserve its current, faded state? What is the ethical duty of a self-archivist?" }, { - "prompt45": "You are handed a map of a city you know well, but it is from a century ago. Compare it to the modern layout. Which streets have vanished into oblivion, paved over or renamed? Which buildings are ghosts on the page? Choose one lost place and imagine walking its forgotten route today. What echoes of its past life—sounds, smells, activities—can you almost perceive beneath the contemporary surface? Write about the layers of history that coexist in a single geographic space." + "prompt45": "Examine a mended object in your possession—a book with tape, a garment with a patch, a glued-together mug. Describe the repair not as a flaw, but as a new feature, a record of care and continuity. Write the history of its breaking and its fixing. Who performed the repair, and what was their state of mind? How does the object's value now reside in its visible history of damage and healing?" }, { - "prompt46": "What is something you've been putting off and why?" + "prompt46": "Imagine you are a cartographer of sound. Map the auditory landscape of your current environment. Label the persistent drones, the intermittent rhythms, the sudden percussive events. What are the quiet zones? Where do sounds overlap to create new harmonies or dissonances? Now, imagine mutating one sound source—silencing a hum, amplifying a whisper, changing a rhythm. How does this single alteration redraw the entire sonic map and your emotional response to the space?" }, { - "prompt47": "Recall a piece of art—a painting, song, film—that initially confused or repelled you, but that you later came to appreciate or love. Describe your first, negative reaction in detail. Then, trace the journey to understanding. What changed in you or your context that allowed a new interpretation? Write about the value of sitting with discomfort and the rewards of having your internal syntax for beauty challenged and expanded." + "prompt47": "Contemplate the concept of a 'watershed'—a geographical dividing line. Now, identify a watershed moment in your own life: a decision, an event, or a realization that divided your experience into 'before' and 'after.' Describe the landscape of the 'before.' Then, detail the moment of the divide itself. Finally, look out over the 'after' territory. How did the paths available to you fundamentally diverge at that ridge line? What rivers of consequence began to flow in new directions?" }, { - "prompt48": "Imagine your life as a vast, intricate tapestry. Describe the overall scene it depicts. Now, find a single, loose thread—a small regret, an unresolved question, a path not taken. Write about gently pulling on that thread. What part of the tapestry begins to unravel? What new pattern or image is revealed—or destroyed—by following this divergence? Is the act one of repair or deconstruction?" + "prompt48": "Observe a spiderweb, a bird's nest, or another intricate natural construction. Describe it not as a static object, but as the recorded evidence of a process—a series of deliberate actions repeated to create a functional whole. Imagine you are an archaeologist from another planet discovering this artifact. What hypotheses would you form about the builder's intelligence, needs, and methods? Write your field report." }, { - "prompt49": "Recall a dream that felt more real than waking life. Describe its internal logic, its emotional palette, and its lingering aftertaste. Now, write a 'practical guide' for navigating that specific dreamscape, as if for a tourist. What are the rules? What should one avoid? What treasures might be found? By treating the dream as a tangible place, what insights do you gain about the concerns of your subconscious?" + "prompt49": "Walk through a familiar indoor space (your home, your office) in complete darkness, or with your eyes closed if safe. Navigate by touch, memory, and sound alone. Describe the experience. Which objects and spaces feel different? What details do you notice that vision usually overrides? Write about the knowledge held in your hands and feet, and the temporary oblivion of the visual world. How does this shift in primary sense redefine your understanding of the space?" }, { - "prompt50": "Describe a public space you frequent (a library, a cafe, a park) at the exact moment it opens or closes. Capture the transition from emptiness to potential, or from activity to stillness. Focus on the staff or custodians who facilitate this transition—the unseen architects of these daily cycles. Write from the perspective of the space itself as it breathes in or out its human occupants. What residue of the day does it hold in the quiet?" + "prompt50": "You discover a single, worn-out glove lying on a park bench. Describe it in detail—its color, material, signs of wear. Write a speculative history for this artifact. Who owned it? How was it lost? From the glove's perspective, narrate its journey from a department store shelf to this moment of abandonment. What human warmth did it hold, and what does its solitary state signify about loss and separation?" }, { - "prompt51": "Listen to a piece of music you know well, but focus exclusively on a single instrument or voice that usually resides in the background. Follow its thread through the entire composition. Describe its journey: when does it lead, when does it harmonize, when does it fall silent? Now, write a short story where this supporting element is the main character. How does shifting your auditory focus create a new narrative from familiar material?" + "prompt51": "Find a body of water—a puddle after rain, a pond, a riverbank. Look at your reflection, then disturb the surface with a touch or a thrown pebble. Watch the image shatter and slowly reform. Use this as a metaphor for a period of personal disruption in your life. Describe the 'shattering' event, the chaotic ripple period, and the gradual, never-quite-identical reformation of your sense of self. What was lost in the distortion, and what new facets were revealed?" }, { - "prompt52": "Describe your reflection in a window at night, with the interior light creating a double exposure of your face and the dark world outside. What two versions of yourself are superimposed? Write a conversation between the 'inside' self, defined by your private space, and the 'outside' self, defined by the anonymous night. What do they want from each other? How does this liminal artifact—the glass—both separate and connect these identities?" + "prompt52": "You are handed a map of a city you know well, but it is from a century ago. Compare it to the modern layout. Which streets have vanished into oblivion, paved over or renamed? Which buildings are ghosts on the page? Choose one lost place and imagine walking its forgotten route today. What echoes of its past life—sounds, smells, activities—can you almost perceive beneath the contemporary surface? Write about the layers of history that coexist in a single geographic space." }, { - "prompt53": "Imagine you are a diver exploring the deep ocean of your own memory. Choose a specific, vivid memory and describe it as a submerged landscape. What creatures (emotions) swim there? What is the water pressure (emotional weight) like? Now, imagine a small, deliberate act of forgetting—letting a single detail of that memory dissolve into the murk. How does this selective oblivion change the entire ecosystem of that recollection? Does it create space for new growth, or does it feel like a loss of truth?" + "prompt53": "What is something you've been putting off and why?" }, { - "prompt54": "Recall a conversation that ended in a misunderstanding that was never resolved. Re-write the exchange, but introduce a single point of divergence—one person says something slightly different, or pauses a moment longer. How does this tiny change alter the entire trajectory of the conversation and potentially the relationship? Explore the butterfly effect in human dialogue." + "prompt54": "Recall a piece of art—a painting, song, film—that initially confused or repelled you, but that you later came to appreciate or love. Describe your first, negative reaction in detail. Then, trace the journey to understanding. What changed in you or your context that allowed a new interpretation? Write about the value of sitting with discomfort and the rewards of having your internal syntax for beauty challenged and expanded." }, { - "prompt55": "Spend 15 minutes in complete silence, actively listening for the absence of a specific sound that is usually present (e.g., traffic, refrigerator hum, birds). Describe the quality of this crafted silence. What smaller sounds emerge in the void? How does your mind and body react to the deliberate removal of this sonic artifact? Explore the concept of oblivion as an active, perceptible state rather than a mere lack." + "prompt55": "Imagine your life as a vast, intricate tapestry. Describe the overall scene it depicts. Now, find a single, loose thread—a small regret, an unresolved question, a path not taken. Write about gently pulling on that thread. What part of the tapestry begins to unravel? What new pattern or image is revealed—or destroyed—by following this divergence? Is the act one of repair or deconstruction?" }, { - "prompt56": "Describe a skill or talent you possess that feels like it's fading from lack of use—a language getting rusty, a sport you no longer play, an instrument gathering dust. Perform or practice it now, even if clumsily. Chronicle the physical and mental sensations of re-engagement. What echoes of proficiency remain? Is the knowledge truly gone, or merely dormant? Write about the relationship between mastery and oblivion." + "prompt56": "Recall a dream that felt more real than waking life. Describe its internal logic, its emotional palette, and its lingering aftertaste. Now, write a 'practical guide' for navigating that specific dreamscape, as if for a tourist. What are the rules? What should one avoid? What treasures might be found? By treating the dream as a tangible place, what insights do you gain about the concerns of your subconscious?" }, { - "prompt57": "Choose a common word (e.g., 'home,' 'work,' 'friend') and dissect its personal syntax. What rules, associations, and exceptions have you built around its meaning? Now, deliberately break one of those rules. Use the word in a context or with a definition that feels wrong to you. Write a paragraph that forces this new usage. How does corrupting your own internal language create space for new understanding?" + "prompt57": "Describe a public space you frequent (a library, a cafe, a park) at the exact moment it opens or closes. Capture the transition from emptiness to potential, or from activity to stillness. Focus on the staff or custodians who facilitate this transition—the unseen architects of these daily cycles. Write from the perspective of the space itself as it breathes in or out its human occupants. What residue of the day does it hold in the quiet?" }, { - "prompt58": "Contemplate a personal habit or pattern you wish to change. Instead of focusing on breaking it, imagine it diverging—mutating into a new, slightly different pattern. Describe the old habit in detail, then design its evolved form. What small, intentional twist could redirect its energy? Write about a day living with this divergent habit. How does a shift in perspective, rather than eradication, alter your relationship to it?" + "prompt58": "Listen to a piece of music you know well, but focus exclusively on a single instrument or voice that usually resides in the background. Follow its thread through the entire composition. Describe its journey: when does it lead, when does it harmonize, when does it fall silent? Now, write a short story where this supporting element is the main character. How does shifting your auditory focus create a new narrative from familiar material?" }, { - "prompt59": "Describe a routine journey you make (a commute, a walk to the store) but narrate it as if you are a traveler in a foreign, slightly surreal land. Give fantastical names to ordinary landmarks. Interpret mundane events as portents or rituals. What hidden narrative or mythic structure can you impose on this familiar path? How does this reframing reveal the magic latent in the everyday?" + "prompt59": "Describe your reflection in a window at night, with the interior light creating a double exposure of your face and the dark world outside. What two versions of yourself are superimposed? Write a conversation between the 'inside' self, defined by your private space, and the 'outside' self, defined by the anonymous night. What do they want from each other? How does this liminal artifact—the glass—both separate and connect these identities?" } ] \ No newline at end of file diff --git a/data/prompts_pool.json b/data/prompts_pool.json index 0390edb..fd8a70e 100644 --- a/data/prompts_pool.json +++ b/data/prompts_pool.json @@ -1,13 +1,7 @@ [ - "You are given a notebook with one rule: you must fill it with questions only. No answers, no statements, just questions. Write the first page of this notebook. Let the questions range from the mundane ('Why is the sky that particular blue today?') to the profound ('What does my kindness cost me?'). Explore the shape of a mind engaged in pure, open inquiry, free from the pressure of resolution.", - "Describe a piece of technology you use daily (a phone, a stove, a car) as if it were a living, breathing creature with its own moods and needs. Personify its sounds, its heat, its occasional malfunctions. Write a day in the life from its perspective. What does it 'experience'? How does it perceive your touch and your dependence? Does it feel like a symbiotic partner or a captive servant?", - "Recall a time you witnessed a complete stranger perform a small, unexpected act of kindness. Describe the scene in detail, focusing on the micro-expressions and the subtle shift in the atmosphere. Now, imagine the ripple effects of that act. How might it have altered the recipient's day, and perhaps beyond? Write about the invisible network of goodwill that exists in the mundane, and your role as a silent observer in that moment.", - "Choose a color that has been significant to you at different points in your life. Trace its appearances: a childhood toy, a piece of clothing, a room's paint, a natural phenomenon. How has your relationship with this hue evolved? Does it represent a constant thread or a changing symbol? Write an ode to this color, exploring its personal resonance and its objective, physical properties of light.", - "You are tasked with creating a time capsule for your current self to open in ten years. Select five non-digital objects that, together, create a portrait of your present life. Describe each object and justify its inclusion. What story do these artifacts tell about your values, your struggles, your joys? Now, write the letter you would include, addressed to your future self. What questions would you ask? What hopes would you express?", - "Observe a cloud formation for an extended period. Chronicle its slow transformation from one shape into another. Resist the urge to name it (a dragon, a ship). Instead, describe the pure process of morphing, the dissipation and coagulation of vapor. Use this as a metaphor for a change in your own life that was gradual, inevitable, and beautiful in its impermanence. How do you document a process that leaves no solid artifact?", - "Recall a book you read that fundamentally changed your perspective. Describe the mental landscape before you encountered it. Then, detail the specific passage or concept that acted as a key, unlocking a new way of seeing. How did the syntax of the author's thoughts rewire your own? Write about the intimate, silent collaboration between reader and text that results in personal evolution.", - "Find a spot where nature is reclaiming a human structure—ivy on a fence, moss on a step, a crack in asphalt sprouting weeds. Describe this slow-motion negotiation between the built and the wild. Who is winning? Is it a battle or a collaboration? Write from the perspective of one of these natural reclaiming agents. What is its patient, relentless strategy? What does it think of the rigid geometry it is softening?", - "Describe a flavor or taste combination that you find uniquely comforting. Deconstruct it into its elemental parts. Now, research or imagine its origin story. How did these ingredients first come together? Follow that history through trade routes, cultural fusion, or family tradition. How does knowing this deeper history alter the simple act of tasting? Does it add layers, or strip the comfort down to its essential chemistry?", - "Imagine your mind has a 'peripheral vision' for ideas—thoughts and intuitions that linger just outside your direct focus. Spend a day paying attention to these faint mental tremors. Jot them down. At day's end, examine your notes. Do these peripheral thoughts form a pattern? Are they fears, creative sparks, forgotten tasks? Write about the value of tuning into the quiet background noise of your own consciousness.", - "You receive a package with no return address. Inside is an object you have never seen before, but it feels vaguely, unsettlingly familiar. Describe this object in meticulous detail. What is its function? What does its design imply about its maker or its intended use? Write the story of how you interact with this mysterious artifact. Do you display it, hide it, or try to return it to a non-existent sender? What does your choice reveal?" + "You discover a single page from a diary that is not your own. It contains a mundane entry about a perfectly ordinary day. From this scant evidence, build a character. Who wrote it? What are their worries, their joys, their unstated hopes? Write the entry that might come immediately before or after this found page, expanding the anonymous life into a fuller story.", + "Contemplate the concept of a 'horizon'—both literal and metaphorical. Describe a time you physically journeyed toward a horizon. What was the experience of it perpetually receding? Now, identify a current personal or professional horizon. How do you navigate toward something that by definition moves as you do? Write about the tension between the journey and the ever-distant line.", + "Examine your hands. Describe them not as tools, but as maps. What do the lines, scars, calluses, and shapes tell of your history, your work, your anxieties (clenched fists), your affections? Imagine a future version of these hands, aged and changed. What stories will they have accrued? Write a biography of yourself as told through the silent testimony of your hands.", + "Recall a piece of folklore, a family superstition, or an old wives' tale you were told as a child. Analyze it not for truth, but for function. What fear did it aim to control? What behavior did it encourage? How has its 'logic' lingered in your subconscious, perhaps influencing minor decisions or feelings even now? Write about the architecture of inherited belief.", + "Spend time watching insects at work—ants forming a trail, bees visiting flowers, spiders adjusting webs. Describe their movements as a complex, efficient dance. Now, imagine your own daily routines and obligations from this detached, observational perspective. What patterns and purposes would an outside observer discern? Write about the intricate, often unconscious, choreography of a human life." ] \ No newline at end of file diff --git a/data/prompts_pool.json.bak b/data/prompts_pool.json.bak index e582202..62fca10 100644 --- a/data/prompts_pool.json.bak +++ b/data/prompts_pool.json.bak @@ -1,16 +1,10 @@ [ - "Describe a piece of public art you have a strong reaction to, positive or negative. Interact with it physically—walk around it, touch it if allowed, view it from different angles. How does your physical relationship to the object change your intellectual or emotional response? Write a review that focuses solely on the bodily experience of the art, rather than its purported meaning.", - "Recall a time you had to wait much longer than anticipated—in a line, for news, for a person. Describe the internal landscape of that waiting. How did your mind occupy itself? What petty annoyances or profound thoughts surfaced in the stretched time? Write about the architecture of patience and the unexpected creations that can bloom in its empty spaces.", - "Imagine your childhood home has a secret room you never discovered. Describe what you imagine is inside. Is it a treasure trove of forgotten toys? A dusty library of family secrets? A perfectly preserved moment from a specific day? Now, as an adult, write about what you would hope to find there, and what that hope reveals about your relationship to your own past.", - "You are given a notebook with one rule: you must fill it with questions only. No answers, no statements, just questions. Write the first page of this notebook. Let the questions range from the mundane ('Why is the sky that particular blue today?') to the profound ('What does my kindness cost me?'). Explore the shape of a mind engaged in pure, open inquiry, free from the pressure of resolution.", - "Describe a piece of technology you use daily (a phone, a stove, a car) as if it were a living, breathing creature with its own moods and needs. Personify its sounds, its heat, its occasional malfunctions. Write a day in the life from its perspective. What does it 'experience'? How does it perceive your touch and your dependence? Does it feel like a symbiotic partner or a captive servant?", - "Recall a time you witnessed a complete stranger perform a small, unexpected act of kindness. Describe the scene in detail, focusing on the micro-expressions and the subtle shift in the atmosphere. Now, imagine the ripple effects of that act. How might it have altered the recipient's day, and perhaps beyond? Write about the invisible network of goodwill that exists in the mundane, and your role as a silent observer in that moment.", - "Choose a color that has been significant to you at different points in your life. Trace its appearances: a childhood toy, a piece of clothing, a room's paint, a natural phenomenon. How has your relationship with this hue evolved? Does it represent a constant thread or a changing symbol? Write an ode to this color, exploring its personal resonance and its objective, physical properties of light.", - "You are tasked with creating a time capsule for your current self to open in ten years. Select five non-digital objects that, together, create a portrait of your present life. Describe each object and justify its inclusion. What story do these artifacts tell about your values, your struggles, your joys? Now, write the letter you would include, addressed to your future self. What questions would you ask? What hopes would you express?", - "Observe a cloud formation for an extended period. Chronicle its slow transformation from one shape into another. Resist the urge to name it (a dragon, a ship). Instead, describe the pure process of morphing, the dissipation and coagulation of vapor. Use this as a metaphor for a change in your own life that was gradual, inevitable, and beautiful in its impermanence. How do you document a process that leaves no solid artifact?", - "Recall a book you read that fundamentally changed your perspective. Describe the mental landscape before you encountered it. Then, detail the specific passage or concept that acted as a key, unlocking a new way of seeing. How did the syntax of the author's thoughts rewire your own? Write about the intimate, silent collaboration between reader and text that results in personal evolution.", - "Find a spot where nature is reclaiming a human structure—ivy on a fence, moss on a step, a crack in asphalt sprouting weeds. Describe this slow-motion negotiation between the built and the wild. Who is winning? Is it a battle or a collaboration? Write from the perspective of one of these natural reclaiming agents. What is its patient, relentless strategy? What does it think of the rigid geometry it is softening?", - "Describe a flavor or taste combination that you find uniquely comforting. Deconstruct it into its elemental parts. Now, research or imagine its origin story. How did these ingredients first come together? Follow that history through trade routes, cultural fusion, or family tradition. How does knowing this deeper history alter the simple act of tasting? Does it add layers, or strip the comfort down to its essential chemistry?", - "Imagine your mind has a 'peripheral vision' for ideas—thoughts and intuitions that linger just outside your direct focus. Spend a day paying attention to these faint mental tremors. Jot them down. At day's end, examine your notes. Do these peripheral thoughts form a pattern? Are they fears, creative sparks, forgotten tasks? Write about the value of tuning into the quiet background noise of your own consciousness.", - "You receive a package with no return address. Inside is an object you have never seen before, but it feels vaguely, unsettlingly familiar. Describe this object in meticulous detail. What is its function? What does its design imply about its maker or its intended use? Write the story of how you interact with this mysterious artifact. Do you display it, hide it, or try to return it to a non-existent sender? What does your choice reveal?" + "Recall a promise you made to yourself long ago—perhaps about the person you'd become, a place you'd visit, or a habit you'd cultivate. Have you kept it? Describe the version of you that made that promise. If the promise was broken, explore the divergence between that past self's aspirations and your current reality with compassion, not judgment. If kept, examine the thread of continuity.", + "Find a knot—in a rope, a tree root, a tangled necklace. Attempt to untie or disentangle it slowly and patiently. Describe the process: the resistance, the moments of slight give, the final release (or the decision to leave it be). Use this as a framework for writing about an intellectual or emotional 'knot' you are currently working through. Is the goal always to untie, or sometimes to understand the knot's structure?", + "Describe a food or dish that is deeply connected to a specific memory of a person or place. Go beyond taste. Describe the sounds of its preparation, the smells that filled the air, the textures. Now, attempt to recreate it or seek it out. Does the experience live up to the memory, or does it highlight the irreproducible context of the original moment? Write about the pursuit of sensory time travel.", + "You discover a single page from a diary that is not your own. It contains a mundane entry about a perfectly ordinary day. From this scant evidence, build a character. Who wrote it? What are their worries, their joys, their unstated hopes? Write the entry that might come immediately before or after this found page, expanding the anonymous life into a fuller story.", + "Contemplate the concept of a 'horizon'—both literal and metaphorical. Describe a time you physically journeyed toward a horizon. What was the experience of it perpetually receding? Now, identify a current personal or professional horizon. How do you navigate toward something that by definition moves as you do? Write about the tension between the journey and the ever-distant line.", + "Examine your hands. Describe them not as tools, but as maps. What do the lines, scars, calluses, and shapes tell of your history, your work, your anxieties (clenched fists), your affections? Imagine a future version of these hands, aged and changed. What stories will they have accrued? Write a biography of yourself as told through the silent testimony of your hands.", + "Recall a piece of folklore, a family superstition, or an old wives' tale you were told as a child. Analyze it not for truth, but for function. What fear did it aim to control? What behavior did it encourage? How has its 'logic' lingered in your subconscious, perhaps influencing minor decisions or feelings even now? Write about the architecture of inherited belief.", + "Spend time watching insects at work—ants forming a trail, bees visiting flowers, spiders adjusting webs. Describe their movements as a complex, efficient dance. Now, imagine your own daily routines and obligations from this detached, observational perspective. What patterns and purposes would an outside observer discern? Write about the intricate, often unconscious, choreography of a human life." ] \ No newline at end of file diff --git a/frontend/src/components/PromptDisplay.jsx b/frontend/src/components/PromptDisplay.jsx index 83e94ba..86bc0dc 100644 --- a/frontend/src/components/PromptDisplay.jsx +++ b/frontend/src/components/PromptDisplay.jsx @@ -6,9 +6,16 @@ const PromptDisplay = () => { const [error, setError] = useState(null); const [selectedIndex, setSelectedIndex] = useState(null); const [viewMode, setViewMode] = useState('history'); // 'history' or 'drawn' + const [poolStats, setPoolStats] = useState({ + total: 0, + target: 20, + sessions: 0, + needsRefill: true + }); useEffect(() => { fetchMostRecentPrompt(); + fetchPoolStats(); }, []); const fetchMostRecentPrompt = async () => { @@ -98,13 +105,10 @@ const PromptDisplay = () => { // Mark as selected and show success setSelectedIndex(index); - // Instead of showing an alert, refresh the page to show the updated history - // The default view shows the most recent prompt from history - alert(`Prompt added to history as ${data.position_in_history}! Refreshing to show updated history...`); - - // Refresh the page to show the updated history + // Refresh the page to show the updated history and pool stats // The default view shows the most recent prompt from history (position 0) fetchMostRecentPrompt(); + fetchPoolStats(); } else { const errorData = await response.json(); setError(`Failed to add prompt to history: ${errorData.detail || 'Unknown error'}`); @@ -114,14 +118,31 @@ const PromptDisplay = () => { } }; + const fetchPoolStats = async () => { + try { + const response = await fetch('/api/v1/prompts/stats'); + if (response.ok) { + const data = await response.json(); + setPoolStats({ + total: data.total_prompts || 0, + target: data.target_pool_size || 20, + sessions: data.available_sessions || 0, + needsRefill: data.needs_refill || true + }); + } + } catch (err) { + console.error('Error fetching pool stats:', err); + } + }; + const handleFillPool = async () => { setLoading(true); try { const response = await fetch('/api/v1/prompts/fill-pool', { method: 'POST' }); if (response.ok) { - alert('Prompt pool filled successfully!'); - // Refresh the prompt + // Refresh the prompt and pool stats - no alert needed, UI will show updated stats fetchMostRecentPrompt(); + fetchPoolStats(); } else { setError('Failed to fill prompt pool'); } @@ -159,8 +180,8 @@ const PromptDisplay = () => { {prompts.map((promptObj, index) => (
setSelectedIndex(index)} + className={`prompt-card ${viewMode === 'drawn' ? 'cursor-pointer' : ''} ${selectedIndex === index ? 'selected' : ''}`} + onClick={viewMode === 'drawn' ? () => setSelectedIndex(index) : undefined} >
@@ -178,14 +199,21 @@ const PromptDisplay = () => { {promptObj.text.length} characters - {selectedIndex === index ? ( - - - Selected - + {viewMode === 'drawn' ? ( + selectedIndex === index ? ( + + + Selected + + ) : ( + + Click to select + + ) ) : ( - - Click to select + + + Most recent from history )} @@ -199,23 +227,36 @@ const PromptDisplay = () => {
- - + )} +
- +
+ +
+ {Math.round((poolStats.total / poolStats.target) * 100)}% full +
+
diff --git a/frontend/src/components/StatsDashboard.jsx b/frontend/src/components/StatsDashboard.jsx index 709fd7f..4b5c268 100644 --- a/frontend/src/components/StatsDashboard.jsx +++ b/frontend/src/components/StatsDashboard.jsx @@ -67,8 +67,7 @@ const StatsDashboard = () => { try { const response = await fetch('/api/v1/prompts/fill-pool', { method: 'POST' }); if (response.ok) { - alert('Prompt pool filled successfully!'); - // Refresh stats + // Refresh stats - no alert needed, UI will show updated stats fetchStats(); } else { alert('Failed to fill prompt pool'); @@ -126,17 +125,9 @@ const StatsDashboard = () => { >
- {stats.pool.needsRefill ? ( - - - Needs refill ({stats.pool.target - stats.pool.total} prompts needed) - - ) : ( - - - Pool is full - - )} + + {stats.pool.total}/{stats.pool.target} prompts +
@@ -169,11 +160,7 @@ const StatsDashboard = () => {
  • - {stats.pool.needsRefill ? ( - Pool needs refilling - ) : ( - Pool is ready for use - )} + Pool is {Math.round((stats.pool.total / stats.pool.target) * 100)}% full
  • @@ -191,20 +178,6 @@ const StatsDashboard = () => {
  • - {stats.pool.needsRefill && ( -
    - -

    - This will use AI to generate new prompts and fill the pool to target capacity -

    -
    - )} ); }; diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro index 3070c9c..afb927b 100644 --- a/frontend/src/layouts/Layout.astro +++ b/frontend/src/layouts/Layout.astro @@ -30,7 +30,7 @@ import '../styles/global.css'; diff --git a/frontend/src/pages/index.astro b/frontend/src/pages/index.astro index 461dc1b..6cf5c78 100644 --- a/frontend/src/pages/index.astro +++ b/frontend/src/pages/index.astro @@ -37,15 +37,12 @@ import StatsDashboard from '../components/StatsDashboard.jsx';
    - - +