@netsirk/hippocampe-linux-x64 0.0.0-stage → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/bin/hippo +4 -0
  2. package/bin/migrations/20261006095556_baseline/migration.sql +201 -0
  3. package/bin/migrations/20261006095556_baseline/snapshot.json +2298 -0
  4. package/bin/migrations/20261006100925_sensitive_types/migration.sql +1 -0
  5. package/bin/migrations/20261006100925_sensitive_types/snapshot.json +2311 -0
  6. package/bin/migrations/20261006103751_entry_sources/migration.sql +1 -0
  7. package/bin/migrations/20261006103751_entry_sources/snapshot.json +2324 -0
  8. package/bin/migrations/20261006104542_inbox/migration.sql +20 -0
  9. package/bin/migrations/20261006104542_inbox/snapshot.json +2562 -0
  10. package/bin/migrations/20261006111614_inbox_mime/migration.sql +1 -0
  11. package/bin/migrations/20261006111614_inbox_mime/snapshot.json +2575 -0
  12. package/bin/migrations/20261006120126_search_index/migration.sql +9 -0
  13. package/bin/migrations/20261006120126_search_index/snapshot.json +2620 -0
  14. package/bin/migrations/20261006160724_findings/migration.sql +36 -0
  15. package/bin/migrations/20261006160724_findings/snapshot.json +3068 -0
  16. package/bin/migrations/20261007073146_instance_rules/migration.sql +6 -0
  17. package/bin/migrations/20261007073146_instance_rules/snapshot.json +3128 -0
  18. package/bin/migrations/20261007080007_read_in_parent/migration.sql +1 -0
  19. package/bin/migrations/20261007080007_read_in_parent/snapshot.json +3141 -0
  20. package/bin/migrations/20261007084816_pending_references/migration.sql +8 -0
  21. package/bin/migrations/20261007084816_pending_references/snapshot.json +3215 -0
  22. package/bin/migrations/20261007085835_merged_findings/migration.sql +1 -0
  23. package/bin/migrations/20261007085835_merged_findings/snapshot.json +3228 -0
  24. package/bin/migrations/20261007105935_merged_into_key/migration.sql +1 -0
  25. package/bin/migrations/20261007105935_merged_into_key/snapshot.json +3241 -0
  26. package/bin/migrations/20261007111353_remove_source_registry/migration.sql +13 -0
  27. package/bin/migrations/20261007111353_remove_source_registry/snapshot.json +3149 -0
  28. package/bin/migrations/20261007115731_link_note_and_dates/migration.sql +3 -0
  29. package/bin/migrations/20261007115731_link_note_and_dates/snapshot.json +3188 -0
  30. package/bin/migrations/20261008075945_resolve_stale_pending/migration.sql +11 -0
  31. package/bin/migrations/20261008075945_resolve_stale_pending/snapshot.json +3188 -0
  32. package/bin/migrations/20261008081223_archived_reason/migration.sql +1 -0
  33. package/bin/migrations/20261008081223_archived_reason/snapshot.json +3201 -0
  34. package/bin/migrations/20261009160041_entries_aliases/migration.sql +1 -0
  35. package/bin/migrations/20261009160041_entries_aliases/snapshot.json +3222 -0
  36. package/bin/migrations/20261009182911_known_or_supposed/migration.sql +32 -0
  37. package/bin/migrations/20261009182911_known_or_supposed/snapshot.json +3229 -0
  38. package/bin/migrations/20261009194740_part_of/migration.sql +86 -0
  39. package/bin/migrations/20261009194740_part_of/snapshot.json +3232 -0
  40. package/bin/migrations/20261009210344_rename_to_hippocampe/migration.sql +28 -0
  41. package/bin/migrations/20261009210344_rename_to_hippocampe/snapshot.json +3232 -0
  42. package/package.json +17 -4
  43. package/README.md +0 -3
@@ -0,0 +1,36 @@
1
+ CREATE TABLE "finding_occurrences" (
2
+ "id" bigint PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name "finding_occurrences_id_seq" INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807 START WITH 1 CACHE 1),
3
+ "finding" integer NOT NULL,
4
+ "at" timestamp with time zone DEFAULT clock_timestamp() NOT NULL,
5
+ "origin" text NOT NULL,
6
+ "title" text NOT NULL,
7
+ "severity" text NOT NULL,
8
+ "trying" text NOT NULL,
9
+ "happened" text NOT NULL,
10
+ "expected" text NOT NULL,
11
+ "steps" text DEFAULT '' NOT NULL,
12
+ "instance" text NOT NULL,
13
+ "version" text NOT NULL,
14
+ "commit" text NOT NULL,
15
+ "key_name" text,
16
+ "call_tool" text,
17
+ "call_arguments" text,
18
+ CONSTRAINT "finding_occurrences_origin" CHECK (origin IN ('agent', 'server'))
19
+ );
20
+ --> statement-breakpoint
21
+ CREATE TABLE "findings" (
22
+ "number" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name "findings_number_seq" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1),
23
+ "title" text NOT NULL,
24
+ "kind" text NOT NULL,
25
+ "place" text NOT NULL,
26
+ "severity" text NOT NULL,
27
+ "occurrences" integer DEFAULT 1 NOT NULL,
28
+ "first_seen" timestamp with time zone DEFAULT clock_timestamp() NOT NULL,
29
+ "last_seen" timestamp with time zone DEFAULT clock_timestamp() NOT NULL,
30
+ CONSTRAINT "findings_kind" CHECK (kind IN ('bug', 'tool_error', 'unclear_refusal', 'missing_capability', 'wrong_state', 'slow', 'model_friction', 'other')),
31
+ CONSTRAINT "findings_severity" CHECK (severity IN ('blocks', 'hurts', 'cosmetic'))
32
+ );
33
+ --> statement-breakpoint
34
+ CREATE INDEX "finding_occurrences_finding" ON "finding_occurrences" ("finding","at");--> statement-breakpoint
35
+ CREATE INDEX "findings_kind_place" ON "findings" ("kind","place");--> statement-breakpoint
36
+ ALTER TABLE "finding_occurrences" ADD CONSTRAINT "finding_occurrences_finding_fkey" FOREIGN KEY ("finding") REFERENCES "findings"("number");