Skip to content

chore: document api decision - #28

Merged
pwlmc merged 2 commits into
mainfrom
pwlmc/adrs
Mar 8, 2026
Merged

chore: document api decision#28
pwlmc merged 2 commits into
mainfrom
pwlmc/adrs

Conversation

@pwlmc

@pwlmc pwlmc commented Mar 8, 2026

Copy link
Copy Markdown
Owner
  • This pull request introduces documentation and architectural decisions for the OK-FP TypeScript library.
  • Ads CLAUDE.md and AGENTS.md to the project

@pwlmc
pwlmc requested a review from Copilot March 8, 2026 09:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation and architectural decision records (ADRs) to the OK-FP TypeScript library, establishing written context for AI coding agents and a record of the object-with-methods API design decision.

Changes:

  • Adds CLAUDE.md and AGENTS.md as identical agent-context files covering project structure, tech stack, conventions, and guidelines.
  • Adds decisions/adr-template.md (a standard ADR template) and decisions/0001-use-object-with-methods-api.md (documenting the choice to use method chaining over free functions + pipe).
  • Updates .gitignore to ignore the .claude directory used by the Claude agent.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CLAUDE.md Agent context file for Claude; content is accurate and matches the actual codebase structure, but is byte-for-byte identical to AGENTS.md
AGENTS.md Agent context file for OpenAI Codex/Agents; identical to CLAUDE.md, creating a maintenance duplication risk
decisions/adr-template.md Standard ADR template file for future architectural decisions
decisions/0001-use-object-with-methods-api.md ADR documenting the object-with-methods API style decision
.gitignore Adds .claude directory to ignored paths

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md
@pwlmc
pwlmc merged commit a38a15c into main Mar 8, 2026
5 checks passed
@pwlmc
pwlmc deleted the pwlmc/adrs branch March 8, 2026 10:01
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.

2 participants