TL;DR
Threlmark’s core idea is that the filesystem, specifically plain JSON files, is the authoritative source of project data. This approach makes the system highly portable, inspectable, and resilient—no database or server needed, just simple file operations. It’s a bold take on local-first design that prioritizes control, simplicity, and interoperability.
Disk is the contract: inside a local-first roadmap hub
A Next.js app on top of plain JSON files — no database, no cloud, no accounts. The key decision: the on-disk layout IS the API. Everything else cascades from taking that seriously.
There is no server-of-record — the files are the record
The UI and any external tool reach the same files through the same discipline. The data root defaults to ~/.threlmark — home-based, because it’s a shared hub every one of your apps points at.
Inspectable
Every artifact is a file you can cat, diff, grep, commit.
Portable · no lock-in
Back up with cp, sync with Dropbox / git, migrate trivially.
Interoperable
Any tool in any language joins by reading / writing files.
Restartable
No in-memory state to lose — stateless over the files.

Python in Action: 60 Mini Projects to Automate Everything (Part 1): Practical CLI Tools, File Automation, and Data Cleaning with CSV, Excel, and JSON
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Two disciplined patterns instead of a database
“Just use files” is easy to get wrong. These two patterns — ported from a battle-tested sibling app — are what make file-based state sound rather than reckless.
Atomic writes
Write to a temp file in the same dir, then rename() over the target. Rename is atomic on one filesystem — a crash mid-write leaves the complete old file or the complete new one, never a half.
The board heals itself
A single roadmap.json array races when two tools write at once. One file per card makes writes collision-free. Lane order lives in board.json and reconciles on read.
board.json. It writes an item file — the board fixes itself on Threlmark’s next read. Unknown keys are preserved, so the contract is forward-compatible.
Real-World Android App Projects with Kotlin and Jetpack Compose: Build Production-Style Android Apps with Modern Architecture, API Integration, State Management, Local Data Storage, Practical Projects
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
The numbers can’t drift from the files
Anything computable from item state is computed — so the displayed numbers can never disagree with the underlying JSON. Priority is the clearest example: it’s calculated on read, never persisted.
priority — computed on read
Impact weighted heaviest; effort the only axis that subtracts. Reused verbatim from the original tool, so imported cards rank identically.

