target-architecture
Skill1 starsChanged 39 days agoApache-2.0View on GitHub
Design the target Loams topology: namespaces and tenancy, collection schemas, data flows, identity, deployment, capacity, and failure domains. Use after fit decisions and before building the pilot.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- byog-deploySkill
- conformance-testingSkill
- cutover-operationsSkill
- data-migrationSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- sdk-portabilitySkill
- stack-inventorySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Design data flows: Write path, read path, backfill, dual-write, events, analytics.
- Distinctive: line 63
Do not assume replication on the light single-node stack.
- Distinctive: line 64
Do not mix tenants in a namespace without a written risk acceptance.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Target architecture
Turn fit decisions into a topology a team can build and an operator can run.
When to use
- Stage 2, after
company/architecture/fit.mdand the ADRs exist. - A new environment, region, or tenant is added.
- A security or tenancy review asks for the data-flow diagram.
Inputs
company/architecture/fit.md.company/company.yaml(cloud, IdP, Loams version).- Traffic, data volume, retention, and RPO/RTO targets.
- Design 01, Design 70, Design 76.
Procedure
- Choose the deployment shape. Local dev (
loams dev) → one VM light stack → profiles (tikv,rustfs) → Kubernetes only when upstream supports it. Record why. The current guides cover the one-VM tier; container and Kubernetes tiers are not built yet. - Define namespaces. One per environment and trust boundary, for example
prod,staging,dev, and a namespace per external tenant if required. Namespaces are the unit of isolation; do not put two trust boundaries in one. - Design collections and schemas. Fields, types, vector dimensions, analyzers, filters, sort keys, retention. Avoid one giant collection.
- Design data flows. Write path, read path, backfill, dual-write, events, analytics. Mark synchronous vs asynchronous and the consistency expectation.
- Design identity. Human SSO, machine users, agent identities, service
tokens, authorization tuples. See the
identity-authzskill. - Design the network. Tailnet only, no inbound rule, egress for images and the tailnet. Name the break-glass path.
- Design capacity and failure. Disk, RAM, IOPS, bucket growth, backup window, restore time, single-node risk, upgrade window.
- Write
company/architecture/target.mdwith Mermaid diagrams and a decision table. Link every choice to an ADR.
Outputs
company/architecture/target.mdcompany/architecture/data-flows.md(optional)company/architecture/capacity.md- ADRs for deployment shape, tenancy, identity, and consistency.
Guardrails
- The engine is never public. A design that needs a public endpoint is rejected or fronted by a company-owned gateway with its own review.
- Do not assume replication on the light single-node stack.
- Do not mix tenants in a namespace without a written risk acceptance.
References
- Design 01
- Design 70
- Design 76
- BYOG rules
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

