refactor: strip doc and issue narration from code comments
Remove PRD/doc paths, bead IDs, phase notes and deleted-test references from comments; drop test-only hooks left by the test deletion. Includes in-progress archied bootstrap, gateway and query changes.
This commit is contained in:
269 files changed
+1201
-2609
No files matched your search
@@ -358,7 +358,7 @@ func isNonEmptyString(object map[string]json.RawMessage, field string) bool {
|
||||
}
|
||||
|
||||
// scriptToolSet exposes run_go_script: interpreting a Yaegi Go script
|
||||
// bundled with a skill (.agents/skills/<skill>/scripts/*.go) or living
|
||||
// bundled with a skill or living
|
||||
// anywhere else in the workspace, and returning what it printed. This is
|
||||
// how an agent following a skill's instructions ("run scripts/gitleaks.go
|
||||
// to scan for secrets") actually executes a .go helper without a Go
|
||||
|
||||
@@ -84,9 +84,9 @@ type Request struct {
|
||||
Protection Protection `json:"protection"`
|
||||
Notes string `json:"notes,omitempty"`
|
||||
CaptureTools []CaptureTool `json:"capture_tools,omitempty"`
|
||||
// Plugins are bundled Yaegi plugins from the skill's plugins/
|
||||
// directory. Each entry carries the name and source so the agent
|
||||
// can register them as tools. PRD section 5 Layer 1.
|
||||
// Plugins are bundled Yaegi plugins from the skill's plugins/ directory.
|
||||
// Each entry carries the name and source so the agent can register them as
|
||||
// tools.
|
||||
Plugins []PluginSpec `json:"plugins,omitempty"`
|
||||
// Harness, when set, runs the stage on an external coding-agent CLI
|
||||
// instead of the built-in loop. The worker in a Kit container is the
|
||||
|
||||
@@ -9,9 +9,7 @@ import (
|
||||
//
|
||||
// These belong to this package because it defines what an agent request and
|
||||
// response mean. They previously sat in the NATS package, which made the
|
||||
// transport the owner of Archie's agent protocol; see
|
||||
// docs/architecture/dependencies-and-contracts.md -- message schemas and the
|
||||
// subjects addressing them stay with the domain that defines them.
|
||||
// transport the owner of Archie's agent protocol.
|
||||
const (
|
||||
// SubjectSystemWildcard matches every task's system subject, for a
|
||||
// daemon subscribing to all of them at once with a single core NATS
|
||||
|
||||
@@ -33,7 +33,7 @@ type LogPublisher interface {
|
||||
// decode() moves it into Fields itself. Handing decode() this payload
|
||||
// instead of json.Unmarshal would nest everything one level too deep, under
|
||||
// a literal "fields" key, and silently lose every real field name. A future
|
||||
// consumer of this subject (see GitHub issue #454) must unmarshal directly
|
||||
// consumer of this subject must unmarshal directly
|
||||
// into logging.Entry, not call decode() on these bytes.
|
||||
//
|
||||
// Publishing is fire-and-forget. A core NATS Publish call is already
|
||||
|
||||
@@ -78,9 +78,8 @@ type ToolSetOptions struct {
|
||||
Approval tools.ApprovalRequester
|
||||
|
||||
// OnToolCall, when non-nil, is notified once per completed tool call.
|
||||
// LoopRunner populates it so a workflow stage can surface tool
|
||||
// activity on the task timeline (archie-core-467's task-transcript
|
||||
// counterpart). Nil means no one is listening.
|
||||
// LoopRunner populates it so a workflow stage can surface tool activity on
|
||||
// the task timeline. Nil means no one is listening.
|
||||
OnToolCall ToolCallReporter
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user