Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): align bundled skill checks with current contracts (#7599)

Ezra Ellette1455b83b0325
diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rs
index c06f1873a..f7cbe49bd 100644
--- a/crates/screenpipe-core/src/agents/pi.rs
+++ b/crates/screenpipe-core/src/agents/pi.rs
@@ -4878,10 +4878,6 @@ mod tests {
.unwrap();
PiExecutor::ensure_screenpipe_skill_filtered(pipe.path(), &config).unwrap();
let expected = include_str!("../../assets/skills/screenpipe-workflow-maintenance/SKILL.md");
- assert!(
- expected.len() < 5000,
- "maintenance guide must fit small-context models"
- );
for root in [chat.path(), pipe.path()] {
assert_eq!(
std::fs::read_to_string(
@@ -4919,7 +4915,9 @@ mod tests {
let cli_skill = include_str!("../../assets/skills/screenpipe-cli/SKILL.md");
for skill in [api_skill, cli_skill] {
- assert!(skill.contains("Never access live `db.sqlite`"));
+ assert!(skill.contains(
+ "Never access the recorder's live SQLite database, write-ahead log, or shared-memory files directly."
+ ));
assert!(!skill.contains("sqlite3 \"file:"));
}
assert!(api_skill.contains("MCP `query_recordings`"));