Skip to content

feat(v3): add interface-projected service bindings - #5949

Closed
mortenolsrud wants to merge 5 commits into
wailsapp:codex/mpress-markdownfrom
mortenolsrud:feat/service-binding-projections
Closed

mortenolsrud wants to merge 5 commits into
wailsapp:codex/mpress-markdownfrom
mortenolsrud:feat/service-binding-projections

Conversation

@mortenolsrud

Copy link
Copy Markdown
Contributor

Description

Adds interface-projected service registration for Wails v3. Applications can keep a full concrete Go service while exposing only an explicitly declared interface to the frontend:

type FrontendAuth interface {
    Login() wailspkceflow.AuthResult
    Logout() wailspkceflow.AuthResult
    AuthStatus() pkceflow.AuthStatusResult
    IsAuthenticated() bool
    Claims() (wailspkceflow.ClaimsDTO, wailspkceflow.AuthResult)
    RestoreStatus() wailspkceflow.RestoreStatus
}

authSvc, err := wailspkceflow.New(opts)
if err != nil {
    return err
}

app := application.New(application.Options{
    Services: []application.Service{
        application.NewServiceAs[FrontendAuth](authSvc),
    },
})

// The complete backend API remains available to Go.
tokenFn := authSvc.Client().TokenFn(ctx)

NewServiceAsWithOptions[FrontendAuth](authSvc, options) provides the equivalent options-bearing registration.

Why this is needed

NewService currently registers every exported method on the concrete service. That is convenient for application-only services, but it forces libraries with mixed frontend and backend responsibilities to add forwarding facade structs solely to define a trust boundary.

The motivating case is wails-pkceflow. Its frontend should call Login, Logout, status, and claims methods, while Go needs Client, Pause, and Resume. Today the wrapper maintains a separate FrontendService, forwards six methods plus lifecycle hooks, and asks applications to register authSvc.Frontend(). The facade has no domain behavior; it exists only because Wails cannot filter registration.

Generator directives such as //wails:ignore are not sufficient for this use case. They remove methods from generated JavaScript or TypeScript, but the low-level runtime can still dispatch a registered method by name or ID. A security-sensitive boundary has to be enforced by runtime registration as well as code generation.

How it works

  • NewServiceAs[API](instance) records the named interface projection while retaining the original concrete instance.
  • The Go compiler verifies that the supplied concrete value implements API.
  • Runtime registration validates the projection and filters the concrete method set before either name or ID registration. Methods outside the interface are unreachable through both dispatch paths.
  • The binding analyser pairs the projection with the statically concrete pointer passed at registration. Generated JS/TS contains only projected methods.
  • Generated modules, FQNs, and method IDs retain the concrete service identity. Existing import layout and call IDs remain predictable.
  • Obfuscation metadata is emitted only for projected concrete methods.
  • ServiceName, ServiceStartup, ServiceShutdown, HTTP routing, and backend access continue to use the concrete instance and are independent of the frontend projection.
  • Existing NewService and NewServiceWithOptions behavior is unchanged.

Why an interface instead of a string allowlist

  • Interface satisfaction is compile-time checked.
  • The declaration is a normal Go API contract that can be documented, embedded, reused, and mocked.
  • It is fail-closed: adding an exported method to the concrete service does not expose it.
  • The generator can inspect the same contract as the runtime.
  • Renames and signature changes fail during compilation instead of becoming stale string entries.

Tradeoffs and limitations

  • Applications or libraries must declare one additional interface. This replaces forwarding facade code but is still an extra API declaration.
  • The projection type argument must be supplied explicitly; inferring the concrete type is rejected at runtime.
  • The generator needs the concrete pointer at the NewServiceAs or NewServiceAsWithOptions call. Passing an interface-typed variable, or hiding the call behind a generic wrapper whose argument remains a type parameter, produces a warning because the concrete generated module cannot be identified. A non-generic helper with a concrete service parameter works.
  • A concrete service type has one generated frontend shape. Conflicting full/projected registrations or different projections for the same concrete type are reported instead of generating an ambiguous union.
  • Each Service value stores one additional reflect.Type; ordinary unprojected services leave it nil.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update (included)
  • Breaking change

How Has This Been Tested?

