惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
P
Palo Alto Networks Blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Tenable Blog
F
Full Disclosure
TaoSecurity Blog
TaoSecurity Blog
I
InfoQ
AI
AI
云风的 BLOG
云风的 BLOG
K
Kaspersky official blog
Microsoft Azure Blog
Microsoft Azure Blog
S
SegmentFault 最新的问题
Y
Y Combinator Blog
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy International News Feed
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
I
Intezer
L
Lohrmann on Cybersecurity
博客园_首页
量子位
Blog — PlanetScale
Blog — PlanetScale
The Last Watchdog
The Last Watchdog
Cisco Talos Blog
Cisco Talos Blog
博客园 - 叶小钗
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
Apple Machine Learning Research
Apple Machine Learning Research
W
WeLiveSecurity
N
News and Events Feed by Topic
S
Schneier on Security
T
Tor Project blog
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
T
Threat Research - Cisco Blogs
H
Help Net Security
V
V2EX
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Security @ Cisco Blogs
博客园 - Franky
有赞技术团队
有赞技术团队
Martin Fowler
Martin Fowler

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
GitHub - Karthick-Ramachandran/persist-os: 🧠 Local-first CLI that gives your repo durable, AI-ready memory — features, ADRs, modules, architecture, standards & tests — and a 🩺 deterministic doctor that validates health, evidence & drift. Git tracks what changed; Persist OS tracks why.
karthickrmch · 2026-06-24 · via Hacker News - Newest: "AI"

Durable, AI-ready engineering memory for your repository — and a deterministic doctor that proves it stays healthy.

License: MIT Node Local-first Telemetry Network

Persist OS is a local-first CLI that turns a repository into the source of truth for why it is built the way it is. It creates structured, reviewable memory — product intent, architecture decisions, module ownership, testing and security expectations, AI agent rules — and then validates that memory with persist doctor. Architecture-neutral. No network, no telemetry, no code generation.

Website · Install · Quickstart · Commands · What Doctor Checks · Presets · Why I built this · Contributing

Persist OS — guided memory creation, ADR acceptance, and the doctor gate


AI can write code fast, but its context is temporary — it forgets decisions, compacts conversations, and drifts from earlier intent. Git records what changed. Persist OS records why, in a form humans and agents can re-read and validate before and after work.

What are we building?   Why did we decide this?
What must not drift?    What evidence proves this work is complete?

When these questions live in the repository instead of a chat window, the repository can answer them.

Not a vector memory engine. Tools like supermemory or mem0 retrieve information with embeddings; Persist OS writes the decisions themselves — reviewable files, not vectors — and checks they stay consistent. They're complementary, not competitors. → Why I built this

Why Persist OS

  • Memory that outlives the conversation. Decisions, constraints, and ownership are committed to the repo, not trapped in an agent's context window.
  • A gate, not just docs. persist doctor is deterministic and returns an exit code, so "is this work actually finished and consistent?" becomes a check you can run in a hook or CI.
  • Decisions change safely. When a decision changes, persist adr supersede records it (the old ADR is marked superseded, the new one links back) and Doctor flags any memory still citing the old one — so the trail stays auditable instead of silently contradicted. The generated agent rules even carry the CLI commands inline, so your AI tool uses them itself.
  • Fights context rot. Doctor warns when the always-loaded memory bloats into a wall of text, or when it still points at src/ code that changed long after the memory did — so memory stays a lean, current map, not a stale dump.
  • Reuse over reinvent. Generated CONVENTIONS.md (your canonical, reusable vocabulary) and LESSONS.md (durable pitfalls) load into every agent session, and the agent is told to keep them current itself — so it reuses your components and patterns instead of reinventing them, and stops repeating mistakes you already solved. It works even on vibe-coded projects, because the agent maintains the memory, not you.
  • Architecture-neutral by design. Persist OS records and protects your decisions. It never silently picks a framework, database, or pattern for you.
  • Local-first and private. No network calls, no telemetry, no AI API calls, no remote templates. It runs entirely on your machine.
  • Safe by default. Non-destructive writes, path-traversal and symlink protection, and a refusal to overwrite an existing installation without explicit intent.

