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

推荐订阅源

S
Securelist
C
Cybersecurity and Infrastructure Security Agency CISA
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
Hacker News: Ask HN
Hacker News: Ask HN
L
Lohrmann on Cybersecurity
PCI Perspectives
PCI Perspectives
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MyScale Blog
MyScale Blog
月光博客
月光博客
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
The GitHub Blog
The GitHub Blog
Webroot Blog
Webroot Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
TaoSecurity Blog
TaoSecurity Blog
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
F
Full Disclosure
U
Unit 42
Jina AI
Jina AI
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
The Hacker News
The Hacker News
The Last Watchdog
The Last Watchdog
T
Troy Hunt's Blog
腾讯CDC
T
Threatpost
H
Hacker News: Front Page
P
Palo Alto Networks Blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
Help Net Security
Help Net Security
L
LINUX DO - 热门话题
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Spread Privacy
Spread Privacy

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
If You Disable Codex’s SQLite Logs, What Keeps Your Project Memory Alive?
Jason Shen · 2026-06-23 · via DEV Community

Developers have recently been discussing Codex continuously writing large amounts of diagnostic data into:

~/.codex/logs_2.sqlite

The visible database may remain relatively small while its SQLite WAL file keeps receiving frequent writes in the background.

Some users have reported:

  • excessive SSD writes;
  • rapidly growing WAL files;
  • slower responses;
  • lock contention;
  • startup or session reliability problems.

One unofficial workaround is to add a SQLite trigger that ignores new inserts into the logging table.

That may reduce the disk-writing problem.

But it also exposes a deeper architectural question:

If you disable an agent’s internal logs, what preserves the memory required to continue the project?

Diagnostic logs and project memory are not the same thing

An agent’s internal logs are primarily designed for the agent application itself.

They may contain:

  • network events;
  • trace output;
  • runtime state transitions;
  • low-level debugging information;
  • internal operational details.

Those logs can be useful for diagnosing Codex.

But they are not necessarily what the next coding agent needs when it resumes your project tomorrow.

The next agent usually needs something much smaller and more meaningful:

  • Which file is the current ground truth?
  • What decision was made?
  • Why was that decision made?
  • Which approaches have already failed?
  • What evidence has been verified?
  • What remains unfinished?
  • What should happen next?

That is project continuity.

It is not diagnostic telemetry.

What happens when you block the logs?

The trigger workaround attempts to stop new rows from being inserted into Codex’s local logging database.

The intended operational effect is straightforward:

  • reduce repeated SQLite writes;
  • slow or stop WAL growth;
  • reduce SSD pressure;
  • potentially improve responsiveness.

But it is still an unofficial workaround that modifies Codex’s internal database behavior.

It may reduce diagnostic visibility.

It may behave differently after a future Codex schema migration.

It may interfere with debugging.

It should not be presented as a guaranteed or permanent fix.

More importantly, it should not be treated as a project-memory strategy.

Even if Codex logging worked perfectly, an internal diagnostic database would still be the wrong place to depend on for durable project continuity.

Its schema belongs to Codex.

Its retention policy belongs to Codex.

Its format can change with Codex.

Its purpose is to help Codex operate and diagnose itself—not to preserve the smallest verified context required by the next agent.

The real performance gap is continuity performance

When developers hear “agent performance,” they usually think about:

  • model quality;
  • response speed;
  • token usage;
  • tool execution;
  • latency.

There is another kind of performance that matters just as much:

How quickly can a new session recover the correct context and continue working?

I call this continuity performance.

A fast model that spends twenty minutes rediscovering decisions, reopening the wrong files, repeating failed experiments, or misunderstanding the project’s current state is not performing well at the project level.

This becomes especially visible when:

  • the original session is gone;
  • context has been compacted;
  • the transcript is too large;
  • the agent changes;
  • local logs are cleared;
  • an internal database is disabled;
  • a tool changes its storage format.

The problem is not that every trace event disappeared.

The problem is that the next agent no longer knows what matters.

Where QiJu fits

QiJu is now publicly available on PyPI:

uv tool install qiju

It is a local-first, lossless record layer for AI coding agents.

It works with:

  • Claude Code;
  • Codex;
  • Kiro;
  • Cursor.

QiJu does not try to preserve every conversation line or every tool event.

It intentionally records the smaller set of facts that allow work to continue:

  • the ground-truth file or artifact;
  • the decision that was made;
  • the evidence supporting it;
  • the result that was verified;
  • the unresolved risk;
  • the next action.

A later Codex session—or Claude Code, Kiro, or Cursor—can search those records and continue from the correct state.

The goal is not to reconstruct the entire old session.

The goal is to help the next agent continue correctly.

QiJu is not “memory”

This distinction is important.

QiJu does not make a model remember more.

It creates an explicit record layer.

Ordinary agent memory tries to answer:

What does the model remember?

QiJu tries to answer:

  • Why do we know this?
  • Where is the proof?
  • Who produced the result?
  • Was it verified?
  • What should happen next?
  • Which agent should continue?

That makes the work auditable and handoffable instead of trapped inside one tool’s internal recall.

A useful way to think about it is:

Codex logs tell Codex what happened internally.
QiJu tells the next agent what matters for continuing the work.

A practical example

Imagine a Codex session has just completed a packaging migration.

During the work, the agent discovered that:

  • the public package must move to src/qiju/;
  • pyproject.toml must remain the version authority;
  • runtime JSON must be loaded through package resources;
  • uninstalling the CLI must preserve user records;
  • all supported coding-agent hosts must pass installed-wheel testing.

