Repository navigation
Conversation
…hrough its door The agents registry.json path is a fence directory once the graph table imports it. declared_row_names read the path as a file and fell back to an empty set, so the lint reported a clean result it never measured. It now reads through registry_text and reports unmeasured with the reason when the read fails. The wall probe accepts the fence only beside the cloned graph.db. The state-root inventory names the fence.
The door returns the registry document object, with the rows under agents. Requiring a bare array made every fence read fail, so the lint reported unmeasured on every run. Accept both shapes.
The lint's registry read added a Result<_, String> to fno-agent, which the value-reads ratchet caps at zero growth. Return io::Result and keep the named reason in the error text.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.fno/agents/registry.jsonbecomes a fence directory. The registry lint read that path as a file, fell back to an empty set, and reported a clean result it never measured. It now reads throughregistry_textand reportsunmeasuredwith the reason when the read fails.agents. The lint now accepts that shape. My first version required a bare array and would have reportedunmeasuredon every run; the second commit fixes it.graph.dbthat holds the rows. A bare directory is refused by name.The node's premise was that the directory was a stray to remove. Measurement showed it is the designed post-import fence, so the work went to the readers and the inventory instead.
Changes
crates/fno-agent/src/backlog/lint_registry.rs:declared_row_namesreads through the registry door and returns aResult;live_field_coveragereportsunmeasuredon a failed read.scripts/diagnostics/lead-checkin-wall-probe.sh: the required-input check accepts the fence only withgraph.dbcloned beside it.docs/state-root-inventory.md: a row foragents/registry.json(the fence).Test Plan
rustfmt --checkonlint_registry.rspasses,check-file-budget.shpasses, andfno doctor lint stylepasses on the changed markdown.fno agentlint on a machine with the fenced registry and confirm it reports measured findings, notunmeasured.Audited owners: crates/fno-agent/src/backlog/lint_registry_tests.rs (no cut: its one test covers
declared_entry_fieldssource parsing, a distinct contract this change does not touch)Fixes x-4941 (x-182f)