@oxface/modular-monolith-patterns 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/LICENSE +201 -0
- package/README.md +99 -2
- package/SKILL.md +29 -0
- package/bootstrap.md +117 -0
- package/dist/cli.js +137 -0
- package/dist/skill/CHANGELOG.md +10 -0
- package/dist/skill/README.md +100 -0
- package/dist/skill/SKILL.md +29 -0
- package/dist/skill/bootstrap.md +117 -0
- package/dist/skill/bundle.json +25 -0
- package/dist/skill/dotnet-react-vite.md +244 -0
- package/dist/skill/entity-work.md +93 -0
- package/dist/skill/first-module.md +135 -0
- package/dist/skill/gloaming.md +69 -0
- package/dist/skill/kafka.md +142 -0
- package/dist/skill/messaging.md +89 -0
- package/dist/skill/modules.md +75 -0
- package/dist/skill/postgres-wakeups.md +96 -0
- package/dist/skill/structure.md +81 -0
- package/dist/skill/verification.md +81 -0
- package/dotnet-react-vite.md +244 -0
- package/entity-work.md +93 -0
- package/first-module.md +135 -0
- package/gloaming.md +69 -0
- package/kafka.md +142 -0
- package/messaging.md +89 -0
- package/modules.md +75 -0
- package/package.json +39 -4
- package/postgres-wakeups.md +96 -0
- package/structure.md +81 -0
- package/verification.md +81 -0
package/verification.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Verify the resulting application
|
|
2
|
+
|
|
3
|
+
Apply the target repository's checks, then verify the selected behavior. Record actual commands
|
|
4
|
+
and outcomes; a project list or copied test does not establish working composition.
|
|
5
|
+
|
|
6
|
+
## Build and architecture
|
|
7
|
+
|
|
8
|
+
- Restore/build the selected solution with its pinned SDK/packages.
|
|
9
|
+
- Prove locked restore with the exact selected Gloaming archives from an initially empty package
|
|
10
|
+
cache. Record the archive source and any temporary bridge; a warm cache can hide distribution gaps.
|
|
11
|
+
- Verify module implementations do not reference each other or host projects.
|
|
12
|
+
- Verify business callers use Contracts; composition and migration roots may reference
|
|
13
|
+
native implementation configuration deliberately.
|
|
14
|
+
- Ensure library dependencies match selected capabilities and local package versions restore
|
|
15
|
+
without Gloaming source ProjectReferences.
|
|
16
|
+
- Verify all solution, tooling and CI paths against the actual target repository.
|
|
17
|
+
- Include selected SDK-style AppHosts/shared orchestration projects in solution checks. Verify
|
|
18
|
+
the pinned CLI can start the exact host as well; solution build alone does not prove CLI startup.
|
|
19
|
+
|
|
20
|
+
Run the scaffold's own formatting/analyzer checks with its generated-file policy. If hooks check
|
|
21
|
+
staged content, retain an isolated Git fixture proving both directions: staged errors fail despite
|
|
22
|
+
an unstaged fix, and clean staged content passes despite unfinished working-tree edits. Include
|
|
23
|
+
linked workspace dependencies and staged formatter configuration; preserve the real index.
|
|
24
|
+
|
|
25
|
+
## Module persistence
|
|
26
|
+
|
|
27
|
+
For each requested module, exercise a real accepted operation and read it through its API.
|
|
28
|
+
Cover invalid/stale work, native rollback and module/tenant isolation. A new module's schema,
|
|
29
|
+
migrations and migration history belong to it.
|
|
30
|
+
Exercise denied direct Contracts calls as well as HTTP authorization. For first-login account
|
|
31
|
+
creation, race registration of one issuer/subject and verify one account and its selected audit.
|
|
32
|
+
Keep global pre-admission registry checks distinct from tenant-owned persistence isolation.
|
|
33
|
+
|
|
34
|
+
Use the actual provider for provider guarantees. If data already exists, prove a populated
|
|
35
|
+
forward migration and compatible payload/result readers; a new empty database is insufficient.
|
|
36
|
+
For selected event sourcing, include event/head/inline-state atomicity and optimistic conflicts.
|
|
37
|
+
For transactional audit, inject a database failure and check from fresh state that neither
|
|
38
|
+
business nor history writes remain. Use the runtime role to attempt forbidden schema changes
|
|
39
|
+
and audit updates/deletes, alongside successful permitted operations.
|
|
40
|
+
|
|
41
|
+
For RLS, verify restricted runtime credentials, policies, transaction-local context, denied
|
|
42
|
+
foreign writes and unfiltered SQL behavior. Query filters alone cannot prove these properties.
|
|
43
|
+
|
|
44
|
+
## Hosts and operations
|
|
45
|
+
|
|
46
|
+
Verify Server startup and one real endpoint. Verify Migrator applies the selected migrations
|
|
47
|
+
and exits with failure when setup fails. Verify AppHost resource references, migration completion
|
|
48
|
+
ordering and configured readiness before claiming local orchestration works.
|
|
49
|
+
|
|
50
|
+
For configured OIDC, use the actual local issuer for one login/callback/protected/logout flow.
|
|
51
|
+
Test-only authentication verifies application policy separately and does not certify OIDC.
|
|
52
|
+
Restart the developer stack and verify persistent data, identity mappings and signed-in cookies.
|
|
53
|
+
An E2E stack owns separate data, identity/key storage, ports and lifecycle; prove it leaves the
|
|
54
|
+
developer stack intact and retains ownership information when cleanup fails.
|
|
55
|
+
A selected worker must establish fresh admitted scopes, propagate cancellation, expose faults
|
|
56
|
+
and follow the chosen native supervision/restart policy.
|
|
57
|
+
|
|
58
|
+
For the selected .NET/React/Vite profile, complete its
|
|
59
|
+
[clean-consumer acceptance sequence](dotnet-react-vite.md#clean-consumer-acceptance).
|
|
60
|
+
|
|
61
|
+
## Durable behavior
|
|
62
|
+
|
|
63
|
+
When messaging is selected, prove transactional enqueue/intake, duplicate handling, rollback,
|
|
64
|
+
competing consumers, uncertain completion and actual process recovery. External provider effects
|
|
65
|
+
need their own idempotency/reconciliation policy.
|
|
66
|
+
|
|
67
|
+
When command receipts are selected, prove replay of the original result after uncertain commit,
|
|
68
|
+
input conflict and current authorization. Do not repeat a business decision because decoding an
|
|
69
|
+
old retained result fails.
|
|
70
|
+
|
|
71
|
+
## Handoff
|
|
72
|
+
|
|
73
|
+
Update the consuming application's architecture and setup docs with its module map, native
|
|
74
|
+
infrastructure, credentials/configuration names and transaction owners.
|
|
75
|
+
Report implemented behavior, checks actually run, configuration still required and unresolved
|
|
76
|
+
business decisions. Keep unsupported guarantees explicit. Avoid empty placeholders and invented
|
|
77
|
+
extra modules merely to fill the preferred layout.
|
|
78
|
+
Distinguish fresh execution from historical evidence, retained automated checks from one-off
|
|
79
|
+
fixtures, and local results from remote CI/deployment. Name the reviewed source revision,
|
|
80
|
+
package versions/archive source and selected capability coverage; a first access slice does not
|
|
81
|
+
certify every library family.
|