A complete transcript may contain tens of thousands of words around those conclusions.

The durable project record can be much smaller:

Ground truth:
design/pypi-packaging-execution-plan.md
Decision:
Use one canonical src/qiju package for source and PyPI installs.
Verified:
Wheel and sdist passed artifact inspection and installed-wheel smoke tests.
Rejected:
Renaming scripts to qiju only during the staging build.
Next:
Publish to TestPyPI and repeat the clean-install lifecycle test.

That is enough for the next agent to find the right file, understand the decision, and continue from the correct point.

It does not need every trace message.

It needs the right record.

The new update problem

Once QiJu is installed through PyPI, users can upgrade the CLI with:

uv tool upgrade qiju

But that creates another subtle problem.

The CLI may be updated while the copied SKILL.md files inside existing projects remain stale.

Those skills tell Claude Code, Codex, Kiro, and Cursor how to call QiJu.

So upgrading only the executable is not enough.

QiJu 0.5.3 adds:

qiju update

This refreshes the installed QiJu skills across registered projects.

Typical usage:

uv tool upgrade qiju
qiju update

You can also preview changes:

qiju update --dry-run

Refresh only one host:

qiju update --host codex

Or scan and backfill older projects that were created before the registry existed:

qiju update --scan-projects

This matters because continuity depends not only on preserving records, but also on keeping the agent integration itself current.

How project registration works

When you initialize QiJu in a project:

cd /path/to/project
qiju init --host codex

QiJu registers the project location.

Each project’s own:

.qiju/config.json

remains the source of truth for which hosts are enabled.

The registry tells QiJu where projects are.

The project config tells QiJu how each project is wired.

That separation allows qiju update to refresh projects without relying only on heuristic filesystem scans.

It also means projects outside standard search roots can still be updated, as long as they were registered during initialization.

For older installs, one migration command is enough:

qiju update --scan-projects

After that, ordinary updates can remain fast and deterministic.

What QiJu does not do

QiJu does not:

  • fix Codex’s SQLite logging behavior;
  • stop SSD writes by itself;
  • replace Codex diagnostics;
  • guarantee that the unofficial database trigger is safe;
  • preserve the Codex conversation interface;
  • reproduce every internal event from the previous session;
  • silently ingest all transcripts or prompts;
  • use embeddings or vector memory.

Capture is intentional.

You—or the agent under your instruction—decide what is worth recording.

That boundary is important.

QiJu is not another background logger.

It is the opposite: a deliberate, inspectable record of what matters.

A real workflow

Install QiJu:

uv tool install qiju

Connect it to a project:

cd /path/to/project
qiju init --host codex

During the session, ask the agent to record what matters:

$qiju-log

Later, in another session or another agent:

$qiju-search the last packaging decision

After upgrading QiJu:

uv tool upgrade qiju
qiju update

That keeps both the CLI and the installed agent skills current.

Why this matters after disabling logs

Suppose you apply the SQLite trigger workaround and Codex stops writing most of its local diagnostic events.

Operationally, that may reduce disk pressure.

But now the separation becomes clear:

Codex diagnostics
→ reduced or unavailable
QiJu project records
→ still available
Ground-truth files
→ still referenced
Decisions
→ still searchable
Next steps
→ still recoverable

The next agent may not know every internal event from the previous Codex run.

It does not need to.

It needs to know:

  • what was decided;
  • why;
  • where the evidence is;
  • what was verified;
  • what to do next.

That is how QiJu helps maintain continuity performance even when Codex’s internal logging is limited or cleared.

The broader design lesson

The Codex logging issue is a reminder that developers often mix several different kinds of memory:

  1. Diagnostics — what happened inside the application.
  2. Conversation history — what the user and agent said.
  3. Repository state — what currently exists in the codebase.
  4. Decision history — why the project reached its current state.
  5. Continuation context — what the next agent needs to do next.

No single SQLite log, transcript, or Git repository fully represents all five.

Git can show what changed, but not always why.

A transcript may show why, but it can be too large and tied to one tool.

Diagnostic logs show runtime behavior, but mostly contain noise from the project’s perspective.

A durable agent workflow needs an explicit project record layer.

Current limits

QiJu is still in developer preview.

At the time of writing:

  • it supports macOS and Linux;
  • Windows is not yet supported or tested;
  • capture is intentional rather than automatic;
  • retrieval is deterministic keyword, tag, and regex search;
  • there are no embeddings or semantic ranking;
  • the CLI and host wiring may still evolve.

Those limits are deliberate.

The current priority is reliability, inspectability, and ownership.

My conclusion

Blocking noisy Codex logs may be a reasonable temporary response to excessive disk writes, provided users understand that it is unofficial and may affect diagnostics.

But the deeper conclusion is more important:

Your project memory should not disappear when an agent’s internal logs are disabled, cleared, corrupted, or redesigned.

Codex logs tell Codex what happened internally.

QiJu records the ground truth, decisions, evidence, and next steps that another agent needs to continue.

That separation lets you reduce dependence on internal diagnostic logs without sacrificing project continuity.

QiJu is available now:

uv tool install qiju

Project page:

https://pypi.org/project/qiju/

Source:

https://github.com/jasonshrepo/qiju

Star if you like QiJu(起居).

The question I am most interested in is:

If you stopped trusting your coding agent’s internal history tomorrow, what would you preserve so another agent could continue correctly?