Architecture direction
Ametherian’s proposed package boundaries, shared contracts, runtime support, and compatibility approach.
Ametherian is intended to use a modular package architecture. A package should have one understandable responsibility, declare its supported runtime capabilities, and remain useful without requiring unrelated modules.
Shared contracts
Candidate shared conventions include typed errors, cancellation, deadlines, resource lifecycle, configuration validation, logging hooks, and consistent documentation of side effects. Shared contracts should reduce fragmentation without creating circular dependencies or forcing unnecessary dependencies into every package.
Runtime boundaries
Node.js is the initial target. APIs should make runtime assumptions explicit and isolate environment-specific behavior behind adapters where doing so improves portability. Unsupported capabilities should fail clearly rather than silently falling back.
Resource safety
Network and stream-oriented packages should define timeouts, maximum sizes, concurrency bounds, backpressure behavior, cancellation semantics, and cleanup responsibilities. Defaults should be conservative and configurable.
Compatibility and releases
The project should document supported Node.js versions, module formats, TypeScript support, semantic versioning policy, deprecation windows, and interoperability expectations before publishing stable packages.
Engineering evidence
Public compatibility and performance claims should be backed by reproducible test suites, benchmark methodology, fuzzing where appropriate, and transparent release notes.
This page describes proposed project direction. It does not imply released or audited package functionality.