Repository coverage

  • go test -count=1 ./... from v3 (full suite, including the existing generator matrix)
  • go test -race -count=1 ./pkg/application
  • go test -race -count=1 ./internal/generator -run 'TestFindProjectedService|TestGenerateProjectedService'
  • go vet ./internal/generator
  • go vet -unsafeptr=false ./pkg/application
  • go test -count=1 -tags gtk3 ./pkg/application
  • Windows amd64 cross-build of ./pkg/application and ./internal/generator
  • git diff --check and gofmt -l on all changed Go files

New tests cover:

  • runtime calls by concrete FQN and stable/obfuscated ID;
  • backend-only methods absent by both name and ID;
  • concrete lifecycle retention;
  • inferred, anonymous, unexported-method, and nil projections failing closed;
  • direct and options-bearing constructors;
  • embedded projection interfaces;
  • a projection and concrete service in different packages;
  • generated method filtering and exact method counts;
  • filtered obfuscation metadata.

wails-pkceflow application validation

I copied and adapted the real examples/wails-desktop module to register *AuthService directly through the six-method interface shown above, with this branch replacing Wails locally.

Verified:

  • all six frontend methods register by name and ID;
  • Client, Pause, Resume, and the old Frontend facade register by neither name nor stable ID;
  • startup and shutdown interfaces remain on the concrete service;
  • the generator reports exactly 1 service and 6 methods;
  • generated AuthService exports match runtime IDs exactly;
  • generated and obfuscation metadata contain exactly the six projected methods;
  • normal and wails_obfuscated tests pass;
  • go vet ./... passes in the adapted application;
  • normal Linux, obfuscated Linux, and Windows amd64 builds pass.

Environment notes

  • Full-repository go vet ./... still reports existing diagnostics in intentional generator fixtures and existing Linux unsafe.Pointer code. Scoped vet for both changed packages passes as listed above.
  • The docs build was not runnable on this host because Node/npm is not installed. The MDX change is limited to the Services guide.
  • macOS runtime testing was not available. The implementation is platform-independent; Linux tests and Windows cross-builds pass.

Checklist

  • My code follows the general coding style of this project
  • I have performed a self-review of my own code
  • I have commented the non-obvious analyser and runtime behavior
  • I have made corresponding changes to the documentation
  • I have added tests that prove the feature and trust boundary work
  • New and existing unit tests pass locally

Closes #5948

@github-actions github-actions Bot added Documentation Improvements or additions to documentation v3 bindings labels Aug 11, 2026
@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mortenolsrud
mortenolsrud force-pushed the feat/service-binding-projections branch from 189c6c5 to 6fd5d1f Compare August 11, 2026 11:55
@leaanthony

Copy link
Copy Markdown
Member

This is great and something that I experimented with early on in the service development. Things to consider before merging:

  • Add tests for conflicting registrations of the same concrete service with different projections, and for projected plus unprojected registration. This may actually be something Wails rejects outright with an "Already registered" error.
  • Add explicit tests for the documented unsupported shapes: interface-typed variables and generic wrappers. These currently produce a warning and omit generated bindings; Generate ultimately returns that warning as an error, but the behaviour deserves regression coverage.
  • Consider making the “concrete pointer must be directly visible” limitation an explicit error rather than a warning, since it is required for generated bindings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds interface-projected service registration to Wails v3 so apps can register a concrete Go service while exposing only an explicitly declared (named) interface to the frontend, with both runtime dispatch and generated bindings constrained to the projection.

Changes:

  • Introduces NewServiceAs / NewServiceAsWithOptions and threads a bindingProjection through service registration and runtime binding discovery.
  • Updates the generator analyser + collector so generated JS/TS bindings and obfuscation metadata include only projected methods.
  • Adds runtime/generator tests and updates the Services documentation to describe projection usage and constraints.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
