Improve architecture guardrails for FluentFrame - #56
Merged
Kingson4Wu merged 3 commits intoAug 31, 2026
Merged
Conversation
Kingson4Wu
deleted the
loop/fluent-frame/harness-auto/1788114600000-fluent-frame-harness-auto
branch
August 31, 2026 05:34
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Harness Assessment
1788114600000-fluent-frame-harness-auto93, below target9593; remaining findings are generic architecture slice prompts, with.codegraphabsent from guard files. Architecture subtask limit was reached after three bounded rounds.95; no confirmed bug/security issue was found in checked signals.Selected Subtasks
backgroundMessages.ts.protocolScalars.ts, preserving the stricterresultValidation.tsarray rejection behavior.hostRouter.Skipped Subtasks
pnpm audit --audit-level highfound no known high vulnerabilities and no reachable security issue was confirmed.Changes
apps/extension/src/backgroundMessages.tsas the single extension-owned background message object guard.isProtocolObjectinpackages/shared/src/protocolScalars.tsand reused it in host protocol parsers.Verification
node --test scripts/tests/architecture-boundaries.test.mjspassed, 27/27.pnpm run typecheckpassed across shared, extension, and native-host workspaces.pnpm testpassed: shared 42/42, extension 140/140, native-host 132/132, script tests 45/45.pnpm audit --audit-level highpassed: no known vulnerabilities found.git diff --checkpassed.Remaining Risk
93despite the completed slices; the remaining assessment output is generic and the configured architecture subtask maximum has been reached.parseHostRequest/parseHostResponseare deferred because they carry higher behavior risk than this harness run allows.