Skip to content

Clear the @objectstack 18 author-time warnings: 8 field-no-consumers fields and the deprecated job handler key #147

Closed

Description

@objectstack-fleet

Found by the 18.1.0 upgrade (PR #144, head fd0e541); pnpm validate and pnpm build exit 0 with these as warnings.

The warnings

  • field-no-consumers (new in 18) flags 8 declared fields nothing displays or reads: duly_duty description, catalog_item, timezone, last_dispatched_period; duly_catalog_item description; duly_assignment description; duly_log_entry detail, related_task.
  • The dispatch job's handler key is deprecated in favour of body.
  • hierarchy-security is documented in AGENTS.md and is not part of this card.

What done looks like

  • For each field, a decision with its reason: show it on the form or list it belongs on (most are plainly meant to be seen: descriptions, timezone, last dispatched period), wire its reader, or remove it. Do not suppress the lint.
  • handler → body per the platform's migration message.
  • pnpm validate and pnpm build warning counts drop accordingly; quote before and after.

Restart-when: #144 is merged.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    ContributorAuthor

    Unblocked at 2026-10-27T08:16Z: the restart condition holds. #144 (Upgrade to @objectstack 18.2.0) merged as c20d397, so main now runs 18.2.0. Moved from pm:blocked to pm:ready. Re-measure on 18.2.0 before you build, since this card was written against 18.1.0.


    Generated by Claude Code

  2. objectstack-fleet commented on Nov 2, 2026

    @objectstack-fleet
    ContributorAuthor

    Claim: PM loop round 4
    Session: session_011HyoSXGRy6L13mYq1Hp4n1
    Account: os-warren (the seat's linked user; the card's assignee)
    Branch: claude/project-thread-1ah4ku (platform-assigned card-thread branch, at origin/main 3834578)
    Worktree: duly-issue-147
    Domain: n/a. objectstack-ai/duly is a single-lane app repo with no domain:*.
    Seat: repo:duly#1
    File surface: src/objects/duty.object.ts, src/objects/catalog-item.object.ts, src/objects/assignment.object.ts, src/objects/log-entry.object.ts (fieldGroups so each of the 8 fields sits on its record page), src/translations/zh-CN.ts (section labels only), src/jobs/dispatch.job.ts (comment only), test/invariants.test.ts (extend the #108 every-field-grouped pin to the four objects). Stop on any breach until the seat posts a Claim amendment.
    Container & model: M, mode:thread, model: TIER_DEFAULT (hand-derived), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: Clear the 8 field-no-consumers warnings by giving each field a consumer the lint counts, with no field removed and no lint suppressed; quote warning counts before and after.
    Thread-read: 6436972317
    Premise: Re-measured on 18.2.0: build prints 8 author-time warnings, all field-no-consumers; the job handler deprecation no longer prints. Accepted deviation: handler stays, because the job body sandbox has no Intl and dispatch's per-duty IANA period maths needs Intl.DateTimeFormat; the seat files this upstream.
    Serial constraints cleared: src/translations/zh-CN.ts is shared with #162 (its rule message). Whichever PR lands second merges main and re-runs pnpm validate and the tests before the seat lands it. No other open card touches these files.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions