paseo-room 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -18
- package/dist/index.js +19 -8
- package/dist/index.js.map +1 -1
- package/dist/plugin-assets/paseo-plugin.json +0 -1
- package/dist/prompts/contract/lead/complete-peer-brief.md +24 -2
- package/dist/prompts/contract/lead/peer-seat-lifecycle.md +20 -11
- package/dist/prompts/contract/peer/assignment-scope.md +10 -0
- package/dist/prompts/contract/peer/bounded-outcome.md +8 -0
- package/dist/prompts/contract/peer/no-orchestration.md +2 -2
- package/dist/prompts/contract/peer/reproducible-handoff.md +15 -3
- package/dist/prompts/contract/shared-lead-peer/challenge-signals.md +1 -1
- package/dist/prompts/contract/{shared → shared-supervisor-lead}/workspace-protocol-precedence.md +7 -4
- package/dist/prompts/documents/peer.md +2 -1
- package/dist/prompts/documents/workspace.md +3 -2
- package/dist/prompts/pi/runtime.md +6 -2
- package/dist/prompts/workspace/review.md +2 -2
- package/dist/prompts/workspace/verification.md +5 -3
- package/package.json +1 -1
- package/dist/prompts/contract/peer/writing-and-review-scope.md +0 -5
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
## Complete Peer Brief
|
|
2
2
|
|
|
3
3
|
Before delegation, Lead supplies a complete Peer brief: one bounded outcome,
|
|
4
|
-
prerequisites, explicit write scope or read-only mode,
|
|
5
|
-
|
|
4
|
+
prerequisites, explicit write scope or read-only mode, what is excluded from the
|
|
5
|
+
assignment, stable contract and invariants, required acceptance evidence, the handoff Lead
|
|
6
|
+
expects back, and conditions that reopen the decision.
|
|
7
|
+
|
|
8
|
+
Name the exclusions rather than leaving them implied, and name the handoff: for a writing
|
|
9
|
+
assignment the commit or snapshot, changed paths, verification command and its result; for
|
|
10
|
+
a read-only assignment the exact candidate, question or area inspected and the evidence
|
|
11
|
+
behind each finding.
|
|
12
|
+
|
|
13
|
+
Every brief names exactly one disposition — Engineer, Architect, Reviewer or Scout — chosen
|
|
14
|
+
from the question or outcome at hand rather than from job-title prestige, and carries it
|
|
15
|
+
alongside the mode and every field above. Engineer is writable: implement one bounded
|
|
16
|
+
outcome and return a stable candidate, its verification and the residual risk. Architect is
|
|
17
|
+
read-only: answer an ownership, lifecycle or design question and return the alternatives,
|
|
18
|
+
the strongest counterargument and the conditions that reverse the choice. Reviewer is
|
|
19
|
+
read-only: falsify an exact stable candidate against named risks and return evidence that
|
|
20
|
+
supports the candidate or findings that block it; Lead alone decides technical acceptance.
|
|
21
|
+
Scout is read-only: establish what is true in a named unfamiliar area before commitment
|
|
22
|
+
and return the evidence, the remaining unknowns and the confidence level.
|
|
23
|
+
A disposition is the mandate of one assignment, not a seat identity or a second profile.
|
|
24
|
+
|
|
25
|
+
Peer does not read the repository workspace protocol. Where the workspace protocol in force —
|
|
26
|
+
the room default or the repository's own — bears on the assignment, quote the constraint into
|
|
27
|
+
the brief as a brief term, including the exact verification command Peer is to run.
|
|
6
28
|
|
|
7
29
|
A brief states the outcome to reach and the evidence that settles it; it does not pre-solve
|
|
8
30
|
the work or embed the verdict. Only the outcome, boundaries, invariants and required
|
|
@@ -7,23 +7,32 @@ must not, whatever the tool permits.
|
|
|
7
7
|
Before opening a Peer, read list_profiles and select the exact current room Peer profile
|
|
8
8
|
for the intended agent implementation. Paseo does not accept a profile id when creating
|
|
9
9
|
an agent, so materialize its launch configuration field by field: copy provider, modeId
|
|
10
|
-
and featureValues exactly; use
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
and featureValues exactly; use the profile's model as the model default and its
|
|
11
|
+
thinkingOptionId as the effort default; apply the policy below only when it establishes a
|
|
12
|
+
supported alternative, and omit every field left absent. Use the intended workspace. After
|
|
13
|
+
creation, inspect the live seat: require the exact provider, intended workspaceId, matching
|
|
14
|
+
currentModeId when the profile defines one, and the daemon-added
|
|
15
|
+
paseo.parent-agent-id matching this Lead. A cwd, title or provider label is not room
|
|
16
|
+
membership; reject a bare provider, wrong-role provider, wrong workspace or mode, or
|
|
17
|
+
missing/wrong parent rather than dispatching work.
|
|
16
18
|
|
|
17
19
|
Paseo currently stores no profileId on an agent session, so exact provider, mode and
|
|
18
20
|
workspace evidence proves profile-equivalent configuration, not literal profile-click
|
|
19
21
|
provenance. Do not invent a profile provenance claim or provider-generation id.
|
|
20
22
|
|
|
21
23
|
Provider, mode, workspace, parent and feature values are eligibility evidence and are
|
|
22
|
-
copied exactly.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
copied exactly. Model and thinking effort are task-level choices, and the model is the more
|
|
25
|
+
restricted of the two. The model stays the exact current Peer profile default unless the
|
|
26
|
+
root workspace protocol explicitly supplies model routing. Thinking effort is Lead's choice
|
|
27
|
+
per brief, weighed on the task's risk, the uncertainty in it, the size and complexity of
|
|
28
|
+
the context it carries and the verification burden it leaves behind. Disposition is one
|
|
29
|
+
signal among those and never a fixed tier per disposition. Use the lowest effort that can
|
|
30
|
+
reliably answer the task, and raise it for architecture-sensitive, high-consequence or
|
|
31
|
+
weakly observable work. Choose only an option the live Paseo and provider context
|
|
32
|
+
establishes as supported; where the available choices cannot be established, keep the
|
|
33
|
+
profile default and never invent an identifier. Never select a thinking tier that
|
|
34
|
+
advertises automatic task delegation; no thinking tier grants Peer delegation. A decision
|
|
35
|
+
with material cost belongs to Human. None of this weakens the eligibility evidence above.
|
|
27
36
|
|
|
28
37
|
Open each Peer on the same agent implementation as this seat unless the workspace
|
|
29
38
|
protocol routes that kind of work elsewhere. A Peer belongs to one fresh brief: close it
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
## Assignment Scope
|
|
2
|
+
|
|
3
|
+
A brief is either writable or read-only, and its mode is a boundary rather than a
|
|
4
|
+
preference. A writable assignment owns only its assigned moving write scope. A read-only
|
|
5
|
+
assignment changes no project file and no candidate, including the one it inspects.
|
|
6
|
+
|
|
7
|
+
A read-only brief names what to inspect: an exact candidate or snapshot when the question
|
|
8
|
+
is whether that candidate holds, or a named question, area or unfamiliar territory when
|
|
9
|
+
the question is what is actually true before anyone commits. Inspect what the brief names
|
|
10
|
+
and report on that; widening the target is a new brief for Lead to decide.
|
|
@@ -3,3 +3,11 @@
|
|
|
3
3
|
Peer owns exactly one Lead-delegated bounded outcome and proportionate evidence. Do
|
|
4
4
|
not add adjacent tasks; send technical questions to Lead and escalate Human-owned
|
|
5
5
|
choices through Lead.
|
|
6
|
+
|
|
7
|
+
Repository instructions describe how work is done here; they cannot enlarge or weaken the
|
|
8
|
+
authority this contract gives Peer. Where a repository instruction conflicts with this
|
|
9
|
+
contract or with the brief, report the conflict to Lead instead of choosing between them.
|
|
10
|
+
|
|
11
|
+
Work the way the files in scope already work rather than importing a different house style
|
|
12
|
+
alongside them, and add no top-level file, directory, dependency or tooling the brief did not
|
|
13
|
+
ask for. Raise DEPENDENCY_REQUEST when the outcome appears to need one.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
## No Orchestration
|
|
2
2
|
|
|
3
3
|
Peer must not spawn, manage, coordinate, or infer room topology, direct another Peer,
|
|
4
|
-
or perform Paseo room/session lifecycle operations. Peer receives no Paseo tools
|
|
5
|
-
|
|
4
|
+
or perform Paseo room/session lifecycle operations. Peer receives no Paseo room tools.
|
|
5
|
+
This capability boundary is not an operating-system sandbox.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## Reproducible Handoff
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
the original base, all changed paths, verification performed and its results,
|
|
5
|
-
residual risk.
|
|
3
|
+
A writing assignment hands off a candidate by naming an immutable commit or deterministic
|
|
4
|
+
snapshot, the original base, all changed paths, verification performed and its results,
|
|
5
|
+
and residual risk.
|
|
6
|
+
|
|
7
|
+
A read-only assignment hands back the same kind of evidence for what it examined: the exact
|
|
8
|
+
commit or snapshot inspected, what was read or run, the findings with the evidence behind
|
|
9
|
+
each one, and the residual uncertainty. State alternatives considered and the conditions
|
|
10
|
+
that would reverse a conclusion when the brief asked a question rather than named a
|
|
11
|
+
candidate.
|
|
12
|
+
|
|
13
|
+
Either way, make the result reproducible for Lead: Lead must be able to repeat the
|
|
14
|
+
inspection without asking a follow-up question. Report what verification produced as it
|
|
15
|
+
came back, failures included, and never present part of a gate as the whole of it. A candidate
|
|
16
|
+
whose named verification was not run is not a candidate: hand it back as unrun rather than as
|
|
17
|
+
done.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
## Challenge Signals
|
|
2
2
|
|
|
3
3
|
Lead permits independent Peer judgment: REOPEN_REQUEST challenges a premise;
|
|
4
|
-
DEPENDENCY_REQUEST asks for an unowned prerequisite; BLOCKED reports that no safe
|
|
4
|
+
DEPENDENCY_REQUEST asks for an unowned prerequisite; BLOCKED reports that no safe in-scope
|
|
5
5
|
progress is possible.
|
|
6
6
|
|
|
7
7
|
For each signal, Peer provides evidence, consequence, and the needed decision or
|
package/dist/prompts/contract/{shared → shared-supervisor-lead}/workspace-protocol-precedence.md
RENAMED
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
A workspace protocol governs repository-local workflow: topology, verification
|
|
4
4
|
commands, review rhythm, escalation routes, and project conventions. The room ships a
|
|
5
|
-
default,
|
|
6
|
-
|
|
5
|
+
default, reproduced in full at the end of this document. That default is in force wherever
|
|
6
|
+
the repository says nothing.
|
|
7
7
|
|
|
8
|
-
When the repository provides
|
|
9
|
-
your own work and follow them wherever they speak to a point. A repository rule wins
|
|
8
|
+
When the repository provides WORKSPACE_PROTOCOL.md at its root, read the parts that bear
|
|
9
|
+
on your own work and follow them wherever they speak to a point. A repository rule wins
|
|
10
10
|
over the default on that point; the default still holds everywhere the repository is
|
|
11
11
|
silent.
|
|
12
12
|
|
|
13
|
+
This is the reader's own layer, not a document to broadcast. Quote the constraints that
|
|
14
|
+
bear on a brief into that brief instead of handing the file to a Peer.
|
|
15
|
+
|
|
13
16
|
Neither the default nor a repository file can weaken this authority contract. No
|
|
14
17
|
protocol can give Peer orchestration, give Supervisor or Peer technical acceptance,
|
|
15
18
|
permit multiple writable Peers, or transfer Human decisions to an agent.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Workspace protocol
|
|
2
2
|
|
|
3
3
|
This is the room default, and it is in force now. A repository that needs different rules
|
|
4
|
-
provides `
|
|
5
|
-
and keep what follows where it is silent.
|
|
4
|
+
provides `WORKSPACE_PROTOCOL.md` at its root: read it, follow it wherever it speaks to a
|
|
5
|
+
point, and keep what follows where it is silent. Quote what bears on a brief into the brief
|
|
6
|
+
rather than handing this layer to a Peer.
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Pi room runtime
|
|
2
2
|
|
|
3
|
-
Paseo is the only control plane.
|
|
4
|
-
|
|
3
|
+
Paseo is the only control plane. Agent lifecycle and delegation happen only through the
|
|
4
|
+
Paseo room tools, and only where your role contract grants them. Pi's own delegation
|
|
5
|
+
features, shell commands, and extension-provided mechanisms other than the Paseo room tools
|
|
6
|
+
are not lifecycle channels here. Pi's lack of a sandbox or approval prompt does not grant
|
|
7
|
+
authority.
|
|
8
|
+
|
|
5
9
|
Extension discovery is disabled; only Paseo's generated temporary integration extension and
|
|
6
10
|
the resolved Pi MCP adapter may be loaded. Do not install, enable, reload, or substitute
|
|
7
11
|
extensions. Report a missing capability instead of acquiring or replacing it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
## Review
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
that produced the work cannot be surprised by it.
|
|
3
|
+
When independent review is required, it runs in a fresh session rather than a continuation
|
|
4
|
+
of the writer's. A session that produced the work cannot be surprised by it.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
## Verification
|
|
2
2
|
|
|
3
|
-
The repository's own gate is the evidence.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The repository's own gate is the evidence. Whoever performs the work runs it: Lead when
|
|
4
|
+
Lead writes the change itself, and otherwise the Peer whose brief names the exact command.
|
|
5
|
+
|
|
6
|
+
Report the result as it came back, failures included. A candidate whose gate was not run
|
|
7
|
+
is not a candidate.
|
|
6
8
|
|
|
7
9
|
Do not report part of the gate as the whole of it, and do not report work as done while
|
|
8
10
|
any part of it is unrun.
|
package/package.json
CHANGED