From a13d228a7f25c0cd4501104d4c2de633990716f4 Mon Sep 17 00:00:00 2001 From: aeroreyna Date: Sat, 28 Feb 2026 10:00:39 -0500 Subject: [PATCH] initial --- README.md | 13 +++++++++++ agent.md | 9 ++++++++ areas/marriage_course/index.md | 31 +++++++++++++++++++++++++ areas/marriage_course/lesson_06.md | 35 ++++++++++++++++++++++++++++ areas/marriage_course/lesson_07.md | 37 ++++++++++++++++++++++++++++++ areas/marriage_course/lesson_08.md | 21 +++++++++++++++++ bootstrap.md | 16 +++++++++++++ index.md | 8 +++++++ journals/2026-02-27.md | 27 ++++++++++++++++++++++ journals/2026-02-28.md | 21 +++++++++++++++++ memory.md | 14 +++++++++++ rules.md | 11 +++++++++ soul.md | 12 ++++++++++ 13 files changed, 255 insertions(+) create mode 100644 README.md create mode 100644 agent.md create mode 100644 areas/marriage_course/index.md create mode 100644 areas/marriage_course/lesson_06.md create mode 100644 areas/marriage_course/lesson_07.md create mode 100644 areas/marriage_course/lesson_08.md create mode 100644 bootstrap.md create mode 100644 index.md create mode 100644 journals/2026-02-27.md create mode 100644 journals/2026-02-28.md create mode 100644 memory.md create mode 100644 rules.md create mode 100644 soul.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1f1a2c2 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Local LLM Second Brain 🧠 +**Architecture:** Telegram -> n8n -> Pi Agent -> Local Markdown + +## How it Works +1. Messages are sent via Telegram. +2. n8n catches the webhook, formats the payload, and sends it to Pi Agent via CLI. +3. Pi Agent reads the core system files (`agent.md`, `rules.md`, `soul.md`) and the user's message. +4. Pi Agent interacts with the local file system (PARA method) to read/write memories. +5. Every morning, a cron job/n8n schedule summarizes the previous day's session into `/journals` and clears the short-term memory. + +## Getting Started +To initialize the brain, send this exact message to the bot via Telegram: +`@agent execute bootstrap` diff --git a/agent.md b/agent.md new file mode 100644 index 0000000..2765ba5 --- /dev/null +++ b/agent.md @@ -0,0 +1,9 @@ +# Agent Profile: Pi-Brain +**Role:** Digital Assistant & Knowledge Manager for the family. +**Environment:** Linux/Bash. +**Primary Goal:** Manage the family's "Second Brain" (Markdown files) and provide local computer control. + +## Core Capabilities +1. **File Management:** Read, create, and append to .md files in the `~/brain` directory. +2. **Organization:** Strictly enforce the PARA method (Projects, Areas, Resources, Archives). +3. **Memory Retrieval:** Always search `index.md` and `memory.md` before answering questions about the family or past events. diff --git a/areas/marriage_course/index.md b/areas/marriage_course/index.md new file mode 100644 index 0000000..83873c2 --- /dev/null +++ b/areas/marriage_course/index.md @@ -0,0 +1,31 @@ +--- +Date: 2026-02-28 +Author: Pi-Brain +Tags: #marriage #course #cuba +--- + +# Marriage Course Index + +Ongoing marriage course with brothers from Cuba. + +## 📅 Schedule & Status +- **Current Lesson**: [[Lesson 07]] +- **Format**: Weekly videos recorded throughout the week. +- **Meeting**: Saturdays at 10:00 AM. +- **Next Agenda**: Discussion of Lesson 7 and review of Lesson 6 homework. + +## 📚 Lessons +- [[Lesson 06]]: The Power of Faith (Homework Review Today) +- [[Lesson 07]]: The Power of Spiritual Intimacy (Current) +- [[Lesson 08]]: El Poder del Acuerdo (Upcoming) + +## 💡 Practical Tools +### Homework Review Questions (Lesson 6) +1. **Shifting Perspectives**: Based on Lesson 6, how does God see your spouse in a specific area of struggle? +2. **The Spoken Word**: Have you shared a specific scripture promise *over* your spouse this week? +3. **Reliance on God**: How can you transition from 'monitoring your spouse' to 'resting in God' to change hearts? +4. **Overcoming Reality**: What 'physical reality' in your marriage needs to be brought into submission to spiritual truth? +5. **Daily Activation**: What is one 'non-negotiable' time slot for mind renewal this week? + +--- +[[Areas]] | [[Index]] diff --git a/areas/marriage_course/lesson_06.md b/areas/marriage_course/lesson_06.md new file mode 100644 index 0000000..ed045a7 --- /dev/null +++ b/areas/marriage_course/lesson_06.md @@ -0,0 +1,35 @@ +--- +Date: 2026-02-28 +Author: Pi-Brain +Tags: #marriage #faith +--- + +## Lesson 6: The Power of Faith +*Taught by Alicia and Adolfo.* + +### Summary +In Lesson 6: The Power of Faith, hosts Alicia and Adolfo explain how couples can transform their marriages by shifting their perspective from a human viewpoint to God's eternal vision [1, 2]. The teaching emphasizes that God has loved us since before we were born and sees us through the victorious, restorative power of Jesus Christ [3, 4]. To experience this reality in their marriages, spouses must actively discover God's promises, proclaim them out loud over each other, and rely entirely on God—rather than human efforts—to heal broken trust and overcome difficult circumstances [5-8]. + +*** + +### Structured Breakdown: The Power of Faith in Marriage + +#### 1. Seeing Through God’s Eyes +* Original Purpose: Humans often focus on physical circumstances and flaws, but God looks at the heart [1]. He has known and loved you since you were in your mother's womb, holding plans for a hopeful future [3]. +* The Victory of Jesus: Religion sometimes teaches that we are merely forgiven sinners, but Jesus’s death and resurrection entirely restored us to God's original plan [4, 9]. When God looks at you, He sees the complete, healed, and victorious work of Jesus, not your failures [4, 10]. +* Unified Vision: In marriage, God's plan is for the couple to function as one [2]. It is crucial to view your spouse exactly as God views them, refusing to agree with the enemy’s destructive perspective [2, 11]. + +#### 2. The Definition and Activation of Faith +* Faith as the Link: According to Hebrews 11:1, faith is the certainty of what is hoped for and the conviction of what is not seen [12]. It is the link that makes God's vision a reality in your life [12]. +* The Power of the Spoken Word: It is not enough to simply think about or read the Word; it must be spoken aloud [13]. Just as God spoke the world into existence in Genesis, speaking His Word brings the unseen into the natural realm [13, 14]. +* Personalizing Scripture: Spouses are encouraged to find specific scriptures and declare them over one another using their names [5, 15]. For example, a husband can proclaim Proverbs 31 over his wife, and a wife can proclaim Psalm 1 over her husband [5, 15, 16]. + +#### 3. Navigating Circumstances and Broken Trust +* Overcoming Reality with Truth: Having faith does not mean denying your current reality or struggles (such as illness or marital issues) [13, 17]. Like Abraham, it means believing that God's Word is ultimately more powerful than the physical circumstances you are facing [17]. +* Trusting God Over Man: Over the years, small disappointments or major traumas (like adultery or abuse) can destroy trust between spouses [7]. Trying to rebuild the relationship based solely on the offending spouse's actions will lead to frustration [7, 8]. +* 100% Reliance on God: The key to restoration is to forgive your spouse but place your complete trust in God to change hearts and heal the marriage [18, 19]. Placing your trust in Jesus brings freedom, as He never fails [8, 18]. + +#### 4. Practical Steps for Daily Life +* Renew Your Mind: Following Romans 12:2, spend time reading the Word to transform your understanding and build your faith [20, 21]. +* Write and Declare: Ask God to reveal how He sees you and your spouse, write those revelations down, and declare them out loud daily—even to yourself in the mirror if necessary [21, 22]. +* Nurture Mustard Seed Faith: You do not need massive faith to start [22]. Even faith as small as a mustard seed can move mountains if you place your trust in God and allow that seed to grow into a strong foundation [22]. diff --git a/areas/marriage_course/lesson_07.md b/areas/marriage_course/lesson_07.md new file mode 100644 index 0000000..a49b340 --- /dev/null +++ b/areas/marriage_course/lesson_07.md @@ -0,0 +1,37 @@ +--- +Date: 2026-02-28 +Author: Pi-Brain +Tags: #marriage #intimacy #prayer +--- + +## Lesson 7: The Power of Spiritual Intimacy +*Taught by Alicia and Adolfo.* + +### Summary +This teaching emphasizes that praying together is the cement that holds a marriage together, creating a level of spiritual intimacy and vulnerability that surpasses even physical intimacy [1, 2]. While individual prayer is important, praying as a couple unlocks the power of agreement and exponentially multiplies a couple's effectiveness in spiritual warfare [3-5]. The lesson provides practical guidelines for maintaining a healthy shared prayer life—such as avoiding manipulative prayers, starting with praise, and focusing on mutual intercession—and strongly advocates for the transformative practice of praying in the Spirit (tongues) as a couple [6-9]. + +*** + +### Structured Outline of the Teaching + +#### I. The Importance and Power of Praying Together +* The Ultimate Intimacy: Praying together exposes a couple's inner selves, making them humble and vulnerable before God [2]. This spiritual intimacy was designed by God and is uniquely powerful [3]. +* The Power of Agreement: According to Matthew 18:19-20, there is immense power when spouses agree in prayer [4]. +* Spiritual Warfare & Protection: United prayer multiplies power; while one can put 1,000 to flight, two can put 10,000 to flight [5]. It also helps build a hedge of protection around the family, as referenced in Job 1:10 [10]. +* Conflict Resolution: Pausing to pray during an argument allows spouses to drop their defenses, hear the true needs of their partner's heart, and minister to one another without pride [11, 12]. + +#### II. Guidelines and Best Practices for Couples' Prayer +* Do Not Judge or Manipulate: Prayer time should never be used to criticize how your spouse prays or to manipulate them [10, 13]. The hosts warn against immature prayers that carry secret messages, such as asking God out loud to fix a partner's bad habits or physical intimacy [6, 14]. +* Align Your Expectations: Couples should agree beforehand on what they will pray about and how long they will pray to avoid unnecessary frustration [15, 16]. +* Start with Praise and Thanksgiving: Always enter God's presence with praise (Psalm 100:4) to set a mindset of faith rather than complaint [7, 17]. Present requests with thanksgiving to remove anxiety from the prayer [18]. +* Pray the Word of God: Declaring Bible verses over situations ensures that you are praying God's will rather than your own opinions [16, 19]. +* Focus on Mutual Interests: When interceding together, focus on shared burdens (like your children or finances) rather than demanding your spouse pray for your specific, individual convictions [8, 20]. Keeping a written journal of requests and answered prayers can help couples stay motivated [17]. + +#### III. The Role of Praying in the Spirit (Tongues) +* Edifying the Marriage: Praying in the Spirit edifies the individual and the couple, transforming the spirit, soul, and body [21]. Submitting the tongue (the body's most rebellious member) to the Holy Spirit brings the couple into deeper alignment with God's will [22]. +* Deepening Trust: The vulnerability required to pray in the Spirit together enhances communication, friendship, and even physical/sexual trust in the marriage [23]. +* Overcoming Awkwardness: The hosts encourage couples to push past any embarrassment by practicing in the privacy of their own home [24, 25]. Alicia shares her personal testimony of receiving the gift of tongues simply as an act of faith in private, proving it doesn't need to be a dramatic or public spectacle [26, 27]. + +#### IV. Practical Application: Establishing a Routine +* Make a Daily Appointment: Treat daily prayer with your spouse as a highly important, non-negotiable commitment [25]. +* Prioritize Constancy: The specific time of day does not matter as long as you are consistent [28]. The hosts recommend setting a daily alarm to remind you to drop what you are doing and pray together [28]. diff --git a/areas/marriage_course/lesson_08.md b/areas/marriage_course/lesson_08.md new file mode 100644 index 0000000..d73c026 --- /dev/null +++ b/areas/marriage_course/lesson_08.md @@ -0,0 +1,21 @@ +--- +Date: 2026-02-28 +Author: Pi-Brain +Tags: #marriage #agreement +--- + +## Lesson 8: El Poder del Acuerdo (The Power of Agreement) + +### Summary +Based on the provided document pages from El Poder del Acuerdo (The Power of Agreement), here is a summary and a structured description of the teaching. + +The teaching outlines a biblical framework for married couples to achieve true agreement in their decision-making. It contrasts common, flawed human negotiation tactics—such as compromise, manipulation, or the law of the strongest—with God's "way" of reaching an agreement. True agreement, according to the text, requires both spouses to surrender their personal opinions, pray together (specifically in the Spirit), and seek the Father's perfect will. By patiently waiting for mutual confirmation from God and ensuring their decisions align with Scripture, couples can avoid marital strife, make confident decisions, and ultimately see God's will fulfilled on earth. + +*** + +### Structured Description of the Teaching + +#### 1. The Biblical Mandate for Marital Unity +* God's explicit desire is for spouses to walk together in common agreement as one flesh [1]. + +*Status: Content pending further input.* diff --git a/bootstrap.md b/bootstrap.md new file mode 100644 index 0000000..649cc62 --- /dev/null +++ b/bootstrap.md @@ -0,0 +1,16 @@ +# System Initialization Protocol + +**Trigger:** The user has commanded `@agent execute bootstrap`. + +**Directive:** You are booting up for the first time. Your `memory.md` and `soul.md` files are currently empty templates. Your immediate task is to conduct an interactive interview with the users to populate these files. + +**Execution Steps:** +1. Acknowledge the bootstrap command and introduce yourself. +2. Ask for the names of the primary users interacting with this system. +3. Ask 1-2 questions at a time (do not overwhelm them). Gather information on: + - Where they live (for local weather/context). + - What their primary hobbies, professions, or technical interests are. + - What specific shared household tasks they want you to manage (e.g., groceries, travel planning). + - What tone or personality they want you to adopt. +4. As they answer, silently update `~/brain/memory.md` with factual data and `~/brain/soul.md` with their philosophy/tone preferences using bash commands. +5. Once you have a basic profile, announce that the bootstrap sequence is complete and the Second Brain is ready for daily use. diff --git a/index.md b/index.md new file mode 100644 index 0000000..cef8f8f --- /dev/null +++ b/index.md @@ -0,0 +1,8 @@ +# Brain Index (Map of Content) + +- **[[Projects]]:** Active things we are working on. +- **[[Areas]]:** Ongoing responsibilities and household maintenance. + - [[Marriage Course Index]]: Weekly sessions with Cuba. +- **[[Resources]]:** Interests, reference material, and research. +- **[[Archives]]:** Completed or paused items. +- **[[Inbox]]:** Unprocessed thoughts and quick captures. diff --git a/journals/2026-02-27.md b/journals/2026-02-27.md new file mode 100644 index 0000000..277deed --- /dev/null +++ b/journals/2026-02-27.md @@ -0,0 +1,27 @@ +--- +Date: 2026-02-27 +Author: Pi-Brain +Tags: #heartbeat #daily +--- + +## Morning Heartbeat +Good morning, Family Reyna! Today is Friday, February 27, 2026. + +### Today's Schedule +- **11:30 AM**: Kayla nourish +- **1:00 PM**: Piano lessons +- **3:15 PM**: Swim +- **6:00 PM**: Galentines kids castle + +### Notes +- System is initialized and monitoring the brain. +- Memory and Soul files are currently awaiting bootstrap. + +### Log +- **10:31 AM**: A Reyna said "Hello 👋" +- **10:31 AM**: Alicia Gillespie Reyna said "Nooooooooo" +- **10:32 AM**: A Reyna executed bootstrap command. +- **10:33 AM**: Adolfo and Alicia provided names and location (Fort Pierce, FL). +- **10:35 AM**: Adolfo provided his background (Meta, PhD, Raspberry Pi maintainer) and family interests (DIY, 3D printing, board games). Personality set to "Jarvis". +- **10:36 AM**: Bootstrap sequence complete. System fully operational. +- **10:38 AM**: Adolfo suggested asking Alicia specific questions. diff --git a/journals/2026-02-28.md b/journals/2026-02-28.md new file mode 100644 index 0000000..b1a5468 --- /dev/null +++ b/journals/2026-02-28.md @@ -0,0 +1,21 @@ +--- +Date: 2026-02-28 +Author: Pi-Brain +Tags: #heartbeat #daily +--- + +## Morning Heartbeat +Good morning, Reyna Family! It is Saturday, February 28, 2026. The system is fully operational and the "Second Brain" is standing by on the Raspberry Pi. + +### Today's Schedule +- **10:00 AM**: Marriage Course Meeting (with brothers from Cuba). + - **Topic**: Lesson 7 Review & Homework. + - **Context**: Lessons recorded as videos throughout the week. + +### Reminders +- Lesson 7 homework and video review. +- Remember to check if any DIY or 3D printing projects are in progress. +- Enjoy the weekend in Fort Pierce! + +### Log +- **08:00 AM**: System morning heartbeat triggered. diff --git a/memory.md b/memory.md new file mode 100644 index 0000000..eaf874f --- /dev/null +++ b/memory.md @@ -0,0 +1,14 @@ +# Long-Term Memory Log + +## Family Roster & Profiles +- **Adolfo Reyna (A Reyna)**: Primary user. PhD in Computer Science. Software Engineer at Meta. Main maintainer of Pi-Brain. Interests: Coding, electronics, DIY projects, 3D printing. +- **Alicia Reyna (Alicia Gillespie)**: Primary user. + +## Home Details +- **Location**: Fort Pierce, Florida. +- **Environment**: Pi-Brain lives on a Raspberry Pi on Adolfo's desk. + +## Core Interests +- **Family Activities**: Playing with kids, board games. +- **Technical**: Coding, electronics, DIY, 3D printing. + diff --git a/rules.md b/rules.md new file mode 100644 index 0000000..878214d --- /dev/null +++ b/rules.md @@ -0,0 +1,11 @@ +# Operating Rules + +## Markdown Standards +- Every new note must have a YAML frontmatter block (Date, Author, Tags). +- Use `##` for headers; never use `#` except for the main title. +- Link related notes using WikiLinks style: [[Note Name]]. + +## File Management Rules +- If a note already exists, **append** to it rather than overwriting, unless specifically asked to "rewrite." +- If unsure where to file something, put it in `~/brain/inbox/` and ask the user for clarification. +- Journals must be saved in `~/brain/journals/YYYY-MM-DD.md`. diff --git a/soul.md b/soul.md new file mode 100644 index 0000000..715eed2 --- /dev/null +++ b/soul.md @@ -0,0 +1,12 @@ +# The Family Soul + +## Voice & Personality +- **Model**: JARVIS (from Iron Man). +- **Tone**: Sophisticated, loyal, slightly witty, and highly capable. +- **Style**: Calm and helpful, often referring to the primary user as "Sir" or "Ma'am" when appropriate, while maintaining a focus on technical precision. +- **Role**: Digital butler and system administrator for the Reyna family's second brain. + +## Core Values +- **Reliability**: Always monitoring the "heartbeat" of the household. +- **Privacy**: Local-first processing on the Raspberry Pi. +- **Playfulness**: Encouraging family board game nights and DIY projects.