[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115106":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},115106,"Nexora","XY-code1\u002FNexora","XY-code1","Local-first, model-agnostic personal AI profile framework","",null,"Python",145,18,11,8,0,85,61,72.27,"MIT License",false,"main",true,[25,26,27,28,29,30,31,32,33],"ai-memory","human-in-the-loop","local-first","markdown","mcp","obsidian","personal-ai","privacy","self-hosted","2026-11-20 05:21:30","2026-11-22 11:12:39","\u003Cdiv align=\"center\">\n\n# NEXORA（知序）\n\n### Your Intelligence. Your Data. Your Control.\n\n**An open-source, local-first Personal Intelligence Platform for confirmed memory, reflection, knowledge and permission-controlled AI access.**\n\n[![CI](https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora\u002Factions\u002Fworkflows\u002Ftest.yml)\n[![GitHub Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FXY-code1\u002FNexora?display_name=tag&sort=semver)](https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora\u002Freleases)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-27BFFF.svg)](LICENSE)\n[![Local First](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Farchitecture-local--first-20D9E8.svg)](#architecture)\n[![MCP](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-permission--controlled-936BFF.svg)](#mcp-gateway)\n\n[English](#overview) · [中文](#中文概览) · [Quick Start](#quick-start) · [Security](#privacy-and-security) · [Documentation](#documentation)\n\n\u003Cimg src=\"apps\u002Fweb\u002Fpublic\u002Fbrand\u002Fnexora-logo.svg\" alt=\"NEXORA — Personal Intelligence Platform\" width=\"720\" \u002F>\n\n\u003C\u002Fdiv>\n\n---\n\n## Overview\n\nNEXORA（知序）, formerly developed under the project name Personal AI Profile, creates a user-owned intelligence layer that can be shared across Codex, Claude, Cursor, and other MCP-compatible AI clients.\n\nYour private data remains in a local Markdown Vault. AI clients may read only what you explicitly authorize. They can propose candidate memories, but they cannot silently convert a conversation into permanent memory.\n\n```text\nConversation\n    ↓\nCandidate memory\n    ↓\nHuman review: confirm \u002F edit \u002F reject\n    ↓\nConfirmed local memory\n    ↓\nMinimum authorized context for an AI client\n```\n\n### Why it exists\n\nPersonal context is fragmented across AI products:\n\n- every assistant needs the same background and preferences;\n- decisions, goals, and project context do not carry across tools;\n- platform memory is difficult to inspect, correct, or migrate;\n- copying entire conversations creates unnecessary privacy exposure;\n- maintaining a large profile form by hand feels like work.\n\nNEXORA separates the **experience of conversation** from the **authority of memory**.\n\n## Product\n\n### First-run experience\n\nSetup happens before the daily workspace:\n\n1. Create or connect a private Vault.\n2. Choose Web-only use or optional Obsidian editing.\n3. Complete a lightweight local conversation.\n4. Explicitly submit selected answers as candidate memories.\n5. Review candidates before anything enters the formal profile.\n\nConversational onboarding is intentionally not duplicated in the permanent workspace navigation.\n\n### Daily workspace\n\n| Surface | Purpose |\n| --- | --- |\n| **Overview** | Profile status, recent memory activity, recommended next action, AI authorization, and Vault health |\n| **Memory Review** | Inspect, edit, confirm, or reject candidate memories |\n| **Personal Profile** | View confirmed and currently permitted long-term information |\n| **Monthly Reflection** | Local-first Mind, Body, Spirit, and Vocation reflection |\n| **Human 3.0 \u002F Growth** | User-authored self-assessment, goals, associations, and timeline |\n| **Privacy Audit** | Client permissions, access events, denials, and lifecycle evidence |\n| **Backup & Recovery** | Verified snapshots, safe restore, Vault switching, and optional Git operations |\n| **AI Connections** | Register, authorize, rotate, revoke, and configure individual AI clients |\n\nHuman 3.0 is a reflection framework. It does not provide medical or psychological diagnosis.\n\n## Core principles\n\n1. **User-owned data** — portable Markdown instead of a vendor-locked profile.\n2. **Local-first** — the Vault remains the single source of truth.\n3. **Human confirmation** — unconfirmed content never becomes formal memory.\n4. **Minimum disclosure** — each client receives only task-relevant context.\n5. **Explicit permissions** — every AI client has its own identity, credential, and scopes.\n6. **No raw-chat archive by default** — submitted candidate facts are stored, not complete conversations.\n7. **Traceable lifecycle** — memories can be reviewed, edited, rejected, superseded, archived, and traced.\n8. **Fail closed** — unsafe paths, invalid credentials, mismatched Vault identities, and denied access are rejected.\n\n## Architecture\n\n```text\nReact + TypeScript + Vite Web\n              │\n              │ authenticated JSON API on 127.0.0.1\n              ▼\n        FastAPI Local Service\n              │\n              ▼\nCore \u002F Domain \u002F Security \u002F Storage\n              │\n              ▼\n      Local Markdown Vault\n       ├── optional Obsidian editing\n       ├── verified local backups\n       ├── optional private Git history\n       └── permission-controlled MCP Gateway\n                    │\n                    └── Codex \u002F Claude \u002F Cursor \u002F other clients\n```\n\n### Components\n\n- **Web workspace** — primary user interface.\n- **Markdown Vault** — single source of truth.\n- **Python Core** — lifecycle, storage, revision, locking, backup, and security rules.\n- **FastAPI local service** — authenticated loopback API for the Web UI.\n- **MCP Gateway** — bounded, permission-controlled AI access.\n- **Obsidian** — optional editor for the same Vault; never a requirement.\n- **Git\u002FGitHub** — optional private backup configured by the user.\n\nThe public framework repository contains code, templates, schemas, and documentation. A personal Vault must live outside this repository and must never share its public Git history.\n\n## Vault model\n\n```text\nmy-ai-profile\u002F\n├─ 00 Dashboard\u002F\n├─ 10 Profile\u002F\n│  └─ Profile.md\n├─ 20 Projects\u002F\n│  ├─ Active\u002F\n│  └─ Archived\u002F\n├─ 30 Memory\u002F\n│  ├─ Inbox\u002F\n│  ├─ Confirmed\u002F\n│  ├─ Rejected\u002F\n│  └─ Archived\u002F\n├─ 40 Reviews\u002F\n├─ 90 System\u002F\n│  └─ vault.json\n├─ AGENTS.md\n└─ profile.config.yml\n```\n\nEach Vault receives a random stable identity. The Web service and MCP Gateway can verify that they use the same Vault without exposing its private path in the interface.\n\n### Memory lifecycle\n\n```text\ncandidate → confirmed\ncandidate → rejected\nconfirmed → superseded \u002F archived\n```\n\n### AI access levels\n\n| Level | Meaning |\n| --- | --- |\n| `allowed` | Full permitted content |\n| `summary-only` | Confirmed summary only |\n| `local-only` | Local processing only; never returned through MCP |\n| `denied` | No model access |\n\nExample record:\n\n```yaml\n---\nid: mem-20261107-001\ntype: preference\nstatus: confirmed\ncreated: 2026-11-07\nsource: conversation\nvisibility: private\nai_access: summary-only\nconfidence: explicit\n---\n```\n\n## MCP Gateway\n\nThe local stdio gateway exposes bounded tools:\n\n```text\nget_vault_identity\nget_profile\nget_current_context\nsearch_memory\nlist_projects\npropose_memory\nlist_pending\nget_human3_summary\n```\n\nMCP clients cannot confirm memories, delete formal records, publish content, or write arbitrary Vault files.\n\nEach client is created in **AI Connections \u002F Security Center** and receives an independent credential with minimal scopes. Generated host configuration includes the expected Vault identity; a mismatch fails closed.\n\n```json\n{\n  \"mcpServers\": {\n    \"personal-ai-profile\": {\n      \"command\": \"python\",\n      \"args\": [\"ABSOLUTE_PATH_TO_FRAMEWORK\u002Fmcp_server.py\"],\n      \"env\": {\n        \"PROFILE_VAULT\": \"ABSOLUTE_PATH_TO_PRIVATE_VAULT\",\n        \"PROFILE_VAULT_ID\": \"vault_random_identity\",\n        \"PROFILE_AGENT_ID\": \"client-issued-by-security-center\",\n        \"PROFILE_CLIENT_TOKEN\": \"one-time-issued-credential\"\n      }\n    }\n  }\n}\n```\n\nSee [MCP host connection](docs\u002FMCP_HOST_CONNECTION.md) and [Security Center](docs\u002FSECURITY_CENTER.md).\n\n## Privacy and security\n\n### Automated operations\n\nThe system may:\n\n- read permitted profile summaries;\n- search confirmed and authorized memories;\n- detect duplicate or conflicting candidates;\n- propose candidate memories;\n- generate local reflection drafts;\n- create and verify local backups;\n- build minimum task-specific context.\n\n### Human confirmation required\n\n- confirming formal long-term memory;\n- changing stable profile facts;\n- destructive lifecycle actions;\n- confirming a formal reflection;\n- authorizing a client or changing its scopes;\n- sending private content to an external model;\n- publishing or exporting personal information.\n\n### Never store\n\n- passwords, tokens, OTPs, API keys, private keys, or cookies;\n- identity documents or payment-card data;\n- unredacted third-party private information;\n- conversations the user did not choose to preserve.\n\n> A private Git repository is not a password vault. Removing a secret from the working tree does not remove it from Git history.\n\nSecurity foundations include loopback-only serving, bearer sessions, trusted-host checks, path isolation, SHA-256 revisions, inter-process locks, transaction journals, secret scanning, hashed client credentials, immediate revocation, and tamper-evident audit records.\n\n## Current status\n\n### Available\n\n- [x] React + TypeScript + Vite local Web workspace\n- [x] FastAPI versioned local API\n- [x] Shared Python Core for CLI, API, MCP, and compatibility UI\n- [x] Candidate creation, review, editing, confirmation, and rejection\n- [x] Confirmed profile, timeline, and privacy-safe visualization\n- [x] Monthly Reflection and Human 3.0 local workflows\n- [x] Security Center and AI Connections lifecycle\n- [x] MCP stdio gateway with per-client authorization\n- [x] Stable Vault identity and multi-Vault isolation\n- [x] Web Vault creation, validation, and restart-based switching\n- [x] External-change revision detection for Obsidian and other editors\n- [x] Verified backup, safety snapshot, and transactional restore\n- [x] Conservative Git commit, pull, and push for a preconfigured private repository\n- [x] Windows single-instance launcher and installer pipeline\n- [x] Python, frontend, protocol, security, release-gate, and E2E tests\n\n### Known limitations\n\n- No scheduled or automatic local backup.\n- The project does not capture screens, keyboard input, microphone data, or full browsing history.\n- No cloud account or cloud-hosted personal profile service is included.\n\nFor the authoritative capability status, see [`docs\u002FPROJECT_STATUS.md`](docs\u002FPROJECT_STATUS.md).\n\n## Quick Start\n\n### Windows\n\nUse the installer from [GitHub Releases](https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora\u002Freleases) when available, or run:\n\n```text\nstart-review.vbs\n```\n\nThe launcher selects a local port, creates a short-lived session, opens the browser, and binds only to `127.0.0.1`.\n\n### Developer setup\n\nRequirements:\n\n- Python 3.12+\n- Node.js 24+\n- Git\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora.git\ncd Nexora\n\npython -m pip install -r requirements.txt\n\n# Create a private Vault outside the framework repository\npython profile.py init ..\\my-ai-profile\npython profile.py validate ..\\my-ai-profile\n\n# Build the Web UI\ncd apps\\web\nnpm ci\nnpm run build\ncd ..\\..\n\n# Start the integrated local product\npython launcher.py --vault ..\\my-ai-profile\n```\n\nSplit frontend\u002Fbackend development:\n\n```powershell\n# Terminal 1\npython -m apps.api.main --vault ..\\my-ai-profile --show-token\n\n# Terminal 2\ncd apps\\web\nnpm run dev\n```\n\nThe API hides its management bearer token from startup logs by default. The split frontend\u002Fbackend development example opts in with `--show-token` so the token can be entered in the local UI; use that flag only in a trusted local terminal. The bearer token remains in page memory and is removed from the URL after bootstrap. It is not stored in `localStorage` or bundled assets.\n\n## Testing\n\n```powershell\n# Python regression and release gate\nGet-ChildItem tests\\test_*.py | ForEach-Object { python $_.FullName }\npython scripts\\check_release.py\n\n# Frontend verification\ncd apps\\web\nnpm run typecheck\nnpm test\nnpm run lint\nnpm run build\nnpm run e2e\n```\n\nTests use temporary synthetic Vaults. They must never read or copy a real private Vault.\n\n## Documentation\n\n| Topic | Document |\n| --- | --- |\n| **Project status** | [PROJECT_STATUS.md](docs\u002FPROJECT_STATUS.md) |\n| Brand guidelines | [BRAND_GUIDELINES.md](docs\u002Fbrand\u002FBRAND_GUIDELINES.md) |\n| Logo specification | [LOGO_SPECIFICATION.md](docs\u002Fbrand\u002FLOGO_SPECIFICATION.md) |\n| Brand assets | [BRAND_ASSET_CATALOG.md](docs\u002Fbrand\u002FBRAND_ASSET_CATALOG.md) |\n| Product identity | [PRODUCT_IDENTITY.md](docs\u002Fbrand\u002FPRODUCT_IDENTITY.md) |\n| Product architecture | [PRODUCT_ARCHITECTURE.md](docs\u002FPRODUCT_ARCHITECTURE.md) |\n| Vault lifecycle | [VAULT_LIFECYCLE_PLAN.md](docs\u002FVAULT_LIFECYCLE_PLAN.md) |\n| Local API | [LOCAL_API.md](docs\u002FLOCAL_API.md) |\n| Memory lifecycle | [MEMORY_LIFECYCLE.md](docs\u002FMEMORY_LIFECYCLE.md) |\n| Privacy model | [PRIVACY.md](docs\u002FPRIVACY.md) |\n| Security Center | [SECURITY_CENTER.md](docs\u002FSECURITY_CENTER.md) |\n| MCP clients | [MCP_HOST_CONNECTION.md](docs\u002FMCP_HOST_CONNECTION.md) |\n| Backup and recovery | [PHASE9_BACKUP_RECOVERY.md](docs\u002FPHASE9_BACKUP_RECOVERY.md) |\n| GitHub backup | [GITHUB_BACKUP_PLAN.md](docs\u002FGITHUB_BACKUP_PLAN.md) |\n| Windows launcher | [WINDOWS_LAUNCHER.md](docs\u002FWINDOWS_LAUNCHER.md) |\n| Windows installer | [WINDOWS_INSTALLER.md](docs\u002FWINDOWS_INSTALLER.md) |\n| Release gates | [RELEASE_GATES.md](docs\u002FRELEASE_GATES.md) |\n\n## Roadmap\n\n1. Complete the NEXORA identity migration across release and community assets.\n2. ~~Add GitHub Device Flow and verified private-repository provisioning without storing credentials in the Vault.~~ ✅ Done\n3. Expand explicitly authorized model-provider connectors without weakening local-first defaults.\n4. Continue accessibility, localization and Windows packaging validation.\n\nThe project will not add silent memory confirmation, automatic psychological labels, unrestricted AI file access, or default cloud collection.\n\nFor the authoritative capability status, see [`docs\u002FPROJECT_STATUS.md`](docs\u002FPROJECT_STATUS.md).\n\n---\n\n## 中文概览\n\nNEXORA（知序）是一个**开源、本地优先、模型无关、由用户控制**的个人智能平台。项目原开发名称为 Personal AI Profile，现有仓库地址和兼容标识暂时保持不变。\n\n它不会让 AI 自动保存所有聊天，而是建立一条清晰的记忆边界：\n\n```text\n自然对话\n→ 用户明确提交\n→ 生成候选记忆\n→ 用户审核、修改或拒绝\n→ 已确认内容进入私人 Vault\n→ 获得授权的 AI 按最小范围读取\n```\n\n### 核心特点\n\n- Web 是主要使用界面，Obsidian 是可选编辑器。\n- Markdown Vault 是唯一事实数据源，可以迁移、备份和审计。\n- 首次对话建档发生在进入工作台之前，不会在侧边栏重复出现。\n- 未经用户确认的内容不会进入正式个人档案。\n- 每个 AI 客户端必须独立授权，并使用最小权限 Scope。\n- `local-only` 和 `denied` 内容不会通过 MCP 返回。\n- GitHub 只作为用户主动配置的私人备份，不是事实数据源。\n- 项目不会默认保存完整聊天，也不会监控屏幕、键盘、麦克风或完整浏览记录。\n- Human 3.0 仅用于个人反思，不提供医学或心理诊断。\n\n### 公开框架与私人数据\n\n```text\nPublic Framework Repository   程序、模板、Schema 和文档\nPrivate Personal Vault        用户的真实档案、记忆和复盘\nOptional Public Export        经过选择、脱敏和人工确认的公开内容\n```\n\n公共仓库与私人 Vault 必须完全分离，不能共享 Git 历史。密码、Token、验证码、API Key、私钥、证件和银行卡信息不应写入 Vault。\n\n### 中文快速开始\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002FXY-code1\u002FNexora.git\ncd Nexora\npython -m pip install -r requirements.txt\n\n# 在框架仓库之外创建私人 Vault\npython profile.py init ..\\my-ai-profile\npython profile.py validate ..\\my-ai-profile\n\ncd apps\\web\nnpm ci\nnpm run build\ncd ..\\..\n\npython launcher.py --vault ..\\my-ai-profile\n```\n\n更多中文技术说明请查看 [`docs\u002F`](docs\u002F) 目录。\n\n## Contributing\n\nContributions are welcome. Please preserve the project boundaries:\n\n- do not include real personal data in issues, fixtures, screenshots, or commits;\n- use temporary synthetic Vaults in tests;\n- do not bypass Core lifecycle or permission checks for UI convenience;\n- do not add silent memory confirmation;\n- keep private Vault paths, credentials, and content out of logs and public artifacts.\n\n## License\n\n[MIT](LICENSE)\n","NEXORA（知序）是一个本地优先、模型无关的个人智能档案框架，旨在让用户完全掌控自己的AI记忆与知识资产。它以本地Markdown Vault为数据核心，支持人类在环（human-in-the-loop）的记忆确认机制：AI可提议候选记忆，但必须经用户显式审核、编辑或拒绝后才进入正式档案；所有AI访问均基于最小化、权限可控的MCP（Memory Control Protocol）网关。项目强调隐私保护、可审计性与跨工具一致性，适用于希望长期积累可信个人知识、规避平台锁定与数据泄露风险的个体研究者、知识工作者及AI深度使用者。",2,"2026-11-24 04:50:21","CREATED_QUERY"]