Skip to content

Intent v3.6.2

Latest

Choose a tag to compare

@matthewsinclair matthewsinclair released this 04 Dec 09:12

Changed

  • The team terms say who wears the Desk and when a relay is hv's word (thread ST540dd95). In intent wb profile terms, the Desk is now a hat over one host or several, which hv names. A project's mediator, a supervisor (sc) or a Desk session, which holds no seat, wears it. The terms say what the Desk holds: control of the slots on each host in its scope, the estate fold and compact cycle, and the route for hv's word to each project's mediator. A relay is hv's words, passed on verbatim by a Desk or a mediator with the time hv said them, and a seat acts on it and does not ask hv again. The Desk's own word covers slots only. A relay approves no permission prompt and changes no settings. The team and solo briefs each say that intent estate status names the session that wears the Desk.

Fixed

  • The pre-commit gate no longer counts a language as enforced when no rule of it is armed (issue I3301c05). Each rule of the lua pack is declared unanswerable, so the critic asks nothing of a lua file. But the gate counted lua as enforced, and a project that declares lua alone read 1 of 1 declared language(s) enforced (lua). The gate now leaves such a language out of the count and names it on the same line, eg intent critic gate: 3 of 4 declared language(s) enforced (shell rust swift), 0 rule(s) disabled by this project; no rule armed, so not checked: lua. The critic's exit codes and intent critic --languages do not change, and the gate blocks nothing for it.
  • A critic rule armed on a tool that the critic does not drive is no longer counted as asked (issue Ib2cecb7). intent critic counted such a rule as asked, although it asked nothing of any file, and the text output called it PARTLY RUN. It is now not-run:out-of-context, as a clippy rule is. It is not in refused, and the exit stays 0. The text line for these rules now says that a per-file run does not drive the tool. In the shipped library, only clippy's rules print that line, and only its words change for them.
  • intent doctor's half-staged check and the sync report judge a file by its bytes (issue If6a6873). Both read git's stat data, so a file that equals HEAD read as edited when that data was stale. After a plain touch, intent sync --to-store named the attachment as edited and not staged. A guard that ran intent doctor on an index from git read-tree got a half-staged finding for a pair with no change. Both now compare the bytes, and a file that is really edited is still reported. In a project that is a subdirectory of its repository, doctor found no half-staged pair and the sync report named no unstaged edit. Both now read each path relative to the project. An unmerged path is reported once.
  • A verb that changes a thread, a work package or an issue writes only the files that its own act changed (issue I6a03b0f). Each such verb rendered every board, the two generated lists and every realised record's views from the snapshot that it opened with. When another process had written since, the verb put an older file over the newer one, so a commit could record the older file. It also warned overwrote bytes that were not the store's render, though nobody had edited the file. The verb now writes the changed records' files and views. It writes intent/st/steel_threads.md and intent/todo.md only when its act changed them, from what the store holds. It renders no board, so a board that git moved under the store stays as it is, and a later board write still leaves it and names it, or refuses to write it. A hand edit in a view that the verb renders still gets the warning. A board write with nothing to remove no longer takes the writer lock, so it no longer warns that its views did not land when they did. In a fresh clone, the two lists and each realised thread's acceptance.md stay missing until a write of their own or intent sync --to-disk, and intent doctor names each one and counts none. In a project in 3.4.0's format that has no .intentfiles, a write no longer puts other threads' files on disk. /in-essentials now says that a re-rendered: line with no brackets names a view that git does not track, which is not yours to commit.
  • A verb replaces only its own part of the search index, and holds the writer lock for less time (issue Ic29ed93). Each verb that changed a thread, a package, an issue or a board replaced the search text of all of them, from the snapshot that it opened with. So after a peer changed a record, intent search could find its older text and not its newer text, or not find a record that the peer filed. The write also held the writer lock while it rebuilt the whole index, so another command could be refused with database is locked. A verb now replaces the search text of the records that it changed, and a board verb replaces that of the boards, from what the store holds. intent upgrade now writes the index itself, so intent search finds the project's threads and issues at once. Before, it found none of them until a later write. An ingest in a project with no thread now indexes what the store holds. A verb's write no longer repairs a damaged index. intent doctor reports the damage, and intentd's scheduled sweep or intent index rebuild repairs it.