@LegGasai and @CreatixChu hold write or admin permission but fell back
to the one-point default, so a single approval from either of them did
not meet the two-point requirement. List both in the approval policy so
their approval satisfies the threshold directly, and update the policy
test and the reviewer roster in the README.
The inbox listener of the forge panel held a turn for every inserted
message. A notice queued for the next step, such as the approval policy
notice that follows a switch to or from full access, opens no turn, so
the hold only created the requested worktree before any message was
sent. The same listener started the removed-worktree check for such
notices.
Hold only for a message in the next-turn queue. A steered message that
wakes an idle Agent keeps the creation at the first step proposal.
Each change request is one 36px line on the panel's row columns in a
filled block: state glyph, title, number, and checks outcome, with the
actions menu on hover and the expansion toggle in the end column. A
press on the line opens the change request's changes in the right
sidebar; the modifier key, the middle button, and a change request no
provider serves or has read open the host's page. The hover card names
the full title, the branches, and the status in words.
The list shows three cards and then the panel's fold control. The card
fill is the platform fill, which stands apart from the panel's surface
in the dark theme, where the card fill is nearly that surface's color.
Check outcomes share one ring, so a failed check is a ringed cross.
The plugin_manager description now says that an applied change is in
effect and needs no restart, so models stop inferring restart needs
from other evidence.
Refs #8614
A stat that rejects left its Session and path marked as outstanding, so the
mention stayed original text until reload. The flag now clears on rejection
and the rejection stays unhandled, so the Remote assembly fault is reported.
The README states why presence does not read the `file` resource through
`useResource`, that a symbolic link counts as present, and that a picked
candidate is confirmed only for the same Session and page load. The module
comment states that outstanding stats are unbounded. `openReference` and
`presenceFor` reuse `mentionPath` and `MentionSessionId`, and the Web scenario
drops a fixture write the scaffold already performs on refresh.
Review suggested keeping the byte-count comparison at the call site
instead of exporting a one-line filter with its own spec case, and
pointed out that the session snapshots already replay the routing body
so the added keyless case duplicated that guard. Both hold: inline the
comparison in the export case with the rationale in its comment, delete
deliveredConversions and its spec case, and drop the skill-office case.
Review found that matching the recorded command text against the reported
temporary path only proved the command mentioned that path, while the
byte count carried the discrimination, and that a copy written with a
variable, a changed directory, or a relative name would fail the check
even though the deliverable was the same file. Match the reported size
only and keep the commands in the failure diagnostic.
Review also found that the Render-the-saved-deliverable message check
cannot fail: no repository text injects that instruction. Drop the new
message-only helper, restore the shared render-context assertion, and
leave the no-render rule to the routing guard in skill-office.spec.ts.
The export case asserted that the model loads no format skill, calls no
office_render, and runs no PDF parser command. Those assertions measure
model-selected extra steps on a sampled lane: run 44008246438 failed three
attempts on three different assertions while office_convert produced the
PDF in each one.
Judge the artifact instead: office_convert is called with format pdf, the
shell copies the temporary file the tool reported, the delivered bytes
match its reported size, the header is %PDF-, and the source is unchanged.
Extra inspection steps stay allowed.
Pin the routing rules the removed assertions proxied (operations need no
format skill; a PDF export is delivered without rendering) in a keyless
test, and cover the provenance helpers with their own negative examples.
* feat(forge): name worktree branches, start them from remote branches, and show changes being read
The New Session worktree option's base menu now searches local branches and
each remote's branches, pins the current branch and every remote's default
branch, and names each remote group by its repository. Its last row opens a
dialog that names the new branch, starting from `worktreePrefix` and checking
Git's branch-name rules; the Host refuses an invalid or taken name. A request
records the full ref of its base and the optional name; every attempt uses the
name.
A remote-tracking base is fetched first: the worktree service gains a
`fetch` request field and a `fetch` phase, fetching only that branch without
tags. A failed fetch leaves the message waiting with Retry, Use the last
fetched version, and Continue without a worktree; a taken name offers Rename.
While the changes view reads changes it has not shown yet, it says
"Reading changes" above file card placeholders, and the files menu names no
count.
* fix(worktree): forward only the declared create_worktree arguments
The create_worktree parameter object is open, and the tool passed it to the
worktree runtime unchanged. Now that a runtime request can ask to fetch, an
undeclared `fetch: true` from the model would have fetched, or refused a local
`from`. The tool now forwards only `name` and `from`, so it never fetches.
* docs(forge): say that only generated worktree branch names come from the Session id
* fix(forge): keep the collapsed change request status on one line
In the Session panel the collapsed card's number line kept every part at
full width inside a clipping row, so a narrow panel cut the most urgent
flag off without an ellipsis, such as "有冲突" after "3 项检查失败".
The number and status now form one MarqueeText line as wide as the row.
While the line with failed checks does not fit, they take the shorter
wording without their count; a line that still does not fit ends in an
ellipsis and crawls into view with the title while the pointer rests on
the card's head. The line measures again when its width or the fonts
change. Expanded cards keep their branch names as before.
* fix(forge): hide remote credentials and read the branch a tag shares its name with
The base menu named an unrecognized remote's group by its fetch URL as
`git remote -v` prints it, so a token in the URL, such as
`https://oauth2:[email protected]/...`, reached the browser and showed
in the menu. The group now shows the URL without its user name and password.
Inspection read the checked-out branch with `symbolic-ref --short HEAD`,
which prints `heads/main` while a tag is also named `main`; the New Session
option then requested `refs/heads/heads/main` and every worktree attempt
failed. Inspection now reads the full ref and takes the name under
`refs/heads/`, so the option, the pinned current branch, and the checkout
row name `main`. HEAD that names a ref outside `refs/heads/` reads as no
branch.
* test(worktree): set up nested remotes and line endings the CI runners' Git accepts
Git 2.55 on the CI runners refuses `git remote add team` next to an
existing `team/fork` remote; the check runs only in `git remote add`, so
the longest-remote case now writes the second remote with `git config`, as
configuration written earlier or by hand holds it. The test clone also
turns off `core.autocrlf`, as `repository` does, because the Windows
runner's global setting checked the fetched file out with CRLF.
The weekly review request now asks for what the user did in the current
workspace this week. In a code repository it looks only at the user's
commits this week and the pull requests the user opened that merged this
week or are still open, instead of every commit and pull request in the
repository. The tile description follows the same scope in all eight
languages.