v3/pkg/application/services.go Adds projected-service constructors and stores the projection type on Service.
v3/pkg/application/services_test.go Adds coverage for options + lifecycle retention with projected services.
v3/pkg/application/bindings.go Filters bound methods by an optional named-interface projection and validates projections at runtime.
v3/pkg/application/bindings_test.go Adds runtime tests ensuring projected methods are callable and non-projected methods are unreachable by name/ID.
v3/internal/generator/testdata/service_projection/service.go New generator fixture registering a projected service.
v3/internal/generator/testdata/service_projection/backend/service.go New backend fixture service with both projected and backend-only methods.
v3/internal/generator/service.go Passes projection information into service collection/generation.
v3/internal/generator/service_projection_test.go New tests asserting generated bindings/metadata include only projected methods.
v3/internal/generator/generate.go Schedules generation for discovered ServiceBinding values (type + optional projection).
v3/internal/generator/collect/service.go Filters collected service methods to those declared by the projection interface (when present).
v3/internal/generator/collect/package.go Stores service collection state including the associated projection.
v3/internal/generator/analyse.go Adds projected-service discovery (NewServiceAs*) and yields ServiceBinding (type + projection).
v3/internal/generator/analyse_test.go Updates analyser expectations to account for ServiceBinding results.
docs/src/content/docs/features/bindings/services.mdx Documents interface projections, constraints, and security rationale vs //wails:ignore.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread v3/pkg/application/bindings.go Resolved
Comment thread v3/pkg/application/bindings_test.go Resolved
Add NewServiceAs registration variants that expose only a named interface while retaining the concrete service for backend and lifecycle use. Keep runtime dispatch, generated bindings, and obfuscation metadata on the same fail-closed method set.

Refs wailsapp#5948
@mortenolsrud
mortenolsrud force-pushed the feat/service-binding-projections branch from 6fd5d1f to 5094174 Compare August 12, 2026 07:50
@mortenolsrud

Copy link
Copy Markdown
Contributor Author

Thanks — addressed in 5094174 after rebasing onto current master.

  • Runtime registration now tracks concrete service types and rejects a second registration even when projections are disjoint. Tests cover different projections and projected/unprojected registration in both orders.
  • Generator fixtures and regression tests now cover an interface-typed variable and a generic wrapper.
  • Failure to determine the concrete service pointer is now an explicit analyser error rather than a warning, since complete generated bindings require it. The documentation now states this behavior.
  • I also added typed-nil receiver rejection and coverage in response to the Copilot review.

Validation passed for the full application and generator package suites, application race tests, focused generator race tests, scoped vet, legacy GTK3 application tests, a Windows amd64 cross-build, formatting, and diff checks.

@mortenolsrud

mortenolsrud commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor Author

@leaanthony Ok, based on feedback from @fbbdev on issue #5948 I went down a rabbit hole, and after discussing with a colleague, and having Claude inspect suitability for our suggestions in the code-base, I have some discoveries to share. Sorry for the wall, I had to have Claude summarize the thing. It got a bit long, but now it at least is shorter ;)


Summary of the service-binding discussion

fbbdev’s feedback identified that the original issue and PR combine two related but distinct concerns:

  1. A library or plugin author wants to publish a safe frontend surface without maintaining forwarding boilerplate.
  2. An application author wants to restrict arbitrary methods at registration time.

wails-pkceflow motivated the first concern, while NewServiceAs primarily implements the second.

What the existing Wails model can already do

The current FrontendService does not need to forward every method manually. It can embed a private interface containing only the permitted frontend methods and Wails lifecycle capabilities:

type frontendAuth interface {
    application.ServiceName
    application.ServiceStartup
    application.ServiceShutdown
Login() AuthResult
Logout() AuthResult
AuthStatus() pkceflow.AuthStatusResult
IsAuthenticated() bool
Claims() (ClaimsDTO, AuthResult)
RestoreStatus() RestoreStatus

}

type FrontendService struct {
frontendAuth
}

func (s *AuthService) Frontend() *FrontendService {
return &FrontendService{frontendAuth: s}
}

Go promotes only the methods declared by the embedded interface. Although its dynamic value is an *AuthService, methods such as Client, Pause, and Resume do not become methods of FrontendService.

Existing registration remains:

application.NewService(authSvc.Frontend())

This already provides a runtime-enforced allowlist because the backend methods are absent from the wrapper’s Go method set. The explicit forwards in the current library can therefore be removed.

fbbdev also showed how the library can mark the generated façade as internal and provide JS/TS re-exports so frontend users see:

AuthService.Login()

while the underlying generated and runtime identity remains:

FrontendService.Login

For wails-pkceflow, retaining the existing FrontendService type also preserves its current FQNs and binding IDs.

This means the original claim that Wails necessarily requires maintaining forwarding methods was too strong. It requires a second concrete type, but that type can be a very small embedded-interface façade.

