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:
sam committed 2026-10-03 21:47:46 +10:00
1 parent 15e55c1c50
commit 96e5d7b84b
269 files changed
+1201 -2609

No files matched your search

@@ -28,13 +28,11 @@ const (
credentialFileMode = "0600"
)
// renderCredentialFile renders c's oauth.credentialFile: the declared
// structure with the Kit's sentinels substituted for the token placeholders,
// the stored token set's scopes for {{.Scopes}} and its expiry for
// {{.ExpiresAt}}, encoded in the declared format. facts is the only thing the
// renderer receives about the stored token set, so a real token cannot reach
// the file (docs/prds/external-agent-harness.md, "Verification: the credential
// file holds only sentinels").
// renderCredentialFile renders c's oauth.credentialFile: the declared structure
// with the Kit's sentinels substituted for the token placeholders, the stored
// token set's scopes for {{.Scopes}} and its expiry for {{.ExpiresAt}}, encoded
// in the declared format. facts is the only thing the renderer receives about
// the stored token set, so a real token cannot reach the file.
func renderCredentialFile(c spec.CredentialCapability, facts OAuthFacts) (string, error) {
cf := c.OAuth.CredentialFile
var sentinels spec.Sentinels
+1 -1
View File
@@ -152,7 +152,7 @@ func FromMerge(merged *spec.MergeResult) (*Plan, error) {
}
// ValidateNeeds rejects a Plan that cannot meet what the workflow's stages
// declared they need (docs/prds/external-agent-harness.md, "Contract"): a
// declared they need: a
// gate that may retry needs the Kit's agent-sessions resume verb, because
// archie resumes the session with the gate's output rather than starting
// over. gateRetries is zero for a workflow with no gated stage, which no