Skip to content

docs: ranch time goes to the Ranch project by its task key (RANCH-7) - #257

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
docs/RANCH-7-time-rules-ranch-bound
Dec 1, 2026
Merged

maksymhryzodub-prog merged 1 commit into
mainfrom
docs/RANCH-7-time-rules-ranch-bound

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

Task: RANCH-7

Why

The time rules merged in #256 (RANCH-6) send ranch hours to Time without a project, because no Time project existed for ranch then. It exists now: a Time project Ranch (client Dreamvention, not billable) and a Shadow project Ranch on the owner's account. The key RANCH resolves through the project's name.

What changed

CLAUDE.md and .cursor/rules/project.mdc, Time rules only:

  • Agents log finished intervals with time_log {date, start, end, jiraKey: "RANCH-<n>", jiraSummary, description: "RANCH-<n> · <title>"}. Shadow puts the entry on project Ranch and finds or creates the Time task RANCH-<n> · <title>.
  • noProject, project and billable are not passed.
  • logged: false means nothing was saved: no retry under another project or without one; the interval goes into the report.
  • Unchanged, stated again: no starting, stopping or editing a running timer, no touching entries that are not yours, no direct solidtime calls.
  • New: do not rename or edit the Time project or the Shadow project (the binding is the name). Other keys such as MZDAI are not bound: ask before logging.
  • Removed: the no-project call, the "only the owner can do, and has not yet done" paragraph, the "when Time has a ranch project" paragraph, and the untested MZDAI recipe.
  • Added to the card: correcting an entry that landed without a project with time_update {id, jiraKey, jiraSummary}.

Checked

  • Live time_log for this task, the new way: logged: true, project Ranch, task RANCH-7 · Time rules: the RANCH key is bound in Shadow, log with jiraKey (created by the call), billable: false.
  • .claude/skills/timesheet: collect.mjs --month 2026-12 (read-only) files that entry under RANCH-7 and reads project Ranch for the RANCH-4..7 entries; "ranch entries that name no task: none". The skill is not changed.
  • Docs only: no code, no tests touched. No UI change, so the Playwright visual check does not apply.
  • Twin consoles: neither admin/ nor app/ is touched.

The RANCH key is bound in Shadow now: a Time project Ranch and a Shadow project Ranch exist. Agents log finished intervals with time_log and jiraKey, without noProject, project or billable. The no-project path and the text about the project not existing yet are gone.
@maksymhryzodub-prog
maksymhryzodub-prog merged commit 1d5f07d into main Dec 1, 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