Library-controlled registration provider

We then considered taking that pattern further by letting a service tell Wails which service should actually be registered:

type ServiceRegistrationProvider interface {
WailsService() Service
}

NewService could recognise this contract:

func NewService[T any](instance *T) Service {
if instance != nil {
if provider, ok := any(instance).(ServiceRegistrationProvider); ok {
return provider.WailsService()
}
}

return Service{
    instance: instance,
    options:  DefaultServiceOptions,
}

}

The library would implement:

var _ application.ServiceRegistrationProvider = (*AuthService)(nil)

func (s *AuthService) WailsService() application.Service {
return application.NewService(s.Frontend())
}

Applications would then use ordinary registration:

application.NewService(authSvc)

Wails would receive the returned FrontendService, so all existing behavior would continue naturally:

  • Bindings inspect FrontendService.
  • Lifecycle detection runs against FrontendService.
  • Its embedded interface promotes the lifecycle calls to AuthService.
  • Service naming and HTTP routing use the returned service.
  • Shutdown uses the same returned instance.
  • Service.Instance() returns the effective frontend service.
  • Backend code still retains the original authSvc.

This requires no additional fields in application.Service and no restructuring of application startup or shutdown. NewServiceWithOptions can continue delegating to NewService, with application-supplied options overriding provider defaults.

It also makes the safe library surface the default. A consumer using the normal registration API cannot accidentally expose the complete AuthService.

Generator requirements

Provider detection cannot be runtime-only. The generator must make the same substitution.

For:

application.NewService(authSvc)

it must recognise that AuthService implements ServiceRegistrationProvider, follow the concrete NewService call inside WailsService, and generate only FrontendService.

The provider contract should therefore be fail-closed:

  • The returned service must resolve to one statically identifiable concrete type.
  • Nil or zero services must be rejected.
  • Provider cycles and self-registration must be rejected.
  • Conditional or otherwise unresolvable service selection should be a generator error.
  • Failure to analyse the provider must never fall back to exposing the original service.
  • Low-level Bindings.Add use must receive the same effective service.

Returning application.Service is preferable to returning any: Go does not support covariant interface return types, and an any return would hide the concrete service type from static analysis.

Relationship to NewServiceAs

The two APIs solve complementary ownership models.

  NewServiceAs Registration provider
Exposure policy owned by Application Library
Registration style Explicit projection constructor Ordinary NewService
Concrete façade required No Yes, but no forwarding
Bound identity Original concrete service Library-returned service
Lifecycle target Original concrete service Library-returned service
Best suited for App-specific narrowing Library-enforced safe defaults

fbbdev’s feedback weakens the forwarding-boilerplate motivation for NewServiceAs, but does not invalidate it. NewServiceAs still offers capabilities that the façade/provider approach does not:

  • An application can narrow a service it owns or consumes.
  • No second concrete service type is needed.
  • Concrete service identity, module name, lifecycle, routing, and IDs are retained.
  • The projection can be defined locally by the application.
  • It is useful when the desired frontend surface is application-specific rather than library-defined.

The PR description should therefore stop presenting explicit forwarding façades as unavoidable. Its motivation would be stronger if framed around application-controlled least privilege, preserving concrete identity, and enforcing one interface consistently across runtime and generation.

It should also acknowledge the embedded-interface façade as an existing library-controlled alternative and explain the tradeoff instead of presenting NewServiceAs as its universal replacement.

If both paths are considered useful

The provider should be a separate proposal and implementation PR because it changes the behavior of the existing NewService API, whereas NewServiceAs adds a new opt-in constructor. They share motivation and generator infrastructure, but have different semantics and review risks.

A formal proposal could discuss both as part of one service-exposure model, while keeping their implementations separate.

Their interaction must nevertheless be defined. In particular:

application.NewServiceAs[SomeAPI](authSvc)

must not accidentally bypass a library-controlled provider.

The safest coexistence rule would be:

  1. Resolve the library provider first.
  2. Treat the returned service as the maximum surface the library permits.
  3. Apply SomeAPI as a further narrowing of that effective service.
  4. Reject the registration if the returned service does not implement the requested projection.

Conceptually:

original service
    → library-provided safe service
        → optional application projection

This lets an application expose less than the library permits, but not more.

