Bundle: redb-identity / src/redb.Identity.Contracts.Module (src.redb.Identity.Contracts.Module.txt), 4 files
Snapshot: development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Index: https://redbase.app/src/dev-2026-12-06/redb-identity/_index.txt
====
Path: redb-identity/src/redb.Identity.Contracts.Module/InitRoute.cs
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts.Module/InitRoute.cs
----
using redb.Route.Abstractions;
// Tsak resolves the {Module}.config.json file by InitRoute's namespace
// (TsakModuleRegistry.DiscoverModulesInAssembly). Keep this namespace aligned with the shipped config
// filename `redb.Identity.Contracts.Module.config.json`.
namespace redb.Identity.Contracts.Module;
///
/// Deliberately empty Tsak module. This package exists for its companion, not its code:
/// redb.Identity.Contracts.dll — the DTO assembly whose types cross the direct-vm://
/// boundary between the Identity core and its facades — ships here and nowhere else.
///
/// Why a package of its own: companions load through LoadedAssemblyTracker into one
/// process-wide instance, but a package's hot-reload force-replaces its own companions. While the
/// contracts rode inside Core.Module.tpkg, reloading the core alone handed the new core a new
/// Contracts instance and left every facade holding the old one — the same CLR type in two
/// copies, and a typed body crossing the boundary quietly became null on the other side
/// (Tsak F-12). In its own package the contracts survive any single module's reload untouched.
///
///
/// The corollary is the deployment rule this design makes explicit: reloading this package
/// replaces the contracts instance, so it must be followed by reloading every module that uses them —
/// which a contract change requires semantically anyway, in any architecture.
///
///
public static class InitRoute
{
/// No routes, no components, no listeners — the payload is the companion DLL.
public static IRouteContext main(IRouteContext context) => context;
}
Path: redb-identity/src/redb.Identity.Contracts.Module/Module/manifest.json
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts.Module/Module/manifest.json
----
{
"Name": "redb.Identity.Contracts",
"Version": "1.0.0",
"EntryPoints": ["redb.Identity.Contracts.Module.dll"],
"Dependencies": []
}
Path: redb-identity/src/redb.Identity.Contracts.Module/redb.Identity.Contracts.Module.config.json
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts.Module/redb.Identity.Contracts.Module.config.json
----
{
"//": [
"Tsak Layer 4 stub. This module is deliberately empty: the package exists to carry",
"redb.Identity.Contracts.dll as its companion, giving the whole worker ONE instance of the",
"contracts assembly that survives hot-reloads of every other Identity module.",
"Reloading THIS package replaces that instance and must be followed by reloading every",
"Identity module — which a contract change requires anyway."
],
"ContextName": "identity.contracts",
"AutoStart": true
}
Path: redb-identity/src/redb.Identity.Contracts.Module/redb.Identity.Contracts.Module.csproj
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts.Module/redb.Identity.Contracts.Module.csproj
----
redb.Identity.Contracts.Module
redb.Identity.Contracts.Module
Carrier package for redb.Identity.Contracts — the one process-wide instance of the DTO assembly every Identity module resolves against. The module itself does nothing; the package exists so that reloading any single module never replaces the contracts underneath the others.
PreserveNewest
PreserveNewest