@lambdacurry/arbor 0.8.0 → 0.8.2
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/dist/arbor.js +5 -8
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -1657,7 +1657,6 @@ var watches = sqliteTable("watches", {
|
|
|
1657
1657
|
watcherProfileId: text("watcher_profile_id").notNull().references(() => profiles.id),
|
|
1658
1658
|
targetType: text("target_type").$type().notNull(),
|
|
1659
1659
|
targetId: text("target_id").notNull(),
|
|
1660
|
-
cadence: text("cadence").$type().notNull().default("digest"),
|
|
1661
1660
|
createdAt: ts("created_at").notNull()
|
|
1662
1661
|
}, (t) => ({
|
|
1663
1662
|
watchUq: uniqueIndex("watches_watcher_target_uniq").on(t.watcherProfileId, t.targetType, t.targetId),
|
|
@@ -16044,7 +16043,7 @@ config(en_default());
|
|
|
16044
16043
|
var ORIENTATION = `Arbor is your team's deliberation room and shared memory — people and agents settle typed work here, and Arbor remembers what's decided. To work well:
|
|
16045
16044
|
|
|
16046
16045
|
1. RECALL FIRST — but Arbor is MEMORY, NOT TRUTH. Run \`recall\` before re-deriving or restating anything — it may already be settled; cite prior work ([label](#con_…)) and build on it. Phrase the query in PROBLEM-LANGUAGE (a natural-language question — "how do agents handle X"), not extracted keywords; it ranks better. Empty recall is itself worth noting. A contribution records what was true when it was WRITTEN, so before you assert the CURRENT state of anything outside Arbor — a PR, a build, a deploy, a config — check the live source; another contribution is not evidence of the present, and neither is a local copy of something whose home is elsewhere. WHY: a room where everyone re-derives is just a chat log — but a room that mistakes its own memory for the world confidently reports blockers that no longer exist.
|
|
16047
|
-
2. CONTRIBUTE typed points —
|
|
16046
|
+
2. CONTRIBUTE typed points — but ADD ONLY WHAT'S ADDITIVE (AD-205). Ask what the most additive move is, not whether to say something: if your reaction to a point already on the record fits in one line — agree OR disagree — STAMP it (vouch, or push back with a one-line why), don't restate it; if you'd only echo consensus, reviewing IS the contribution and staying out is fine. When you DO contribute, it's ONE point, with the type that names your move (proposal / critique / question / evidence / risk / correction / assertion / decision). Markdown welcome; put references IN your prose (a URL or [label](#con_…) becomes a navigable reference). Prose refs are CITATIONS — they never move your contribution in the thread, so cite freely; to REPLY under a specific contribution, pass links: [{rel: 'inReplyTo', targetId}] (AD-196). WHY: a thread where every agent restates the consensus is noise — the record is strongest when each point appears ONCE and gets vouched (or contested) with a stamp, not re-said; and one typed point is reviewable on its own, so a synthesis citing five points should read as the most top-level thing in the thread, not as a reply to the first one it mentions.
|
|
16048
16047
|
3. ANSWER through requests. When \`inbox\` or a thread shows an open request you can meet, answer THROUGH it — \`respond\` to it, or \`stamp\` the contribution a review request is about — so it completes and the requester is notified. WHY: a plain reply that merely happens to answer leaves their request hanging (the most common failure).
|
|
16049
16048
|
4. REVIEW honestly; promote the standout, sparingly. \`stamp\` to vouch or push back with a one-line why (you can't stamp your own work — request a review via \`request\`). PROMOTE a contribution/artifact only when it's the standout the org should find FIRST (the \uD83C\uDF96️). One deliberate exception (AD-200): in a STANDING thread, periodically promoting a distilling synthesis IS the job — it's how an open-forever lane compresses for newcomers and recall, not applause inflation; promoting your own synthesis there is fine (only stamps bar self-review). WHY: promotion is curation, not applause — and it's about an OUTPUT, never a whole thread (a thread RESOLVES; it is never "promoted").
|
|
16050
16049
|
5. EDIT, don't repost. \`edit\` your own contribution to sharpen it; the record stays audited. A genuinely different point is a NEW contribution.
|
|
@@ -16090,7 +16089,7 @@ var ACTIONS = [
|
|
|
16090
16089
|
{
|
|
16091
16090
|
name: "contribute",
|
|
16092
16091
|
title: "Contribute to a thread",
|
|
16093
|
-
description: "Add your own typed contribution (proposal/critique/question/evidence/…) — ONE point per contribution, on the record. RECALL FIRST (recalling beats re-deriving), and put references IN THE BODY: URLs and inline [label](#con_…) refs become typed reference edges + smart pills automatically. Body refs are CITATIONS (AD-196) — they never change where your contribution sits in the thread, so cite freely. To thread your contribution UNDER a specific one (a reply), pass links: [{rel: 'inReplyTo', targetId}] — that deliberate edge is what nests it.",
|
|
16092
|
+
description: "Add your own typed contribution (proposal/critique/question/evidence/…) — ONE point per contribution, on the record. BEFORE ADDING, ask what the most additive move is — not just whether to say something (AD-205): if your reaction to a point already on the record fits in one line — agree OR disagree — STAMP it (vouch, or push back with your one-line why), don't restate it as a contribution; contribute what's genuinely NEW (a typed move — a developed critique counts — that advances THIS thread's objective); if you'd only be echoing, reviewing IS the contribution and staying out is fine. RECALL FIRST (recalling beats re-deriving), and put references IN THE BODY: URLs and inline [label](#con_…) refs become typed reference edges + smart pills automatically. Body refs are CITATIONS (AD-196) — they never change where your contribution sits in the thread, so cite freely. An artifact ref ([label](#art_…)) on its OWN LINE unfurls into a preview CARD (a peek of the doc/table); inline in a sentence it stays a compact pill (AD-204) — so put an artifact on its own line when you want the reader to SEE it. To thread your contribution UNDER a specific one (a reply), pass links: [{rel: 'inReplyTo', targetId}] — that deliberate edge is what nests it.",
|
|
16094
16093
|
inputSchema: {
|
|
16095
16094
|
threadId: exports_external.string().describe("the thread id, e.g. thr_…"),
|
|
16096
16095
|
type: exports_external.enum(CONTRIBUTION_TYPES).describe("the contribution type (AD-066 taxonomy)"),
|
|
@@ -16111,7 +16110,7 @@ var ACTIONS = [
|
|
|
16111
16110
|
{
|
|
16112
16111
|
name: "edit",
|
|
16113
16112
|
title: "Edit your contribution",
|
|
16114
|
-
description: "Edit the BODY of your own contribution (AD-132 — editable-but-audited: the displayed text changes, an 'edited' marker appears, and the event log keeps the previous body). Author-only; the type and DELIBERATE links (reply edges, fulfills) are fixed — body-borne prose refs follow the edited body: a [label](#con_…) you edit in gains its citation edge, one you edit out drops it (AD-196). A different point is a NEW contribution, not an edit.",
|
|
16113
|
+
description: "Edit the BODY of your own contribution (AD-132 — editable-but-audited: the displayed text changes, an 'edited' marker appears, and the event log keeps the previous body). Author-only; the type and DELIBERATE links (reply edges, fulfills) are fixed — body-borne prose refs follow the edited body: a [label](#con_…) you edit in gains its citation edge, one you edit out drops it (AD-196). An artifact ref ([label](#art_…)) on its OWN LINE renders as a preview card; inline it stays a pill (AD-204). A different point is a NEW contribution, not an edit.",
|
|
16115
16114
|
inputSchema: {
|
|
16116
16115
|
contributionId: exports_external.string().describe("your contribution's id, con_…"),
|
|
16117
16116
|
body: exports_external.string().min(1).describe("the replacement markdown body"),
|
|
@@ -16894,8 +16893,7 @@ var ACTIONS = [
|
|
|
16894
16893
|
inputSchema: {
|
|
16895
16894
|
verb: exports_external.enum(["on", "off", "status", "list"]).describe("start/stop/check watching, or list"),
|
|
16896
16895
|
targetType: exports_external.enum(["thread", "artifact", "topic"]).optional().describe("on/off/status: what to watch"),
|
|
16897
|
-
targetId: exports_external.string().optional().describe("on/off/status: the id (thr_/art_/top_)")
|
|
16898
|
-
cadence: exports_external.enum(["immediate", "digest"]).optional().describe("on: email cadence for later (stored now; in-app fires regardless today)")
|
|
16896
|
+
targetId: exports_external.string().optional().describe("on/off/status: the id (thr_/art_/top_)")
|
|
16899
16897
|
},
|
|
16900
16898
|
surfaces: ["mcp"],
|
|
16901
16899
|
toolset: "loop",
|
|
@@ -16912,8 +16910,7 @@ var ACTIONS = [
|
|
|
16912
16910
|
description: "Start watching a thread, artifact, or topic (AD-202) — you'll be notified on its next change (new contribution / version / thread) even if you never touched it. Private; bursts collapse to one notification.",
|
|
16913
16911
|
inputSchema: {
|
|
16914
16912
|
targetType: exports_external.enum(["thread", "artifact", "topic"]).describe("what to watch"),
|
|
16915
|
-
targetId: exports_external.string().describe("the id (thr_/art_/top_)")
|
|
16916
|
-
cadence: exports_external.enum(["immediate", "digest"]).optional().describe("email cadence for later (in-app fires regardless today)")
|
|
16913
|
+
targetId: exports_external.string().describe("the id (thr_/art_/top_)")
|
|
16917
16914
|
},
|
|
16918
16915
|
surfaces: ["cli"],
|
|
16919
16916
|
toolset: "loop",
|
package/package.json
CHANGED