Supporting that rule would eventually require changes around NewServiceAs:

  • Share provider resolution with NewService.
  • Apply bindingProjection to the effective returned service.
  • Validate that the effective service implements the projection.
  • Make the generator follow the same provider-then-projection sequence.
  • Key conflicts and generated identity to the effective concrete service.
  • Add tests proving that a projection can narrow a provider façade but cannot recover backend-only methods.

For non-provider services, NewServiceAs would behave exactly as the current PR specifies.

Overall conclusion

Three valid levels now emerge:

  1. Embedded-interface façade: works with Wails today and removes forwarding boilerplate.
  2. Registration provider: makes a library-owned façade the safe default behind ordinary NewService.
  3. NewServiceAs: gives applications explicit control over registration-time narrowing while preserving concrete identity.

For wails-pkceflow, the embedded façade plus provider contract appears especially natural because the library should define its safe frontend API. NewServiceAs remains independently useful for application-owned services and application-specific projections.

@fbbdev

fbbdev commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Hi all, I am going to comment first on the idea of registration providers. After that, I'll discuss a couple implementation details for the projection feature, since there is interest in it.

Registration providers

I like the idea a lot. It's clean, simple, and it doesn't require major changes to the binding generator.

On the DX side, it could create some issues with people heavily bent on moving all logic to the frontend. Personally, as a library author, I skew towards a "consenting adults" model à la Python. But in this case Wails is simply making a design choice available to library authors, and there is no reason to expect a negative impact on Wails itself.

Having the WailsService method return an instance of application.Service has the added benefit that the right type to bind will be discovered automatically (since that instance will have been constructed in turn by a call to NewService).

