-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(wp1): persistence + layer discipline + restart safety #1945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
39b1068
refactor(persistence): switch 6 files to providers.management.capabil…
Aureliolo 245fe70
feat(scripts): add no-api-dto-in-persistence-or-service gate
Aureliolo 2cf6941
feat(persistence): add CeremonySchedulerStateRepository protocol and …
Aureliolo 453e156
feat(api): wrap webhook retry endpoint in IdempotencyService
Aureliolo 68524f9
fix(memory): acquire _store_lock on all readers and writers of InMemo…
Aureliolo c00a289
feat(persistence): add 6 generic repository protocols in _generics.py
Aureliolo 871d05f
docs(decisions): ADR-0001 repository protocol consolidation
Aureliolo 21695af
feat(persistence): add MeetingCooldownRepository protocol and dual-ba…
Aureliolo ead3bfd
feat(persistence): add TrackedContainerRepository and sync schema.sql
Aureliolo 79fe034
build(pre-commit): wire schema-drift-revisions-sqlite gate at pre-push
Aureliolo 3444dec
test(persistence): remove dead raw DDL from tests/unit/memory/org/con…
Aureliolo a3df458
refactor(messaging): split JetStreamTaskQueue lifecycle and hot-path …
Aureliolo 5d805e7
refactor(communication): split InMemoryMessageBus lifecycle and hot-p…
Aureliolo 73c1e32
refactor(messaging): align JetStreamMessageBus shutdown with lifecycl…
Aureliolo d0aacef
feat(sandbox): add Docker container reconciliation helper for restart…
Aureliolo 60fb67c
feat(persistence): wire 3 new WP-1 repos into PersistenceBackend prot…
Aureliolo c4368e5
feat(engine): persist and hydrate ceremony scheduler state on sprint …
Aureliolo d59d56a
feat(communication): persist meeting cooldowns and wire cooldown_repo
Aureliolo 476ea48
feat(sandbox): tag managed containers with synthorg.managed label
Aureliolo 99c425d
test(persistence): conformance tests for 3 new WP-1 repos
Aureliolo f366f6c
test(persistence): WP-1 restart-safety conformance test
Aureliolo 00de2a4
test(persistence): add stubs for 3 new WP-1 repo properties on _FakeB…
Aureliolo 7ae984b
fix(wp1): pre-PR triage Wave 1 (M/Md/Mn fixes)
Aureliolo 7ad72ff
refactor(persistence): WP-1 protocols compose IdKeyedRepository per A…
Aureliolo 03e2ff6
fix(persistence): keep convention_gate_map single-entry per MANDATORY
Aureliolo 0a26c03
fix(persistence): allowlist canonical page-size literal in IdKeyed li…
Aureliolo 72c5f59
refactor(persistence): PresetOverrideRepo composes IdKeyedRepository …
Aureliolo 416a5f7
test(providers): align _FakeOverrideRepo with new save/list_items sur…
Aureliolo caf3e1c
refactor(persistence): ProviderAuditRepo composes AppendOnlyRepositor…
Aureliolo a61ffc8
test(providers): align fake audit repos with new AppendOnly surface
Aureliolo fe38de8
refactor(persistence): CheckpointRepository composes AppendOnlyReposi…
Aureliolo be91e66
test(persistence): align test_checkpoint_repo with append surface
Aureliolo a29236f
test(engine,persistence): align checkpoint test fixtures with append …
Aureliolo fe64062
fix(engine): document state_repo arg in CeremonyScheduler.__init__
Aureliolo dfeb61d
refactor(persistence): MessageRepository composes AppendOnlyRepositor…
Aureliolo 875bd01
test(persistence): align sqlite test_repositories with append surface
Aureliolo bee360c
refactor(persistence): WorkflowDefinitionRepository composes IdKeyed …
Aureliolo 2179813
test(persistence): align workflow definition test fakes with Filtered…
Aureliolo 483f4da
refactor(persistence): AgentStateRepository composes IdKeyedRepositor…
Aureliolo 725ab1c
refactor(persistence): ParkedContextRepository composes IdKeyedReposi…
Aureliolo 9df4bcc
refactor(persistence): CircuitBreakerStateRepository composes IdKeyed…
Aureliolo 35af5c4
refactor(persistence): CustomRuleRepository composes IdKeyed+Filtered…
Aureliolo 87b96e5
refactor(persistence): McpInstallationRepository composes IdKeyedRepo…
Aureliolo 6f3c1bf
refactor(persistence): RiskOverride+SsrfViolation compose IdKeyedRepo…
Aureliolo 9c99357
docs(persistence): mark VersionRepository as bespoke per ADR-0001 D7
Aureliolo c5efe25
refactor(persistence): Wave A composes Task+CostRecord+Approval+Proje…
Aureliolo e3a74ac
refactor(persistence): PrincipleOverride composes IdKeyedRepository p…
Aureliolo f33350b
refactor(persistence): ArtifactRepository composes IdKeyedRepository …
Aureliolo 46ef33f
refactor(persistence): TrainingPlan + TrainingResult compose IdKeyed …
Aureliolo cc1a498
refactor(persistence): SettingsRepository composes IdKeyedRepository …
Aureliolo 7d0ebe4
refactor(persistence): WorkflowExecutionRepository adds list_items + …
Aureliolo fa2adba
refactor(persistence): Connection family composes IdKeyed+FilteredQue…
Aureliolo 6c51793
merge: Artifact migration (worktree branch)
Aureliolo 5caa084
merge: WorkflowExecution migration (worktree branch)
Aureliolo e876528
docs(adr-0001): add comprehensive per-entity inventory table
Aureliolo 9626759
refactor(persistence): PersonalityPresetRepository composes IdKeyedRe…
Aureliolo 2accfc6
refactor(persistence): WorkflowExecutionRepository composes IdKeyed+F…
Aureliolo 7acec0e
refactor(persistence): SessionRepository, LockoutRepository, RefreshT…
Aureliolo d96b3b5
refactor(persistence): OntologyEntityRepository + OntologyDriftReport…
Aureliolo 51e2aa9
refactor(persistence): SubworkflowRepository composes IdKeyedReposito…
Aureliolo 1d34f25
fix(persistence): wave-C callsites (user_service list_users->list_ite…
Aureliolo 4c24474
merge: WorkflowExecution-fix (proper generic composition)
Aureliolo a00e779
merge: Ontology migration (worktree branch)
Aureliolo a6e2517
merge: ADR-0001 docs (worktree branch)
Aureliolo 65b7393
fix(persistence): add purge_before stubs to OntologyDriftReportReposi…
Aureliolo fcae465
test(persistence): update fakes/conformance tests to new generic surf…
Aureliolo 63ce081
test(persistence): finish stale-fake cleanup; tests/ + src/ mypy + ru…
Aureliolo 00fa1c1
chore(hooks): restore check_no_bulk_edit guard
Aureliolo b99b93e
fix(tests): clear ADR-0001 protocol migration residuals (settings + a…
Aureliolo fe16ca5
fix(tests): update protocol-compliance fakes for ADR-0001 generic met…
Aureliolo 5e1e678
fix(tests): align org mutations/task engine/memory tests with ADR-000…
Aureliolo 95cd9db
fix(tests): convert remaining tuple-shaped settings mocks to SettingR…
Aureliolo 832dc63
fix(tests): add ADR-0001 query/list_items to fakes; keyset-filter in …
Aureliolo c8cb787
fix(tests): final ADR-0001 residuals (drift/escalation/subworkflow/ta…
Aureliolo 0ae8b09
fix(types): satisfy mypy on engine fakes + test_org_mutations + test_…
Aureliolo e96f181
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo 7d9ada3
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo d118021
perf(test): halve migration cost in test_multi_tenancy_separate_datab…
Aureliolo 6b50d2c
fix(wp1): pre-PR triage Wave 2 — push-persistence, restart cycle, doc…
Aureliolo 896b074
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo b8c0290
fix(wp1): replace placeholder text in schema_drift_baseline for 3 WP-…
Aureliolo afffb76
fix: apply WP-1 persistence review feedback round 1
Aureliolo 58e08c9
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo f6e4088
fix: complete WP-1 persistence review feedback + tests
Aureliolo 7a28923
fix: align test doubles + expectations with WP-1 protocol changes
Aureliolo b89488d
chore: add PreToolUse hook blocking git --no-verify/bypass flags
Aureliolo 17d4366
refactor: replace 5 ad-hoc pagination loops with shared paginate() he…
Aureliolo e4160c4
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo 911abca
fix: babysit round 2 -- 22 CodeRabbit findings + paginator gate
Aureliolo 68fa85c
fix: babysit round 3 -- 11 CodeRabbit findings + skill dedup
Aureliolo 0678972
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo 43f9f7f
fix: babysit round 4 -- 2 CodeRabbit findings + attachments field + c…
Aureliolo 85638bf
fix: ruff-format conformance tests + regen openapi.gen.ts for attachm…
Aureliolo 1704bd5
fix: CodeRabbit findings -- hook fail-closed + UTC timestamp persistence
Aureliolo 493a24a
fix: pin MessageFactory.attachments to avoid polyfactory DataPart syn…
Aureliolo c61e442
Merge remote-tracking branch 'origin/main' into refactor/wp1-persiste…
Aureliolo c765393
fix: address CodeRabbit review on persistence-layer-discipline (error…
Aureliolo 3bc7d0d
fix: exhaustive owner detection in bootstrap + tolerant ceremony hydr…
Aureliolo 1c3f726
chore: regenerate runtime_stats.yaml (convention_gates 46->47, test c…
Aureliolo 949abda
fix: babysit round 8, codecov/patch coverage (pagination-validation +…
Aureliolo a973311
fix: babysit round 9, CodeRabbit review 4304596685 (13 findings) + ru…
Aureliolo 5f998ff
fix: babysit round 10, Test Integration postgres parity + CodeRabbit …
Aureliolo 146c7d9
fix: babysit round 11, CodeRabbit review 4304654075 (Task/Message/Cos…
Aureliolo 73bb723
fix: babysit round 12, codecov/patch coverage (project_repo pg+sqlite…
Aureliolo 36cda40
fix: babysit round 13, codecov/patch coverage (sqlite decision_repo u…
Aureliolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.