Add native Notarius readiness checks

This commit is contained in:
2026-11-30 01:17:33 +00:00
parent 7eed744ad1
commit a5d541529d
17 changed files with 985 additions and 28 deletions

View File

@@ -42,6 +42,16 @@ func SessionValidationPolishDir(paths SessionPaths) string {
return filepath.Join(paths.RunsDir, ".validation", "polish")
}
// SessionValidationNotariusDir identifies the explicit readiness probe namespace.
func SessionValidationNotariusDir(paths SessionPaths) string {
return filepath.Join(paths.RunsDir, ".validation", "notarius")
}
// SessionInvocationProbeDir keeps automatic readiness outside actual attempts.
func SessionInvocationProbeDir(paths SessionPaths, runID, application string) string {
return filepath.Join(paths.RunsDir, ".preflight", runID, application)
}
// SessionWorkDirForCampaign returns the canonical campaign-aware work directory for one session.
func SessionWorkDirForCampaign(rootDir, campaign, sessionID string) string {
return filepath.Join(rootDir, config.PathWorkDirSegment, campaign, sessionID)