@cat-factory/agents 0.11.0 → 0.11.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAmBpD,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB,aAAiE,CAAA;AAEnG,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAE5D;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAIiB,CAAA"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
// Read-only container agents. Some agent kinds need a real checkout to do their
|
|
2
2
|
// work but only ever READ it: they clone the repo, explore it, and return a prose
|
|
3
3
|
// report/proposal — making no edits, no commits and opening no pull request. They
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
4
|
+
// dispatch through the generic, manifest-driven `agent` kind in `explore` mode (the
|
|
5
|
+
// SAME path a registered `container-explore` kind takes), where an edit-free run is
|
|
6
|
+
// the expected, correct outcome rather than an "implementation produced no changes"
|
|
7
|
+
// failure, and where no work branch or PR is created.
|
|
7
8
|
//
|
|
8
9
|
// Today that is the `architect` (proposes a design after reading the existing code,
|
|
9
10
|
// whose prose proposal feeds the human gate / architect-companion) and the tech-debt
|
|
10
11
|
// `analysis` agent (audits the repo and emits a prioritized report). Both share the
|
|
11
|
-
// single reusable read-only
|
|
12
|
-
//
|
|
13
|
-
// The `bug-investigator` joins this set: it
|
|
14
|
-
//
|
|
15
|
-
//
|
|
12
|
+
// single reusable read-only dispatch (see ContainerAgentExecutor's
|
|
13
|
+
// `buildRegisteredAgentBody` explore path + the harness `handleAgent`).
|
|
14
|
+
// The `bug-investigator` joins this set: it reads the codebase from a raw bug report and
|
|
15
|
+
// returns a prose enriched report (+ an optional, confidence-gated hypothesis), making no
|
|
16
|
+
// edits — the same read-only contract as architect/analysis.
|
|
16
17
|
/** Container agent kinds that operate read-only (explore + report; no edits/commits/PR). */
|
|
17
18
|
export const READ_ONLY_AGENT_KINDS = new Set(['architect', 'analysis', 'bug-investigator']);
|
|
18
19
|
/** Whether `kind` is a read-only container agent (runs the harness `/explore` path). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,kFAAkF;AAClF,kFAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,kFAAkF;AAClF,kFAAkF;AAClF,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,sDAAsD;AACtD,EAAE;AACF,oFAAoF;AACpF,qFAAqF;AACrF,oFAAoF;AACpF,mEAAmE;AACnE,wEAAwE;AAExE,yFAAyF;AACzF,0FAA0F;AAC1F,6DAA6D;AAC7D,4FAA4F;AAC5F,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAS,CAAC,WAAW,EAAE,UAAU,EAAE,kBAAkB,CAAC,CAAC,CAAA;AAEnG,wFAAwF;AACxF,MAAM,UAAU,mBAAmB,CAAC,IAAe;IACjD,OAAO,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACxC,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,oFAAoF;IACpF,qFAAqF;IACrF,oFAAoF;IACpF,+CAA+C,CAAA"}
|