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
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user