Skip to content

docs: rewrite the domain docs for budgets, entries and suggestions - #96

Open
claude-for-timatic[bot] wants to merge 16 commits into
mainfrom
feat/95-domain-docs
Open

claude-for-timatic[bot] wants to merge 16 commits into
mainfrom
feat/95-domain-docs

Conversation

@claude-for-timatic

Copy link
Copy Markdown
Contributor

Closes #95

Replaces docs/high-level-design.md and docs/business-rules.md, which predated the day-based projection and described things that no longer exist, with one page per concept:

  • docs/README.md (index, page shape) and docs/GLOSSARY.md
  • docs/budgets/: overview, versions, periods, usage, notifications
  • docs/entries/: overview, locked-dates, time-spent, daily-progress
  • docs/suggestions/: overview (one end-to-end example), events, activities, suggestions, lifecycle
  • docs/integration-oauth.md moved from .claude/docs/, content unchanged (Align the integration OAuth doc with how integrations store tokens #75 records the decision to migrate the code to it)

Every page opens with the goal and what must stay true, then the rules as bullets naming the edge case and the test that pins it. Prose stays free of class names so the sibling repos can read it; the "Where in the code" footer names classes and tests. A script checked that every relative link, test name and code path in the pages resolves.

Also: a Concepts section in the README (the rebundle section no longer names a listener that does not exist), and must-read pointers per area in CLAUDE.md.

Two rules have no pinning test yet and say so: the one-time-budget and backdated-version rules in budgets/versions.md, and daily progress.

Follow-up after merge: GitHub URL pointers in the CLAUDE.md of timatic-frontend, timatic-extension, timatic-claude, timatic-php-sdk and timatic-jira.

Claude

Comment thread docs/budgets/notifications.md Resolved
Comment thread docs/budgets/notifications.md Resolved
Comment thread docs/budgets/notifications.md Resolved
Comment thread docs/budgets/notifications.md Resolved
Comment thread docs/budgets/notifications.md Resolved
Comment thread docs/budgets/notifications.md Resolved
@claude-for-timatic

Copy link
Copy Markdown
Contributor Author

Pruned every page with the criterion from the review: a bullet stays only when it says something the code cannot (the why, an invariant, or a deliberate surprise). Of the nine bullets on the notifications page four remain; across all pages roughly half are gone and the goal paragraphs absorbed the one-clause facts worth keeping. The index states the criterion so future bullets are held to it.

…and event type

Issue #41 drops the event type from the chain rule, so the activities page and
the glossary describe the stretch, not the app it was observed in.

Claude
…twice

Overlap across customers is acceptable multitasking and planned in #33;
the current projector forbids all overlap, which the page now says is stricter
than intended.

Claude
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.

Rewrite the domain docs for budgets and the suggestion pipeline

1 participant