Ultimate Office AdjustaView 10-Pocket Desk Reference Organizer with Supplies Storage Base and EZ-Load Pockets to Hold 20 Sheets of Paper, Includes Fast Find Indexing Tabs (Colored Pockets)
FIND INFORMATION FAST – Provides EASY access to information you need every day – 10 pockets display up…
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
A handoff is a first-class flow event
The genuinely 2026-shaped part: most building is done by AI agents, so Threlmark closes the loop. Watch a card go from ranked to Done without anyone dragging it.
Handoff → report → self-move
The brief carries a reporting protocol. The agent reports through REST or the filesystem — and a done report moves the card itself.
POST /api/projects/:id/
items/:itemId/reportDirect call. Applied immediately.
drop reports/.json
→ ingested on read Robust even if the server’s down at finish time.
offline project collaboration app
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
A small formula, and an honest hosting caveat
Because items are globally addressable (), the Portfolio ranks everything together by a status-weighted score — finishing beats starting, blockers get a boost.
Portfolio ranking — status-weighted
In-flight work floats to the top; bottlenecks cost the most, so blockers get nudged up.
Static read-only demo
Seeded data, writes to localStorage. Try-before-you-clone.
Personal Node instance
Password-gated, persistent backed-up THRELMARK_DATA_DIR.
Multi-tenant SaaS
Add accounts + per-tenant isolation. A separate build.
src/lib/*/store.ts is the natural seam — the same boundary that keeps the local tool simple is the one you’d extend for multi-tenancy. The architecture doesn’t fight that future; it just doesn’t pay for it until you need it.
Key Takeaways
- Using plain JSON files as the system of record makes project data fully portable, inspectable, and easy to back up or migrate.
- Atomic file writes and self-healing reads ensure data safety and consistency without locks or complex synchronization.
- A filesystem-based architecture prioritizes local control, offline access, and privacy, suitable for solo or small-team workflows.
- Tradeoffs include scalability challenges and the absence of advanced database features, which are manageable for smaller projects.
- Threlmark’s design empowers AI agents to interact directly with project data, enabling automation without a server or cloud.
What does ‘disk is the contract’ actually mean in practice?
At its core, ‘disk is the contract’ means all project data lives in files on your local disk. There’s no central server or database holding the record. When you or an external tool access a project, it reads the JSON files directly. This simple, transparent approach makes everything easy to inspect, back up, and move around.
For example, your roadmap cards are stored as individual JSON files in a folder, each representing a single task. Changing a card means editing its file. No API calls, no network, just plain file operations that everyone can understand and verify.

Why does Threlmark prefer JSON files over a database?
JSON files are human-readable, making it easy to see exactly what’s stored. Unlike a database, they require no special tools or schemas. You can open, edit, or migrate them with basic commands or scripts.
For instance, if you want to review your project’s tasks, a quick cat items/abc123.json shows everything. Plus, JSON’s flexibility allows the system to grow without breaking existing tools—unknown fields are preserved, and the files remain compatible.
How does Threlmark handle concurrency and conflicts?
Threlmark uses atomic file writes—write to a temp file, then rename it. This guarantees that updates are either fully written or not at all, avoiding partial corruption.
When multiple tools or agents modify files simultaneously, each change is isolated in its own file. The system self-heals by reconciling the folder’s contents on each read, ensuring consistency without locks or complicated synchronization.
For example, if two agents update different cards at once, each writes its own JSON file atomically. The next read merges everything seamlessly, avoiding race conditions.

What are the real benefits of a local-first, filesystem-based system?
Local-first means your data remains accessible even when offline. No need to sync with a remote server constantly. You have full control and immediate access to your project state.
This approach also enhances privacy—sensitive info stays on your device unless you choose to sync it elsewhere. Plus, it simplifies backup and migration: copy a folder or use standard tools like Dropbox or git.
For instance, a developer working on a plane can continue editing their roadmap without interruption, then sync changes later.
Beyond convenience, this architecture fosters a deeper understanding of your data. Since everything is stored in plain files, you can learn exactly how your data is structured, troubleshoot issues directly, and even customize workflows without vendor lock-in. This transparency means you can see every change and understand its implications, which leads to more secure and predictable project management. However, it also requires users to adopt disciplined data management practices—manual oversight becomes more important to prevent issues like duplicate or inconsistent files. Trusting plain files as the source of truth emphasizes the importance of good organizational habits, but it offers the benefit of complete control and insight into your data lifecycle, which is crucial in sensitive or autonomous environments.
What are the tradeoffs of a filesystem-only approach?
Relying solely on files means you lose some features built into traditional databases—like built-in conflict resolution, complex querying, or real-time collaboration. Handling large datasets can become cumbersome, as searching through thousands of files can slow down operations and make management more manual.
For example, if your project grows to thousands of cards, searching and managing files might slow down compared to a dedicated database optimized for large-scale data operations. Additionally, without a database’s schema enforcement, it’s easier for data inconsistencies or corruptions to slip in, especially if manual edits are not carefully managed.
However, for many workflows, especially solo or small-team projects, this tradeoff is acceptable given the benefits of control and simplicity. It encourages disciplined data management, where users are responsible for ensuring consistency and organization. While it may require more manual effort or custom tooling for scaling, the tradeoff favors agility and transparency over complexity, which aligns well with many small-scale or autonomous workflows. Recognizing these limitations helps users design their workflows proactively, using scripts or checks to maintain data integrity and performance as their datasets expand, and understanding that the simplicity of the filesystem approach is a deliberate tradeoff for flexibility and control.

How does Threlmark keep data safe and consistent?
Atomic file writes are the backbone of safety—preventing corruption during crashes or interruptions. The system also uses read-merge patterns, which preserve unknown fields and allow forward compatibility.
For example, if a new version adds a field, older tools still read the JSON without breaking. When saving, updates bump timestamps and preserve existing metadata, ensuring data integrity over time. This approach minimizes risk, but it also requires careful implementation—any lapse in atomicity could lead to data corruption, especially during unexpected shutdowns. Therefore, using reliable filesystem operations and thorough testing is crucial to maintain this safety net. Moreover, the system’s reliance on simple, atomic operations means that implementing proper safeguards—such as verifying file integrity after writes—is essential to prevent subtle corruption or data loss, especially in multi-user or unstable environments. This disciplined approach to data safety emphasizes the importance of robust tooling and best practices, ensuring that the system remains resilient even under adverse conditions.
What kinds of apps are best suited to this architecture?
Apps that benefit from local control, portability, and simplicity shine here. Solo project managers, small teams, or automation tools with agents thrive with Threlmark’s design.
For example, a developer running multiple AI agents on their laptop to manage tasks, code, and documentation can do so efficiently without worrying about server downtime or data lock-in.
It’s especially powerful when your workflow involves frequent offline work or needs seamless integration with existing file-based tools. This approach encourages a modular, flexible, and transparent ecosystem where individual components can evolve independently, making it ideal for innovative, autonomous, or highly customized workflows. The key is that these applications leverage the filesystem as their primary interface, which fosters a more natural, intuitive interaction with data that aligns with human workflows and reduces dependencies on complex infrastructure.

What about scaling and future risks?
As data grows, managing large numbers of files can slow things down. Search and querying become less efficient without a dedicated database engine. This can lead to longer load times and increased manual effort to keep data organized.
Risks include inconsistent states if atomic operations aren’t carefully implemented or if external tools don’t follow the discipline. For example, unsynchronized manual edits or improper scripting can lead to corrupt or incomplete data states, especially in multi-user environments. Additionally, the absence of advanced conflict resolution features means that conflicts must be managed externally or through disciplined workflows, which can be error-prone.
However, with proper organization, disciplined workflows, and tooling—such as scripts that verify file integrity—these issues can be mitigated. For small to medium projects, the simplicity and transparency often outweigh these risks. Planning for scalability involves establishing conventions, automating checks, and possibly integrating lightweight indexing tools to maintain performance as data volume increases. Recognizing these potential challenges ensures you can adapt your workflow proactively, using tools and best practices to sustain data integrity and performance over time.