agent hubFIELD GUIDE Get started

Documentation

Public release code review

This is a historical review of tracked TypeScript, browser JavaScript, fixtures, CLI commands, configuration and documentation. Later verification is recorded in QA.md; the current candidate and publication gates are in RELEASE.md. This review does not claim that every possible defect is eliminated.

Findings addressed

FindingChange
Node 20 declared despite Commander requiring Node 22Runtime minimum aligned to 22.13; Node types match that baseline
TypeScript 7 incompatible with current typescript-eslint peer rangeSupported TypeScript 6.0 selected without forcing peer dependencies
Unformatted source and no automated quality gatePrettier, ESLint, strict compiler checks, editor settings and CI
Core imported CLI implementation; shared infrastructure lived in syncLaunch/status services and focused errors, values, file-store, transactions, lock and shell modules
Import could leave credentials, registry and provenance partially updatedOne interprocess lock, checked source/hub inputs and compensating rollback
Registry read errors could become an empty registryShared runtime schema and fail-closed configuration reads
Dotenv parser lost multiline or escaped credentialsPreserving parser/writer with round-trip tests for quotes, escapes, newlines and Unicode
Credentials inside URLs could remain in tracked registryExtract credential-bearing URLs and arguments into .env; regression coverage
Import staged every hub file automaticallyImport does not commit; initialization commits only its explicit setup files
Prototype-specific migration and takeoverRemoved implicit migration/ownership exceptions; normal reviewed import applies
Hardcoded n8n behavior in domain/UIGeneric readiness configuration and generic UI labels, optional isolated preset
Copyable commands assumed a POSIX shellCentral POSIX/PowerShell rendering with quoting tests
DSH import and sync resolved profiles differentlyShared settings parser and profile resolver
Personal email/domain in design examplesReplaced with example.com identities
UI runtime depended on design mockup assetsSelf-contained runtime assets and package-content verification
Duplicate fingerprint serialization and policiesShared serialization and adapter-local policy definitions

The CLI and UI use the same domain services. Client-specific formats and platform opening/cleanup logic remain explicit integrations; those are necessary compatibility rules rather than user-specific assumptions. No user home, email, machine path or corporate host is compiled into the runtime.

Validation baseline

The local quality gate covers formatting, lint, TypeScript, full integration/unit tests and package contents. Coverage reports include compiled runtime files, not fixture code. The local baseline is 54 passing tests, 86.20% runtime lines, 81.46% branches and 84.68% functions. The full CLI flow also runs from an unrelated working directory with all three client locations overridden. The complete suite also passed locally under Node 22.13.0, the declared minimum. Later test runs are the authoritative result.

The production dependency audit reported zero vulnerabilities. The full development tree reported a moderate minimatch denial-of-service advisory propagated through ESLint tooling. The affected patterns are repository-controlled lint configuration, and those tools are excluded from the release runtime. No unsupported dependency override or forced downgrade was applied. Review upstream fixes before publishing; this advisory is not represented as resolved.

Remaining limits

Follow-up: original-state recovery

A later audit added external baselines, a durable write-intent journal, reset, explicit stale-lock recovery and regression cases for interrupted sync/reset. See EDGE_CASES.md and RECOVERY.md. These improve process-failure recovery; they do not establish database-style crash durability or remove the filesystem limits listed above.