Off the top of my head, the only required changes should be:

  1. at runtime, let application.NewService check for registration providers (as detailed by @mortenolsrud 's comment)
  2. in the binding generator, filter out during service discovery all types that implement the registration provider interface (specifically, one should retrieve and cache the go/types object for application.ServiceRegistrationProvider and check whether discovered service types implement it, there should already be examples of this pattern in the codebase). Also log an info message every time a registration provider is skipped (as we do for services with no methods).

By the way, I suggest renaming the provider method WailsService to ServiceInstance, to keep with the naming scheme for existing lifecycle methods.

I agree that it makes sense to implement this as a separate PR, and because it's such a minimal change my suggestion is to open and merge it before the present one, which is a bit more complex.

A difficulty and tentative solution

One minor inconvenience is that the binding generator won't be able to automatically alias the registration provider to the actual registered service. Not just because it would require complex control flow analysis (that we chose to avoid long ago due to the excessive maintenance burden) but also because in some situations it might not be well-defined, for example if the registration provider returns different services depending on runtime configuration.

A possible solution might be to give up the ServiceRegistrationProvider interface and instead require the method to return a pointer to concrete type:

func (_ *Provider) ServiceInstance() *T

where T must be a named, non-interface type (validated by the binding generator).

Then we could generate bindings for T and output Provider as an alias for T.

Apart from a loss of flexibility, the big issue with this approach is on the runtime side: since we can't use type assertions, we'd have to look up the method using reflection, and I'm not 100% sure it would stay compatible with garble.

Another potential solution would be to offer an API along the lines of

type RegistrationProvider ...

func init() {
    application.ServiceAlias[RegistrationProvider, RealService]()
}

Then validate at runtime that alias registrations are unique, and moreover check in NewService that whenever an alias is present for a service type then the type is also a registration provider, and the provided service is of the aliased type.

The binding generator could then discover instantiations of application.ServiceAlias and generate import/export directives as needed.

Though at this point I really feel we would be sliding into WEP territory as it would be nice to get some community feedback on API design.

Update: reflecting further upon the ServiceAlias idea, it came to my mind that one could well implement first the simpler and more linear registration provider idea and later work out the service aliasing API, since it's additive and requires no breaking change.

@fbbdev

fbbdev commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

The projection feature

As a separate comment, since the other one grew into a wall 😅.

The implementation looks good to me overall.

I'd rework the public API slightly; I will present the approach first and then discuss rationale.

func NewServiceAs[P any, T any](instance *T) Service {
    // ...
}

func NewServiceAsWithOptions[P any, T any](instance *T, options ServiceOptions) Service {
    service := NewServiceAs[P](instance)
    service.options = options
    return service
}

func NewService[T any](instance *T) Service {
    return NewServiceAs[T](instance)
}

func NewServiceWithOptions[T any](instance *T, options ServiceOptions) Service {
    return NewServiceAsWithOptions[T](instance, options)
}

Invariants enforced at binding generation time (build time):

  • P is either T or an interface type
  • if P is an interface type, then *T implements P
  • T is a concrete named type

Invariants enforced at binding registration time (run time):

  • all three above, plus
  • instance is non-nil

The semantics of letting P = T are simply that no restriction is made, as if NewService was called.

Rationale

The main reason for this change is to preserve the current discovery logic based on iterating over generic instantiations returned from go/types, thus avoiding AST scans and expression type analysis.

Avoiding AST scans is a decision we made long ago with @leaanthony because:

  • it is hard to cover properly the myriad ways a function template could be instantiated and called (think indirect calls, arguments of non-concrete or non-pointer type, etc.)
  • AST scanning creates a strong coupling between our analyser and the go spec, generating a heavy maintenance burden as the spec evolves.

A couple years ago I had actually implemented a full-blown static analyser capable of discovering service types through arbitrarily long chains of non-concrete expressions, but we scrapped it in favour of the approach based on concrete generics because we determined it would be too fragile in face of planned/proposed future changes to the language.

What is lost:

  • no compile-time check that the service type implements the projection interface

What stays the same:

  • API usage, since you can still provide just the first generic argument and let the compiler infer the second one

What is gained:

  • simple and robust service discovery based on generic instantiations
  • static analysis targets just one function (NewServiceAs) instead of multiple ones, since the others delegate to NewServiceAs
  • uniform generation-time and registration-time checks
  • compile-time check that the instance argument is a pointer, which is required for proper handling of pointer-based methods and has the added benefit of making it hard to accidentally pass non-concrete values.

Merge wailsapp#6137 into wailsapp#5949 without rewriting original commits; add all nine documentation translations.
@taliesin-ai
taliesin-ai changed the base branch from master to codex/mpress-markdown September 18, 2026 11:35
@taliesin-ai

Copy link
Copy Markdown
Collaborator

Ported the service-binding projection documentation onto #6137 (codex/mpress-markdown), retaining the original implementation and commit history. The existing services page now contains the authored projection section in English and all nine locales, an M-Press caution, a stable section anchor, and verified links to localized service options. No retired Starlight files remain.

Validation passed: pinned M-Press build --strict --no-purge-css (2,010 pages), mpress check, and check_site.py (2,011 HTML pages, zero errors). Existing generator tests TestFindProjectedService|TestGenerateProjectedService and runtime tests TestServiceBindingProjection|TestNewServiceAsWithOptions passed. Manual review and scoped whitespace/content-preservation checks passed.

Translation compatibility remains with the upstream task: 7,679 findings versus 7,678 at migration 7b0f6dc09. The extra finding is the preexisting German “Dependency Injection” heading: its hash-bound exception became stale after adding the section. Finding categories otherwise match baseline; no audit exceptions or implementation fixes were added.

Required coderabbit --plain was attempted (unsupported flag), followed by one narrow review --uncommitted --light --dir docs/mpress/content/features/bindings; the shared OSS quota blocked review. No credits spent. This is a docs migration, not a new implementation review.

@taliesin-ai

Copy link
Copy Markdown
Collaborator

Whitespace-only follow-up to the #6137 docs port: removed the single extra blank line introduced before the following heading in each of the nine translated projection sections (9 files, 9 blank-line deletions). English, all prose/code, and audit exemptions are unchanged; the German proper-name stale-hash finding remains untouched. No additional migration merge.

Validation: strict M-Press build --no-purge-css (2,010 pages), link/asset check, generated-site checker (2,011 HTML pages, zero errors), and manual exact-whitespace diff checks passed. Required coderabbit --plain rejected the unsupported flag; the single light fallback reviewed all 9 changed files and reported no findings, without paid credits.

Audit delta with the pinned CLI: 7,679 → 7,679, byte-identical finding lists. Its existing earlier per-page structure mismatches mask the later blank-line mismatch; all nine inserted section boundaries now match English. Full compatibility remains with the upstream translation task; no exemptions added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bindings Documentation Improvements or additions to documentation v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v3] Add interface-based service binding projections

5 participants