Skip to content

tasks: a task that only reads its ground says so at the start, to its worker and at landing - #2909

Closed
ZeroPoint95 wants to merge 10 commits into
zeropoint95/crew-quiet-afifrom
zeropoint95/crew-task-landing
Closed

ZeroPoint95 wants to merge 10 commits into
zeropoint95/crew-quiet-afifrom
zeropoint95/crew-task-landing

Conversation

@ZeroPoint95

@ZeroPoint95 ZeroPoint95 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Measured on 2026-11-23 in the desktop app. A crew manager's member had not started, so the manager proposed a task instead, with ground set to the person's repository and a brief that named no file by path.

  • The engine reads a contract that names no file as work that only reads its ground (TaskModeReference): the task got an empty folder of its own and the repository was left alone.
  • Nothing said so. The receipt read "It works in , the folder this proposal gave as its ground." The worker was told nothing about the repository; a reference worker was told its ground is read-only only over the home folder. The landing had no line at all, because a reference has no branch.
  • The worker built the whole project in its own folder and reported it "Integrated". The manager told the person to run it from the repository, where nothing had changed.

What changes

  • Receipt. A reference task's receipt now reads "It reads and writes only in a folder of its own, so nothing in changes: this proposal named no file there by full path. If the work is meant to change , stop this task and propose it again naming the files it makes or changes by their full path under ." The home folder keeps its own sentence.
  • Worker. Every reference worker, on a node and on a run, is told its ground is to read and not to change, where its output goes, and never to say the work is in the ground. This was said only over the home folder.
  • Landing. A run that only read its ground lands with "it changed nothing in : what it made is in ", in the note the conversation is woken with and on the run's page, which used to say "its work is in ".
  • Manager's laws. Law 1 adds: a task (propose_task) is not a member; use one only for work no member is there for, or when the person asks for a task, and never to get round a member that did not start.

Not changed

  • The reading itself: a contract that names no file is still a reference. Reversing it would let work that was only a question write to, and merge into, the person's repository, which is what the reading guards against. This change makes the reading visible at the three places it was silent.
  • A node task (not a run) that is a reference still lands with no line about its folder.
  • A task landing after the person stopped the conversation still starts its turn.

Depends on

Stacked on #2906 (phase 3), which is stacked on #2897. This PR is against that branch and is to be retargeted to dev as those merge.

Checks

  • New: internal/session/task_reference_test.go. TestWorkerOnHomeIsToldWhereOutputGoesAndToReportIt pinned that a reference on a project was told nothing; it now expects the note.
  • go vet ./internal/session/, the receipt, stand, brief, run landing, ownership, home and team tests of internal/session, make fmt-check test-laws manual-gates: pass.
  • Four tests about git filter programs fail here (TestAUsedFilterRefusesALandWithItsPaths, TestAnUnusedFilterDoesNotRefuseALand, TestConfigurationALandWillNotMergeUnder, TestFilterFactsChangingAfterAPlanRefuseTheLand). They fail the same way on the teams: the global manager is not woken by a top-level manager's turn ending #2906 branch when run alone, so they are not from this change.
  • Tried by hand in the built desktop app (025de95cc): an agent proposed a task with ground set to a repository and a brief naming no file by path. The receipt said it reads the repository and writes only in a folder of its own; the worker's words carried the read-only note, and its report named the file in its own folder; the landing ended it changed nothing in <repository>: what it made is in <its folder>; the agent then told the person the file was not in the repository. The repository was unchanged.
  • Not tried by hand: the manager's new law steering it away from a task.

Final review

Three impartial review rounds, each by a fresh reviewer, with a repair round after each. No round found a blocker.

  • Round 1: a reference that joined a writing run was told it only reads; the receipt's remedy did not work for relative paths (it now asks for full paths); the in-place redirect contradicted the new sentence; a home-folder ground still got "It works in"; the landing called the engine's git landing on a folder that is not a repository.
  • Round 2: a writing task that joins a reference run has its own sentence; the read-only note is given to the workers and kept out of the brief a rerun re-reads (the ground's path inside it had made a rerun a writing task); the manual no longer promises a receipt to a typed /task.
  • Round 3: a reference run recovered after a crash before its landing is accepted with the same line and no git landing; the manual says when a task that names no file reads its repository and when it gets a branch; tests cover a held run, a failed and a stopped run, a recovered run and a proposal's receipt.

Known limits: a task that joins a reference run still opens "in a copy of its own"; a recovered reference run whose plan had already failed gets no line.

🤖 Generated with Claude Code

ZeroPoint95 and others added 10 commits November 24, 2026 22:08
…ts worker, and when it lands

A proposal gave a repository as its ground and named no file by path, so
the task was a reference: an empty folder of its own, the repository
left alone. The receipt said "It works in <ground>", the worker was
told nothing, built the project in its own folder and reported it
integrated, and the landing had no line. The conversation told the
person to run it from the repository. All three now say the ground does
not change and where the work is. A manager is also told a task is not a
way round a member that did not start.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A reference that joined a writing run was told it only reads; a joined
task is now told what is true of the run it joined. The receipt's remedy
asked for file names that do not work unless given by full path. A
reference no longer prints the in-place redirect, and a home-folder
ground given as the proposal's ground gets the home sentence. A
reference run now lands without calling the engine's landing, which
failed on a folder that is not a repository and filed a failure note.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A writing task that joined a run which only reads its ground was told it
had named no file and to propose again; it now has its own sentence. The
read-only note was kept in the brief a rerun re-reads, and the ground's
path inside it made the rerun a writing task; the note now goes only to
the workers. The manual no longer promises a receipt to a typed /task,
and the landing line appears once on the run's page.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A reference run recovered after a crash before its landing no longer
takes the git landing, which failed on a folder that is not a
repository; it is accepted with the same line. The manual says when a
task that names no file reads its repository and when it gets a branch.
Tests cover a held run, a failed and a stopped run, a recovered run and
a proposal's receipt through the real proposal road.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The reference branch added to acceptCompletedRun put it one decision
over the task engine's ceiling of 15. The copy is read and the reference
case decided in a small wrapper; the git landing is its own function.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@ZeroPoint95

Copy link
Copy Markdown
Collaborator Author

Folded into #2897 so the engine side of this work is one pull request. The commits are unchanged and are now on that branch; this branch is left in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant