Skip to content

Feat/tests and atlas#10

Closed
ice-chillios wants to merge 26 commits into
developfrom
feat/tests-and-atlas
Closed

Feat/tests and atlas#10
ice-chillios wants to merge 26 commits into
developfrom
feat/tests-and-atlas

Conversation

@ice-chillios

Copy link
Copy Markdown
Member

No description provided.

- Implement recursive YAML serializer (toYaml) with support for
  strings, numbers, booleans, null, objects, arrays, and nested structures
- Fix formatOutput to actually use the format parameter instead of
  ignoring it (_format)
- Remove all unsafe type casts (as string[], as number, as boolean)
  since ConfigManager.get() and InferArgs already return correct types
- Add OutputFormat type alias and isOutputFormat type guard for
  runtime validation of format parameter
…ping

- Add --deps flag to map command for dependency analysis
- Import and use analyzeImports + flattenFileTree in map command
- Output AtlasScanResult with optional dependencies field
- Remove type casts in explore command
- 124 tests covering CodebaseScanner, ImportAnalyzer, map YAML, explore helpers
- Export pure functions for testability
… CLI

- Remove codebase scanner, import analyzer, map/explore commands
- Rewrite types.ts with TrackedEntry, BackendConfig, AtlasConfig
- Add built-in presets (brew, zsh, fish, git, ssh, nvim, vscode, etc.)
- Scaffold empty cli.ts ready for new commands
Implement BackendAdapter interface with three storage backends:
- GitAdapter: syncs configs to a git repository via Bun shell
- GistAdapter: syncs configs to GitHub Gists via fetch API
- DirectoryAdapter: syncs configs to a local directory via fs/promises

Includes BackendConfig union type definitions and factory function.
Implement SyncEngine service that orchestrates push/pull/status
operations between local files, the store, and the backend.

Uses dependency injection for all I/O (diff, copy, encrypt, compress,
backend) so the engine is fully testable without real filesystem or
network access.

Also adds types.ts with TrackedEntry, EntryDiff, SyncResult, and
BackendConfig type definitions.
@ice-chillios
ice-chillios deleted the feat/tests-and-atlas branch March 23, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant