Skip to content

docs: adopt LiteLLM + AI patterns from Resume-Matcher, add docs/agent - #3

Merged
Harikeshav-R merged 2 commits into
mainfrom
docs/reference-patterns-from-resume-matcher
Aug 1, 2026
Merged

docs: adopt LiteLLM + AI patterns from Resume-Matcher, add docs/agent#3
Harikeshav-R merged 2 commits into
mainfrom
docs/reference-patterns-from-resume-matcher

Conversation

@Harikeshav-R

Copy link
Copy Markdown
Owner

What

Reviews the reference project srbhr/Resume-Matcher (the closest existing project to Atlas) and folds its applicable patterns into the design, plus adds a docs/agent/ documentation set.

docs/PROJECT.md

  • LiteLLM as the API-backend layer, kept behind Atlas's LLMProvider interface (new §5.1a). CLI backends (Claude Code/Codex/Antigravity) remain custom subprocess adapters — LiteLLM can't drive them.
  • complete_json() layered structured-output recovery: native field → brace-balancing extraction → content-quality retry with temperature escalation → JSON-mode→prompt-only fallback. Kept distinct from the Router's transport retries.
  • Diff-mode tailoring (skill-target plan → diffs → apply → verify) with full-output fallback (§5.7).
  • Deterministic post-LLM safety nets — preserve personal info / dates / skills / custom sections, incl. month-precision date restore, plus an AI-phrase scrub (§5.7, §11).
  • Registry-based model capabilities; single resolve_api_key() with local providers skipping the env-key fallback (§5.1a).
  • Updated tech stack, project layout, testing (§16), resolved decisions (§18), and a new §19 documenting the review (adopted vs. rejected).

docs/agent/

Task-oriented docs modeled on the reference's docs/agent/ layout: README index, scope-and-principles, architecture, llm-integration, coding-standards, testing-strategy, workflow. Each points back to AGENTS.md / PROJECT.md as authoritative rather than duplicating them. Linked from the docs index.

Why

Resume-Matcher solves ~Atlas's Phase 1 core loop in a very similar app; adopting its battle-tested AI-robustness patterns de-risks our implementation. Atlas stays a superset (discovery/tracking/calendar/email/daemon + coding-CLI backends).

Testing

Docs-only change. All relative file and anchor links verified to resolve against GitHub's slug algorithm.

Commits (one logical change each)

  • docs(project): adopt LiteLLM and AI patterns from Resume-Matcher review
  • docs(agent): add docs/agent scaffold for coding agents

Review the reference project srbhr/Resume-Matcher and fold its applicable
patterns into the design:

- API backends now go through LiteLLM behind Atlas's LLMProvider interface
  (CLI adapters stay custom subprocess adapters); add $5.1a for its design.
- Specify the complete_json() layered structured-output recovery: native
  field -> brace-balancing extraction -> content retry with temperature
  escalation -> JSON-mode to prompt-only fallback, distinct from Router
  transport retries.
- Add diff-mode tailoring (skill-target plan -> diffs -> apply -> verify)
  with full-output fallback, plus deterministic post-LLM safety nets
  (personal-info/date/skill preservation, month-precision date restore) and
  an AI-phrase scrub to $5.7 and $11.
- Register model capabilities from a registry, single resolve_api_key() with
  local providers skipping the env-key fallback.
- Update tech stack, layout, testing ($16), resolved decisions ($18), and
  add $19 documenting the reference review.
Add a task-oriented agent documentation set modeled on the reference
project's docs/agent layout: index, scope-and-principles, architecture,
llm-integration, coding-standards, testing-strategy, and workflow. Each doc
points back to AGENTS.md and PROJECT.md as the authoritative sources rather
than duplicating them, and link from the docs index.
@Harikeshav-R
Harikeshav-R merged commit 8fcb550 into main Aug 1, 2026
1 check passed
@Harikeshav-R
Harikeshav-R deleted the docs/reference-patterns-from-resume-matcher branch August 2, 2026 17:46
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