homelabby/.planning/phases/01-foundation/01-CONTEXT.md

1.9 KiB

Phase 1: Foundation - Context

Gathered: 2026-04-10 Status: Ready for planning Mode: Auto-generated (infrastructure phase — discuss skipped)

## Phase Boundary

The Go binary connects to NetBox with all custom fields provisioned and a write-ahead queue buffering operations during downtime. This phase delivers the project scaffold, NetBox integration layer, HW-XXXXX ID assignment, catalog quality gate, and DragonFlyDB-backed write-ahead queue.

## Implementation Decisions

Claude's Discretion

All implementation choices are at Claude's discretion — pure infrastructure phase. Use ROADMAP phase goal, success criteria, and codebase conventions to guide decisions.

Key infrastructure context from user:

  • PostgreSQL at postgresql://homelabby:homelabby_2024_secure@10.5.0.109:5432/homelabby
  • DragonFlyDB (Redis-compatible) at redis://:nUq/IfoIQJf/kouckKHRQOk7vV0NwCuI@10.5.0.10:6379
  • NetBox at http://10.5.0.130:8000/api with token homelab-netbox-api-token-2024
  • SearXNG at http://10.5.0.129:8080/search (no auth)
  • All credentials stored in .env file
  • ClickHouse design system (pure black + neon volt) for UI — not Tokyo Night
  • Go backend with chi router, React TypeScript frontend embedded via go:embed
  • Single binary deployment

<code_context>

Existing Code Insights

Reusable Assets

  • None — greenfield project

Established Patterns

  • None — this phase establishes the patterns

Integration Points

  • NetBox REST API (10.5.0.130:8000)
  • DragonFlyDB (10.5.0.10:6379) for write-ahead queue
  • PostgreSQL (10.5.0.109:5432) for local data

</code_context>

## Specific Ideas

No specific requirements — infrastructure phase. Refer to ROADMAP phase description and success criteria.

## Deferred Ideas

None — discussion stayed within phase scope.