core: load aggregated hook-backed user instructions

This commit is contained in:
Adam Perry
2026-07-07 01:04:18 +00:00
parent e9e1a2922c
commit 3a16fc6c19
12 changed files with 757 additions and 60 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ impl CodexHomeUserInstructionsProvider {
return LoadedUserInstructions {
instructions: Some(UserInstructions {
text: trimmed.to_string(),
source: path,
sources: vec![path],
}),
warnings,
};
@@ -27,8 +27,10 @@ fn expected(
LoadedUserInstructions {
instructions: Some(UserInstructions {
text: text.to_string(),
source: AbsolutePathBuf::try_from(home.path().join(filename))
.expect("absolute source path"),
sources: vec![
AbsolutePathBuf::try_from(home.path().join(filename))
.expect("absolute source path"),
],
}),
warnings,
}