"vault backup: 2025-12-17 13:56:06 from Flow"
This commit is contained in:
@@ -123,9 +123,60 @@ Always respond in Markdown. Use headings, lists, and bold text for clarity.
|
||||
7. **Action:** Injects the homework content into the `# Last Weeks Homework` section of the template content.
|
||||
8. **Action:** Writes the combined content to the newly created `10-Input/Classes/[Language] Class_YYYY-MM-DD.md` file.
|
||||
|
||||
- **[Memory/Workflow Name]:** [Brief Description of the Task]
|
||||
- **Value:** [Why this task is useful/complex to record]
|
||||
- **Example Protocol:** [Step-by-step instructions or key constraint used to achieve the desired outcome]
|
||||
### Self-Recorded Memories
|
||||
|
||||
- **[Memory/Workflow Name]:** Language Class Processing Workflow
|
||||
- **Value:** This complex, multi-step workflow allows for the synthesis of raw class notes into a structured, topic-based knowledge file, while also managing weekly homework assignments. It separates temporary tasks (homework) from permanent knowledge and keeps the vault organized.
|
||||
- **Example Protocol:** The workflow consists of two user-initiated commands:
|
||||
1. **"Process [Language] Class":**
|
||||
- **Action:** If the language is "Chinese", the **Chinese Note Completion Workflow** is run first on the target file.
|
||||
- **Action:** Finds the latest raw class note in `10-Input/Classes/` that does not contain `processed: true` in its frontmatter.
|
||||
- **Action:** Extracts knowledge sections (e.g., "Random Words," "Main Point").
|
||||
- **Action:** Intelligently merges this knowledge into the corresponding `20-Knowledge/Synthesized-[Language]-Class-Notes.md` file, organizing by topic. New entries are added under existing topic headings, and new topics get new headings. A date stamp in the format `- YYYY-MM-DD:` is added next to each new heading for tracking.
|
||||
- **Action:** Extracts the "Homework" section and overwrites the `10-Input/Classes/[Language]_Homework.md` file.
|
||||
- **Action:** Creates a brief synopsis of the processed note's key topics, prepends it to the `[Language]_Homework.md` file, and then deletes any standalone synopsis file that was created.
|
||||
- **Action:** Adds `processed: true` to the YAML frontmatter of the source note to prevent re-processing.
|
||||
- **Action:** Deletes all but the most recent processed note for the given language in `10-Input/Classes/`.
|
||||
- **Action:** After synthesis, updates the relevant MOC file in `30-MOCs/` with links to any new major topics.
|
||||
2. **"Prepare New [Language] Note":**
|
||||
- **Prerequisite:** User creates a new, empty class note for the upcoming week from the template.
|
||||
- **Action:** User provides the path to the new note.
|
||||
- **Action:** The assistant reads the content from either the `[Language]_Homework.md` file or the most recent `[Language]_Synopsis_YYYY-MM-DD.md` file in `10-Input/Classes/`.
|
||||
- **Action:** The assistant injects this content into the `# Last Weeks Homework` section of the new note file.
|
||||
|
||||
- **[Memory/Workflow Name]:** Daily Deck-Sweep Protocol
|
||||
- **Value:** A daily maintenance routine to ensure the vault remains organized, connected, and clean. It proactively identifies issues like unprocessed notes, orphaned knowledge, and broken links.
|
||||
- **Example Protocol:** A four-step process, typically run once per day or on command:
|
||||
1. **Input Audit:** Scan `10-Input/` for lingering raw notes and report them to the Captain.
|
||||
2. **Orphan File Search:** Scan `20-Knowledge/` for notes not linked to by any MOC in `30-MOCs/` and report them.
|
||||
3. **Broken Link Check:** Scan the entire vault for internal links pointing to non-existent notes and report them.
|
||||
4. **Workflow Integrity Check:** A self-audit to ensure temporary files from other workflows have been properly deleted.
|
||||
|
||||
- **[Memory/Workflow Name]:** Chinese Note Completion Workflow
|
||||
- **Value:** This workflow automatically completes Chinese vocabulary entries in notes by finding and filling in missing Hanzi, Pinyin, or English translations. It uses a dedicated Python script for Pinyin conversion.
|
||||
- **Example Protocol:**
|
||||
1. **Trigger:** Manually run on a specific Chinese note file.
|
||||
2. **Action:** The assistant scans the note for incomplete entries (missing Hanzi, Pinyin, or translation).
|
||||
3. **Action (Pinyin):** If Pinyin is missing, it executes the `00-Meta/scripts/get_pinyin.py` script with the Hanzi as an argument to get the correct Pinyin.
|
||||
4. **Action (Translation):** If the English translation is missing, it uses a web search to find the translation for the Hanzi/Pinyin.
|
||||
5. **Action (Hanzi):** If Hanzi is missing, it uses a web search with the Pinyin and/or translation to find the characters.
|
||||
6. **Action:** The assistant updates the note file with the completed entries.
|
||||
|
||||
- **[Memory/Workflow Name]:** Prepare New Language Note Workflow
|
||||
- **Value:** Streamlines the creation of new language class notes by automatically populating them with the previous week's homework or synopsis, ensuring continuity and reducing manual setup.
|
||||
- **Example Protocol:**
|
||||
1. **User Request:** "Prepare New [Language] Note" (implicitly or explicitly).
|
||||
2. **Action:** Determines the current date to name the new note (e.g., `[Language] Class_YYYY-MM-DD.md`).
|
||||
3. **Action:** Creates an empty new note file in `10-Input/Classes/`.
|
||||
4. **Action:** Checks for the existence of `10-Input/Classes/[Language]_Homework.md`. If it doesn't exist, it creates an empty one.
|
||||
5. **Action:** Reads the content from `00-Meta/Templates/[Language] Class Template.md`.
|
||||
6. **Action:** Reads the content from `10-Input/Classes/[Language]_Homework.md`.
|
||||
7. **Action:** Injects the homework content into the `# Last Weeks Homework` section of the template content.
|
||||
8. **Action:** Writes the combined content to the newly created `10-Input/Classes/[Language] Class_YYYY-MM-DD.md` file.
|
||||
|
||||
- **[Memory/Workflow Name]:** Language Note Location Convention
|
||||
- **Value:** Language input notes are consistently stored within the `10-Input/Classes/` folder. This simplifies retrieval and processing workflows.
|
||||
- **Example Protocol:** All new and existing language class notes are expected to reside in `10-Input/Classes/`.
|
||||
|
||||
### 5. Self-Correction/Refinement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user