Loading...
Loading...
Compare original and translation side by side
Convention: see conventions/quality.md for citation rules, exact-phrasing requirements when capturing the user's reactions, and back-link enforcement.Convention: see _brain-filing-rules.md — this skill is schema-generic: it reads the user's filing rules from the rules JSON instead of hardcoding any specific era / archive layout.
约定: 请查看 conventions/quality.md 了解引用规则、捕捉用户反馈时的精确措辞要求,以及反向链接强制规范。约定: 请查看 _brain-filing-rules.md —— 本技能为** schema 通用型**:它从规则JSON中读取用户的归档规则,而非硬编码任何特定时期/归档布局。
archive-crawler.scan_paths:gbrain.ymlundefinedgbrain.ymlarchive-crawler.scan_paths:undefined
If `scan_paths` is empty or missing, the skill exits with:
archive-crawler.scan_paths:
This contract is enforced by `src/core/storage-config.ts` (mirrors the
`db_tracked` / `db_only` allow-list pattern from v0.22.11 storage tiering).
如果`scan_paths`为空或缺失,技能将退出并提示:
archive-crawler.scan_paths:
该规则由`src/core/storage-config.ts`强制执行(沿用v0.22.11存储分层中的`db_tracked` / `db_only`允许列表模式)。.mbox.mboxlocaldropboxbackblazegmail-takeoutmboxpstprojects/<archive-slug>/STATUS.mdlocaldropboxbackblazegmail-takeoutmboxpstprojects/<archive-slug>/STATUS.md⬜ unseen👀 reviewed✅ ingested⏭️ skip🔥 high-signal⬜ 未查看👀 已审阅✅ 已摄入⏭️ 跳过🔥 高信号| Keep (show) | Skip (note existence, don't show) |
|---|---|
| Personal writing (journals, letters, reflections, essays) | System files, configs, package.json, node_modules |
| Conversations (IM logs, email threads with substance) | Binary blobs (images / video) |
| Ideas, theses, frameworks | Receipts, invoices, tax docs |
| Relationship material (letters to / from people who matter) | Spam, newsletters, mailing-list bulk |
| Creative work (poetry, stories, code with soul) | Corrupted / null files |
| Origin stories (first versions of things that became important) | |
| Emotional content (anger, love, grief, discovery) |
| 保留(展示) | 跳过(仅记录存在,不展示) |
|---|---|
| 个人原创文字(日记、信件、反思、随笔) | 系统文件、配置文件、package.json、node_modules |
| 对话内容(即时通讯日志、有实质内容的邮件线程) | 二进制大文件(图片/视频) |
| 想法、论文、框架 | 收据、发票、税务文档 |
| 人际关系相关内容(与重要人物往来的信件) | 垃圾邮件、新闻通讯、邮件列表批量内容 |
| 创意作品(诗歌、故事、有灵魂的代码) | 损坏/空文件 |
| 起源故事(重要事物的初始版本) | |
| 情感类内容(愤怒、爱意、悲伤、发现) |
projects/<archive-slug>/STATUS.mdprojects/<archive-slug>/STATUS.md_brain-filing-rules.mdoriginals/<slug>.mdpersonal/<slug>.mdideas/<slug>.mdpeople/<person>/timelinepersonal/<slug>.mdoriginals/<slug>.mdoriginals/archive/originals/yc-era/_brain-filing-rules.json---
title: "[Title or first line]"
type: original
source_type: "[local|dropbox|backblaze|gmail-takeout|mbox|pst]"
source_path: "[path within the allow-listed scan_paths]"
date: "YYYY-MM-DD" # date from the file metadata or content
people: ["person-1", "person-2"]
tags: ["tag-1", "tag-2"]
---_brain-filing-rules.mdoriginals/<slug>.mdpersonal/<slug>.mdideas/<slug>.mdpeople/<person>/timelinepersonal/<slug>.mdoriginals/<slug>.mdoriginals/archive/originals/yc-era/_brain-filing-rules.json---
title: "[标题或首行内容]"
type: original
source_type: "[local|dropbox|backblaze|gmail-takeout|mbox|pst]"
source_path: "[允许扫描路径内的文件路径]"
date: "YYYY-MM-DD" # 文件元数据或内容中的日期
people: ["person-1", "person-2"]
tags: ["tag-1", "tag-2"]
---undefinedundefined.mbox.mboximport mailbox
mbox = mailbox.mbox('/path/to/file.mbox')
for msg in mbox:
body = ''
if msg.is_multipart():
for part in msg.walk():
if part.get_content_type() == 'text/plain':
body = part.get_payload(decode=True).decode('utf-8', errors='replace')
break
else:
body = msg.get_payload(decode=True).decode('utf-8', errors='replace')
# Apply gold filterimport mailbox
mbox = mailbox.mbox('/path/to/file.mbox')
for msg in mbox:
body = ''
if msg.is_multipart():
for part in msg.walk():
if part.get_content_type() == 'text/plain':
body = part.get_payload(decode=True).decode('utf-8', errors='replace')
break
else:
body = msg.get_payload(decode=True).decode('utf-8', errors='replace')
# Apply gold filter.doc.docx.doc.docxundefinedundefinedundefinedundefined.pst.pstundefinedundefinedundefinedundefined.zip.tar.tar.gz.zip.tar.tar.gz---
title: "[Archive Name] — Ingestion Status"
type: project
created: YYYY-MM-DD
updated: YYYY-MM-DD
source_type: "[local|dropbox|...]"
scan_paths: ["paths from gbrain.yml"]
------
title: "[归档名称] — 摄入状态"
type: project
created: YYYY-MM-DD
updated: YYYY-MM-DD
source_type: "[local|dropbox|...]"
scan_paths: ["paths from gbrain.yml"]
---| Item | Type | Size | Status | Reaction |
|---|---|---|---|---|
| file1.txt | text | 2KB | ✅ ingested | 🔥 "exact quote" |
| file2.doc | doc | 15KB | ⏭️ skip | — |
| file3.html | html | 4KB | ⬜ unseen | — |
| 项目 | 类型 | 大小 | 状态 | 反馈 |
|---|---|---|---|---|
| file1.txt | text | 2KB | ✅ 已摄入 | 🔥 "精确引用" |
| file2.doc | doc | 15KB | ⏭️ 跳过 | — |
| file3.html | html | 4KB | ⬜ 未查看 | — |
undefinedundefinedarchive-crawler.scan_paths:originals/archive/originals/yc-era/archive-crawler.scan_paths:originals/archive/originals/yc-era/skills/voice-note-ingest/SKILL.mdskills/idea-ingest/SKILL.mdskills/conventions/quality.mdskills/voice-note-ingest/SKILL.mdskills/idea-ingest/SKILL.mdskills/conventions/quality.mdwrites_to:quality.mdbrain-first.md_brain-filing-rules.mdwrites_to:quality.mdbrain-first.md_brain-filing-rules.mdtest/skills-conformance.test.tstest/skills-conformance.test.ts