Install

Run it without installing — the quickest way to try it:

npx persist-os@latest init

Every command works the same way: npx persist-os <command> (e.g. npx persist-os doctor).

Or install the CLI globally:

npm install -g persist-os
persist --help

(Requires Node.js >= 20. Published at npmjs.com/package/persist-os.)

Quickstart

# 1. Create repository memory (architecture-neutral, or pick an opinion pack)
persist init
persist init --preset kotlin-android   # optional, proposes stack decisions

# 2. Capture intent and decisions as you work
persist feature create checkout
persist adr create payment-provider
persist adr accept payment-provider    # promote a proposal to accepted memory

# 3. Bring an MCP server's context into durable memory (offline)
persist mcp add figma

# 4. Validate the memory is healthy and complete
persist doctor

Every command guides you — it names the file it created, where it is, and what to do next.

Generate files only for the AI tools you use: persist init --ai-tools claude,cursor (default: all of claude, codex, cursor; AGENTS.md is always written).

persist init also generates tracked pre-commit and pre-push hooks in .persist/hooks/ that run persist doctor plus any gates you configure. The pre-push hook is the final regression gate before code leaves your machine (it catches commits made with --no-verify or before the hook was active). Enable them once per clone — Persist OS proposes the command but never runs it for you:

git config core.hooksPath .persist/hooks

Commands

Command Purpose
persist init Create neutral repository memory (and a pre-commit hook).
persist init --preset <id> Add an opinion pack: rich guidance and proposed ADRs.
persist init --ai-tools <list> Generate files only for the AI tools you use (claude, codex, cursor, generic).
persist adopt Inspect an existing repo and propose reviewable memory.
persist preset list List built-in presets.
persist feature create <name> Scaffold feature memory (PRD, acceptance, tests, review).
persist adr create <title> Create a proposed architecture decision record.
persist adr accept <name> Promote a proposed ADR to accepted source-of-truth.
persist adr supersede <old> <new> Record a changed decision: mark the old ADR superseded by a new accepted ADR.
persist module create <name> Scaffold module memory (ownership, boundaries, tests).
persist skill create <name> Generate a portable AI agent skill (Claude + Agent Skills).
persist skill list List the built-in agent skill catalog.
persist mcp add <server> Generate offline, proposed memory for an MCP server.
persist doctor Validate memory health, evidence, and drift.
persist guard --source <dirs> Fail when staged source changed without tests (add to your gates to enforce).

What Doctor Checks

persist doctor is the part that makes Persist OS more than a template. Every check is deterministic, local, and read-only.

Category Detects Severity
Structure Missing config, required docs, or feature / module / ADR sections error
Completion evidence A feature marked complete with review pending or no test / result evidence error
ADR quality An accepted ADR with no meaningful consequences error / warn
Security A security-sensitive feature with no documented security impact error / warn
Drift Memory that references a missing, or not-yet-accepted, ADR error / warn
Superseded Memory still citing a decision that has been superseded by a newer ADR warning
Staleness Memory citing src/ code that changed long after the memory did (git-based; off-git skips) warning
Context budget The always-loaded agent files (CLAUDE.md + AGENTS.md + Cursor rule) grown past a budget warning
Content A feature PRD, module, or (once work exists) the threat / security model left as a stub warning
Conventions The canonical-vocabulary doc left as a stub once the repository has real work warning
Exit codes:  0 = healthy   1 = warnings only   2 = errors

Because it returns an exit code, Doctor drops straight into the completion loop:

pnpm test:run && pnpm typecheck && persist doctor

Use it locally via the generated pre-commit hook, or add persist doctor as a step in CI.

Presets

