---
title: "Hiroyuki Nakahata (@iroha1203) | Hashnode"
description: "Algebraic Architecture Theory. Read the latest articles by Hiroyuki Nakahata on Hashnode."
url: "https://hashnode.com/@iroha1203"
---

@iroha1203

# Hiroyuki Nakahata

@iroha1203 · Tokyo, Japan · Joined May 2026

Algebraic Architecture Theory

[Website](https://iroha1203.dev/)

## Comments

[Thanks for the comment! This has been a core concern since the beginning of ArchSig’s development: we explicitly distinguish an observed zero from something that has not been observed. If an agent cannot determine a value, it should mark it as unobserved, and the tool’s output preserves that distinction too.](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4/comment/6ae077ca375e3174907aa712#reply-6ae091465ccc88ba74262c32)

Reply · Article · Oct 27 · [Code Review Starts with What Must Stay True](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4)

[Thanks for the comment! I agree. With AI writing code so quickly, I think it’s especially important to spell out the properties we want to preserve and check that they still hold.](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4/comment/6adf01c5da89bc08440b9beb#reply-6adf522e2498241548ffadba)

Reply · Article · Oct 26 · [Code Review Starts with What Must Stay True](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4)

[Thanks for the comment! That’s exactly the issue. I’m currently developing a SKILL to help agents produce more accurate ArchMaps from code. The idea is to improve accuracy by having multiple agents observe the code using that SKILL. Problems that those observations cannot capture, such as runtime race conditions, are outside the scope of what AAT can establish from the resulting ArchMap.](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4/comment/6adf3fbef218f0c2c97015d7#reply-6adf51c82498241548ffab31)

Reply · Article · Oct 26 · [Code Review Starts with What Must Stay True](https://hashnode.com/posts/code-review-starts-with-what-must-stay-true/6ade12731c09b9fd0c9f51b4)

[Thanks for your comment! I’m glad you read the article. I chose to focus on refactoring AI-generated code, which I expect to become an increasingly important challenge in the age of AI. I’ll keep working on tools to bring Ariadne into everyday software development!](https://hashnode.com/posts/ariadne-the-mathematics-of-refactoring-in-the-age-of-ai/6ac1fc211b926d0ee0b9eb6f/comment/6ac2cf1038aa7c69feb139d6#reply-6ac3a229aca61af14999dca9)

Reply · Article · Oct 5 · [Ariadne: The Mathematics of Refactoring in the Age of AI](https://hashnode.com/posts/ariadne-the-mathematics-of-refactoring-in-the-age-of-ai/6ac1fc211b926d0ee0b9eb6f)

[Thanks for the comment! Documentation is really important, but I think it also needs a clear management policy. In my project, I organize documents into four tiers. Tier 1 contains the canonical documents that affect the entire project. Tier 2 defines development rules and guidelines. Tier 3 contains task-level design documents and PRDs, while Tier 4 is for notes and informal working material. By separating documents into tiers, it becomes easier to define which source takes priority when documents conflict, and to keep the direction of dependencies between documents clear.](https://hashnode.com/posts/ai-reads-your-codebase-then-it-forgets-everything/6a9ed058168eda7560b3648f/comment/6aa0d2a56ff33a73521484c8#reply-6aa164dbce52a8e993fe9d86)

Reply · Article · Sep 9 · [AI Reads Your Codebase. Then It Forgets Everything.](https://hashnode.com/posts/ai-reads-your-codebase-then-it-forgets-everything/6a9ed058168eda7560b3648f)

[Thanks for the comment! That’s a really interesting point. For a general semantic layer, I agree that you’d need some form of cache invalidation or versioning to make sure stale references don’t remain in use. AAT is aiming to model the geometry of meaning in a codebase, so the idea is for ArchMap to be updated synchronously whenever the code changes. In other words, the operational assumption is that an AI agent should not end up reasoning from an outdated semantic model in the first place.](https://hashnode.com/posts/ai-reads-your-codebase-then-it-forgets-everything/6a9ed058168eda7560b3648f/comment/6a9ffd870afc99876113b923#reply-6aa00060bd8e491067fe8866)

Reply · Article · Sep 8 · [AI Reads Your Codebase. Then It Forgets Everything.](https://hashnode.com/posts/ai-reads-your-codebase-then-it-forgets-everything/6a9ed058168eda7560b3648f)

[Great question — yes, false negatives happen, and the design accepts them deliberately. The auditor's verdicts distinguish unverified (evidence not found where it looked) from unmet, so the case you describe surfaces as the auditor's limitation and costs one round trip to resolve: point at the evidence, re-check. That asymmetry is intentional — a false "not done" costs a round trip; a false "done" corrupts the gate itself. The direction we actually had to iterate on was the opposite: the auditor trusting records produced by the loop it audits (ledgers, checklists). The fix was an evidence hierarchy — "satisfied" may only be grounded in primary evidence (reading the actual code/statements, running the checks), and one mismatch between a record and reality disqualifies that whole document as evidence. Your instinct is right: the auditor went through the same iteration as the loop — several discipline waves, plus an adversarial review that found fail-closed gaps in the auditor itself. The current rules are here if you want the details: prd-loop (https://github.com/iroha1203/AlgebraicArchitectureTheoryV2/blob/main/.codex/skills/prd-loop/SKILL.md)](https://hashnode.com/posts/taming-a-40-minute-lean-ci/6a6ee888e529a1ccab27ea6d/comment/6a6f3e0fb2d5a2c83203e98d#reply-6a6f520bfcf4e9a75d245575)

Reply · Article · Aug 2 · [Taming a 40-Minute Lean CI: Three Rounds, Three Wrong Suspects](https://hashnode.com/posts/taming-a-40-minute-lean-ci/6a6ee888e529a1ccab27ea6d)
