@miraland-labs/conduit-bridge 0.9.5 → 0.9.6

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Local Bridge CLI for [Conduit](https://github.com/miralandlabs/conduit). Connects a computer to one organization, claims work, and drives a local agent.
4
4
 
5
- **Current npm:** `0.9.5` — **ops** helpers for macOS / Linux / Windows, LaunchAgent/systemd **PATH** for `~/.local/bin`, disconnect/disengage, multi-driver lanes, shared slots **1–4**, worktrees, optional `--ensure-checkout`.
5
+ **Current npm:** `0.9.6` — **ops** helpers for macOS / Linux / Windows, LaunchAgent/systemd **PATH** for `~/.local/bin`, disconnect/disengage, multi-driver lanes, shared slots **1–4**, worktrees, optional `--ensure-checkout`.
6
6
 
7
7
  ## Prerequisites
8
8
 
package/dist/driver.js CHANGED
@@ -90,7 +90,9 @@ export function buildAssignmentPrompt(context) {
90
90
  const changeScope = packageContext?.change_scope?.length ? packageContext.change_scope : spec.change_scope;
91
91
  const evidence = packageContext?.required_evidence?.length ? packageContext.required_evidence : spec.required_evidence;
92
92
  const rework = packageContext?.rework_feedback ?? context.reworkFeedback;
93
- const artifact = (packageContext?.deliverable ?? spec.deliverable) === "artifact";
93
+ const labeledArtifact = (packageContext?.deliverable ?? spec.deliverable) === "artifact";
94
+ // Research is discovery in the delivery report — never a published content-pack artifact.
95
+ const artifact = labeledArtifact && role !== "research";
94
96
  const lines = [
95
97
  `You are completing one delegated Conduit assignment as the ${role} role. Work only inside the current workspace.`,
96
98
  "",
package/dist/execution.js CHANGED
@@ -671,7 +671,10 @@ async function prepareDelivery(client, attemptId, taskId, report) {
671
671
  }
672
672
  export function validateDeliveryReport(report, spec, grants = []) {
673
673
  validateChangeScope(report, spec.change_scope ?? []);
674
- if (spec.deliverable === "artifact") {
674
+ // Research findings live in the report. Do not demand a published pack URL for work_role=research
675
+ // even when a planner mis-labeled the package as deliverable=artifact.
676
+ const artifactDelivery = spec.deliverable === "artifact" && spec.work_role !== "research";
677
+ if (artifactDelivery) {
675
678
  const published = report.evidence.some((item) => {
676
679
  if (!["preview", "research", "documentation"].includes(item.kind))
677
680
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miraland-labs/conduit-bridge",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Conduit Bridge CLI — join, connect, disconnect, multi-driver lanes, and run Claude Code / Codex / Cursor / OpenCode / Kiro / Antigravity agents for a Conduit organization",
5
5
  "type": "module",
6
6
  "bin": {