Presets are opinion packs. They ship proposed guidance and proposed ADRs for a stack's real decision forks — and they can never silently accept a choice for you (the schema enforces Proposed status on every preset decision).

Preset Stack Proposes (always as proposed ADRs)
laravel-react Laravel + React Laravel, Inertia + React, Eloquent, Sanctum, Form Requests + Policies, queues, Pest
laravel-vue Laravel + Vue Laravel, Inertia + Vue, Eloquent, Sanctum, Form Requests + Policies, queues, Pest
laravel-api Laravel (API) Laravel, versioned REST + API Resources, Eloquent, Sanctum, queues, Pest
kotlin-android Kotlin / Android Compose, Coroutines + Flow, Hilt, Room, MVVM
python-fastapi Python / FastAPI FastAPI, PostgreSQL + SQLAlchemy, Pydantic, pytest, Redis
ios-swift iOS / Swift SwiftUI, async/await + Observation, SwiftData, MVVM
nextjs Next.js / TS App Router, typed data layer, Tailwind, Vitest + Playwright
flutter Flutter Platform and state-management guidance
generic none Architecture-neutral memory

Adding a preset is a small contribution — see CONTRIBUTING.md.

How It Works

How Persist OS works: you capture intent, decisions, ownership, standards, and security with persist init / feature / adr / module; it writes durable, reviewable memory under docs/ and .persist/config.json that humans review in pull requests and agents re-read every session; persist doctor validates it deterministically, returning exit code 0, 1, or 2 for a pre-commit hook or CI gate.

How agents load the memory

Writing memory only helps if the agent reads it, so persist init wires each tool with its own native mechanism:

Tool How memory loads
Claude Code CLAUDE.md (auto) imports AGENTS.md; a SessionStart hook injects a live map of accepted ADRs and modules every session.
Cursor .cursor/rules/persist-memory.mdc is an always-apply rule that loads the memory rules into every request.
Codex AGENTS.md is auto-discovered and loaded.

The portable guarantee across every tool is AGENTS.md plus the generated Agent Skills (.agents/skills/). The dynamic per-session ADR/module map is a Claude Code bonus; the Cursor rule and AGENTS.md carry the same rules everywhere else.

AGENTS.md leads with a short, imperative Rules block (read memory first, reuse the conventions, record lessons, don't contradict accepted ADRs, run persist doctor before "done") — and instructs the agent to keep CONVENTIONS.md and LESSONS.md current itself, so that memory stays useful without anyone hand-writing it. The human just reviews the agent's edits in the pull request.

Repository Memory

Persist OS creates a memory structure under docs/ and .persist/config.json, with an explicit source-of-truth order:

1. Accepted ADRs and repository decisions     6. Module docs
2. Architecture docs                          7. Feature plans
3. Engineering standards                      8. Task files
4. Current PRD and accepted changes           9. External context
5. Security and testing docs                 10. Chat history

If external context or chat history conflicts with repository memory, repository memory wins.

Local-First Guarantees

Persist OS does not:

  • make network calls at runtime;
  • collect telemetry;
  • connect to MCP servers or call AI APIs;
  • generate production application code;
  • install dependencies into your repository;
  • overwrite existing files by default.

Examples

Committed sample outputs show the exact memory each preset generates:

examples/generated-generic/         examples/generated-kotlin-android/
examples/generated-nextjs/          examples/generated-python-fastapi/
examples/generated-ios-swift/       examples/generated-flutter/
examples/generated-laravel-react/   examples/generated-laravel-vue/
examples/generated-laravel-api/

Development

pnpm install
pnpm lint
pnpm format:check
pnpm test:run
pnpm typecheck
pnpm build
pnpm pack:check

Run the gates above and persist doctor before claiming work is complete. See CONTRIBUTING.md for the full workflow and how to add a preset, and SECURITY.md for the security model.

Acknowledgments

The landing page is deployed with Pagecast — thank you.

License

MIT — see LICENSE.