Merge PR #7048: feat(security): add OMP-native security scan subsystem (@kmccleary3301)
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- Added a `postmortem.quit` configuration option to safely handle shutdown paths when the terminal output has already disconnected.
|
||||
- Added project-keyed OMP security-state directory helpers under the user state root.
|
||||
|
||||
## [17.1.8] - 2026-07-28
|
||||
|
||||
### Added
|
||||
|
||||
@@ -721,6 +721,16 @@ export function getAutoresearchRunDir(encodedProject: string, runId: number): st
|
||||
return path.join(getAutoresearchProjectDir(encodedProject), "runs", String(runId).padStart(4, "0"));
|
||||
}
|
||||
|
||||
/** Get the security-analysis state directory (~/.omp/security). */
|
||||
export function getSecurityDir(): string {
|
||||
return dirs.rootSubdir("security", "state");
|
||||
}
|
||||
|
||||
/** Get one project's security-analysis state directory (~/.omp/security/<project-key>). */
|
||||
export function getSecurityProjectDir(projectKey: string): string {
|
||||
return path.join(getSecurityDir(), projectKey);
|
||||
}
|
||||
|
||||
// =============================================================================
|
||||
// Agent subdirectories (~/.omp/agent/*)
|
||||
// =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user