Harden Hermes chat continuity and activity rendering #21
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/hermes-chat-smoothness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Audit and scope
Validation
Existing repository finding
The full local quality gate still reports its pre-existing >500 LOC hygiene findings in four unrelated test files; docs, smell, unit, and coverage checks pass. Every changed production file and the new Python test file remain below 500 LOC.
No merge, deploy, Flux reconciliation, image publication, real Telegram call, or live-data mutation was performed.
Continuation acceptance evidence — 2026-08-17
Exact head:
c943ad453780e6e2bacb2506b1217bdd9107f97d.Required adversarial cases
test_existing_session_migration_repairs_labels_and_is_idempotent.test_context_is_deterministic_bounded_deduplicated_and_truthful,test_context_rejects_malformed_history_and_bounds_single_large_item,test_context_defensive_normalization_and_replay_edges, andtest_context_final_serialized_size_guard.test_migration_fails_closed_on_missing_or_malformed_databasesandtest_migration_skips_invalid_conversation_and_rolls_back_database_errors.test_api_patch_compacts_input_batch_and_disconnect_snapshotsplusTestSessionContinuityAssetHasAccessiblePollFallback.TestSessionContinuityAssetHasAccessiblePollFallback,TestSessionContinuityPollIsBoundedByRouter, and all fourTestBoundSessionSnapshot*cases.TestTelegramTopicContinuityExpiresOnlyAfterIdleWeek; legacy topic identity and privacy are covered byTestTelegramTopicValidationAndLegacyGeneralConversationandTestTelegramTopicsPersistWithoutStoringTelegramIdentity.TestTelegramActivityRepeatsAndStopsandTestTelegramActivityStopCancelsInflightRequest.TestTelegramImageEditPromptStatesTransportBoundaryandTestTelegramImageRequestStreamsMultimodalInput.TestParseTelegramReplyRemovesOneOrMoreInternalMarkers,TestParseTelegramReplyScrubsMalformedMarkersAndBarePrivatePaths,TestSendReplyUploadsPhotoWithCaptionThroughTenantAuth,TestSendReplyUploadsMultipleMarkersAndCaptionsOnlyFirst,TestSendReplySendsLongCaptionSeparately,TestSendReplyRejectsTraversalWithoutFetchingTenant, andTestSendReplyUsesOnlyLinkedTenantSlot.TestSubjectsReceiveStableIsolatedSlots,test_chat_mounts_continuity_only_into_isolated_tenants, andtest_sandbox_shares_only_the_tenant_workspace_without_credentials.test_cli_exact_manual_route_remains_exact_across_boundaries,test_manual_command_persists_a_switchyard_route_not_a_direct_provider, andtest_switchyard_owns_fallbacks_and_auto_clears_static_effort.Fresh verification results
go test -racepassed;go vetpassed; new executable Go source 96.4%.kustomize-controllerserver-side dry-runs passed.Read-only live reinspection
Router is 1/1 and tenant StatefulSet is 8/8; last two hours contain zero tenant-backend-unavailable and zero Telegram failure matches. API sessions currently labeled Unassigned: zero. The undeployed live Telegram chain remains 2,516 items / 1,943,119 bytes, confirming the bounded-history change is still evidence-backed. No live data, deployment, Flux state, Telegram endpoint, or image was mutated.
WIP: Harden Hermes chat continuity and activity renderingto Harden Hermes chat continuity and activity rendering