rdmbair15m5-changelog-20260920-1706-replicantdb-governor-m3-appintents-parity
rdmbair15m5-changelog-20260920-1706-replicantdb-governor-m3-appintents-parity
Delivered Adaptive Backoff Governor Milestone 3 (S6 process tree session attribution, S8 fleet directive integration, CLI governor controls) and native macOS App Intents baseline parity for ReplicantDB.
Scope
- Hosts: rdmbair15m5 (build/test verification), rdmsm4x (canonical mutable repository fast-forward), fleet-wide (via git.ecs0.net and GitHub backup).
- Repositories:
/Users/richh/dev/apps/replicantDB,git.ecs0.net:git/apps/replicantDB.git,https://github.com/richhdoty/rdmsm4x-dev-apps-replicantdb.git.
Files Touched
Package.swift: AddedReplicantDBSyncSchemaandReplicantDBMobiledependencies toReplicantDBtarget.Sources/ReplicantDBCore/AgentSessionAttributor.swift(new): Session attribution engine walking process trees to identify parent PID and distinguish active agent sessions (CPU > 15% / active build) from resting agent sessions.Sources/ReplicantDBCore/SystemHostMetrics.swift: IntegratedprocessCensuswithAgentSessionAttributor.shared.attributeSessions().Sources/ReplicantDBCore/PressureLadder.swift: Integrated immediate elevation for fleet directive markers.Sources/ReplicantDBCore/IndexPressure.swift: AddedPressureSignalID.fleetDirective(S8).Sources/ReplicantDBCore/DirectiveTransports.swift: ImplementedFleetMarkerReaderfor~/.agent-coordination/BUDGET-HOLDand external hold directives.Sources/ReplicantDBCore/DaemonHealth.swift: Removed S8 fromknownUnimplementedSignals.Sources/ReplicantDBCLI/ReplicantDBCLI.swift: Implementedgovernor status [--json]andgovernor override <level|clear>.Sources/ReplicantDBCore/ReplicantDBAppIntentsModels.swift: PromotedFleetHostEntity(AppEntity),FleetHostQuery(EntityQuery), andFleetHostProviderto Core with explicitEquatableand string-literal display representations.Sources/replicantDB/ReplicantDBAppIntents.swift: AddedGetFleetStatusIntent,OpenReviewQueueIntent, and completeReplicantDBShortcuts(AppShortcutsProvider).Tests/ReplicantDBTests/AgentSessionAttributorTests.swift(new): 6 unit tests for session attribution.Tests/ReplicantDBTests/FleetMarkerDirectiveTests.swift(new): 4 unit tests for fleet marker reader.Tests/ReplicantDBTests/GovernorCLITests.swift(new): 7 unit tests for governor CLI commands.Tests/ReplicantDBTests/AppIntentsSurfaceTests.swift: Added 8 tests for entity resolution and property contracts.Tests/ReplicantDBTests/GovernorTelemetryTests.swift: Updated signal counts (5 evaluated, 4 unimplemented).Tests/ReplicantDBTests/AgentSessionAttributorChallengerTests.swift(new): 11 process hierarchy stress tests.Tests/ReplicantDBTests/FleetDirectiveAdversarialTests.swift(new): 16 adversarial tests for fleet directives and hysteresis.SESSION-STATE.md: Recorded milestone completion.ISSUES.md: Updated governor telemetry verification ticket to RESOLVED.
Verification Evidence
- Universal2 compilation:
dist/ReplicantDB.app,dist/replicantdb-cli,dist/replicantdb-mcpverified withlipo -archs(bothx86_64 arm64). - App Intents metadata:
dist/ReplicantDB.app/Contents/Resources/Metadata.appintents/extract.actionsdataextracted (19KB). - Automated test suites: 1,428 unit/integration tests passing (100% green across all 134 test suites), plus 11 challenger tests and 16 adversarial tests (total 1,455 tests passing, 0 failures).
- CLI live testing:
./dist/replicantdb-cli governor statusand./dist/replicantdb-cli governor status --jsontested and working. - Repository parity: Committed as
50d666b. Pushed togit.ecs0.net:git/apps/replicantDB.git(main) and GitHub backup (main). Canonical rootrdmsm4x:~/dev/apps/replicantDBfast-forwarded to50d666b.
Rollback & Undo
- To revert commit:
git revert 50d666band push to remotes. - Canonical state prior to commit:
1b450f7.
Outstanding Owner Actions
- None. All changes tested, verified, and synchronized across fleet remotes.