Skip to content

Docs: integrate recent changes; drop tracked binary + PDF#5

Merged
schneik80 merged 1 commit into
mainfrom
docs-and-cleanup
May 2, 2026
Merged

Docs: integrate recent changes; drop tracked binary + PDF#5
schneik80 merged 1 commit into
mainfrom
docs-and-cleanup

Conversation

@schneik80
Copy link
Copy Markdown
Owner

Summary

Documentation refresh covering everything landed since the last doc pass: STEP derivative download, performance optimisations, the security fixes from #1 (H1/H2/M2), and the three-phase test suite from #2/#3/#4. Also removes the tracked FusionDataCLI binary (11 MB) and README.pdf (587 KB) from the repo and adds gitignore guards so they don't return.

Changes

File What changed
README.md Key table corrections (d is STEP download, not "toggle details"; h is hub picker, not back-nav); STEP download section; CI badge; Development section
docs/api.md STEP derivative query + polling pattern; pagination cap (50) rationale; X-Ads-Region header; SetGraphqlEndpointForTesting hook
docs/architecture.md internal/testutil package; three-layer test strategy; const→var injection pattern; performance optimisations
docs/authentication.md Callback now binds 127.0.0.1; reflected error params HTML-escaped; bearer not attached to signed URLs; validFileID whitelist + JSON-encoded fileId; SECURITY-TODO.md pointer
docs/development.md Test suite section, CI workflow, coverage breakdown, internal/testutil usage, const→var pattern explained
docs/navigation.md STEP download workflow; key bindings audited against ui/keys.go; details panel doc updated (always-visible)
.gitignore *.pdf and coverage.out guards

Removed

  • FusionDataCLI — built binary (11 MB). The lowercase fusiondatacli was already gitignored; the capitalised version slipped in once and lingered.
  • README.pdf — manual PDF export. Readers should use the rendered Markdown on GitHub. Keeping the PDF in sync was a recurring chore.

Factual contradictions fixed

  • README.md + docs/navigation.md: d was documented as "toggle details panel"; actual binding (ui/keys.go:62-64) is download STEP.
  • Same files: h was documented as a back-nav alias for ; actual binding (ui/keys.go:65-68) is hub picker.
  • docs/navigation.md: described the details panel as toggleable; it has been always-visible since the column-layout refactor.
  • docs/api.md: said pagination accepts 1–99; actual cap is 50, driven by APS query-cost limits.
  • docs/authentication.md: said callback "listens only on loopback"; was bound to 0.0.0.0 in practice until the H1 fix made that statement true.

Test plan

  • go build ./... green
  • go vet ./... green
  • go test -race ./... green
  • Working tree clean after commit

🤖 Generated with Claude Code

Documentation refresh covering everything landed since the last doc pass:
STEP derivative download, performance optimisations, the security fixes
from PR #1 (H1/H2/M2), and the three-phase test suite from PRs #2-4.
Also removes the tracked FusionDataCLI binary (11MB) and README.pdf
(587KB) from the repo and adds gitignore guards so they don't return.

Files updated:
  README.md              key table corrections (`d` is STEP download,
                         not "toggle details"; `h` is hub picker, not
                         back-nav); STEP download section; CI badge;
                         pointer to docs/development.md
  docs/api.md            STEP derivative query + polling pattern;
                         pagination cap (50) rationale; X-Ads-Region
                         header; SetGraphqlEndpointForTesting hook
  docs/architecture.md   internal/testutil package; three-layer test
                         strategy; const->var injection pattern;
                         performance optimisations (detailsCache,
                         styleCache, parallel fetches)
  docs/authentication.md OAuth callback now binds 127.0.0.1; reflected
                         error params HTML-escaped; bearer not attached
                         to signed-URL downloads; validFileID whitelist
                         + JSON-encoded fileId in MCP insert script;
                         pending follow-ups pointer to SECURITY-TODO.md
  docs/development.md    test suite section (make check, CI workflow,
                         coverage breakdown); three-layer summary;
                         internal/testutil usage; const->var test-
                         injection pattern; SetGraphqlEndpointForTesting
                         use case
  docs/navigation.md     STEP download workflow; key bindings audited
                         against ui/keys.go; details panel doc updated
                         (always visible now, was previously documented
                         as toggleable)
  .gitignore             *.pdf and coverage.out guards

Removed:
  FusionDataCLI          built binary (11MB) — gitignored alongside
                         lowercase `fusiondatacli` already
  README.pdf             PDF export of README (587KB) — readers should
                         use the rendered Markdown on GitHub or
                         locally; keeping the PDF in sync was a manual
                         chore that consistently drifted

Factual contradictions found and fixed:
  - README + navigation.md both said `d` toggled the details panel;
    the actual binding (ui/keys.go:62-64) is download STEP.
  - Both said `h` was a back-nav alias for `<-`; actual binding
    (ui/keys.go:65-68) is hub picker.
  - navigation.md described the details panel as toggleable; it has
    been always-visible since the column-layout refactor (ui/app.go
    comment at line 131 confirms).
  - api.md said pagination "1-99 (max of 100 is exclusive)"; the
    actual cap is 50, driven by APS query-cost limits with this app's
    field set (api/queries.go:11-14 explains).
  - api.md and authentication.md misrepresented the 401 short-circuit
    error string and the callback bind address (was 0.0.0.0 in
    practice; now explicitly 127.0.0.1 per the H1 fix).

Build + tests verified green after edits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@schneik80 schneik80 merged commit 1577f2c into main May 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant