Skip to content

refactor(agents): drop removed agent visibility field (spec 15 / ADR-0056 D8)#449

Merged
baozhoutao merged 1 commit into
mainfrom
chore/drop-agent-visibility
Jul 19, 2026
Merged

refactor(agents): drop removed agent visibility field (spec 15 / ADR-0056 D8)#449
baozhoutao merged 1 commit into
mainfrom
chore/drop-agent-visibility

Conversation

@baozhoutao

Copy link
Copy Markdown
Contributor

The upcoming @objectstack/spec release removes the unenforced agent visibility field (objectstack-ai/objectstack#3216, ADR-0056 D8). hotcrm's two copilot agents still author it, which keeps framework's pre-publish downstream-compat smoke red and stalls the release train.

This drops the two visibility: 'organization' lines. Omitting the optional field typechecks against both the currently published spec (14.7) and the upcoming release.

Verified locally by replicating framework's downstream-smoke.sh: installed published deps, overlaid the freshly built unreleased spec dist, then pnpm run typecheck and pnpm run validate both pass (15 objects / 2 agents parse clean).

After merge this ships as v2.1.0 (package.json is already 2.1.0), and framework bumps its smoke pin HOTCRM_REF to v2.1.0.

🤖 Generated with Claude Code

…0056 D8)

The upcoming @objectstack/spec release removes the unenforced agent
`visibility` field (objectstack-ai/objectstack#3216). Omit it from the
two copilot agents so hotcrm typechecks against both the current and
the upcoming spec.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@baozhoutao
baozhoutao merged commit 6da5656 into main Jul 19, 2026
5 checks passed
@baozhoutao
baozhoutao deleted the chore/drop-agent-visibility branch July 19, 2026 16:10
xuyushun441-sys pushed a commit that referenced this pull request Jul 20, 2026
Bump all 11 @objectstack/* packages to 16.0.0-rc.1 (pinned exact for the RC),
crossing the entire 15.x line. App → 2.2.0, manifest specVersion → ^16.0.0-rc.1.

Breaking / behavioural changes migrated:
- Drop `ai` from stack `requires`: ObjectStack 11.3.0 (ADR-0025 S2) removed
  @objectstack/service-ai from the open edition (AI runtime is cloud-only now),
  and under 16 `requires: ['ai']` is a fail-fast capability that hard-aborts
  boot when the package is absent. Agents/skills metadata still ship in the
  artifact; local open-edition boot omits the AI service.
- The agent `visibility` removal (spec 15 / ADR-0056 D8) already landed on main
  via #449, so this branch (rebased onto it) is a no-op there.

Dashboard fixes (found by rendering the app, not by `verify`):
- dateRange picker now filters every widget query (ObjectStack 15, framework#2501);
  widgets on objects without the bound field (crm_account/contact/lead/product,
  no close_date) crashed with `no such column`. Opt them out via
  filterBindings: { dateRange: false }.
- Remove non-functional dashboard header action buttons (Export PDF / Schedule
  Email / Customize / New-record / broken /reports links) from all 4 dashboards
  and the orphaned action-label translations from all 4 locale bundles.

Toolchain: install under Node 22 (.nvmrc) — nanoid@6 engines + engine-strict
reject the environment's odd-numbered Node 25.

Verified: validate + typecheck + build + vitest (17/17) green; server boots
(38 plugins); all 4 dashboards render with live seeded data and zero analytics/
console errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
os-zhuang added a commit that referenced this pull request Jul 20, 2026
Bump all 11 @objectstack/* packages to 16.0.0-rc.1 (pinned exact for the RC),
crossing the entire 15.x line. App → 2.2.0, manifest specVersion → ^16.0.0-rc.1.

Breaking / behavioural changes migrated:
- Drop `ai` from stack `requires`: ObjectStack 11.3.0 (ADR-0025 S2) removed
  @objectstack/service-ai from the open edition (AI runtime is cloud-only now),
  and under 16 `requires: ['ai']` is a fail-fast capability that hard-aborts
  boot when the package is absent. Agents/skills metadata still ship in the
  artifact; local open-edition boot omits the AI service.
- The agent `visibility` removal (spec 15 / ADR-0056 D8) already landed on main
  via #449, so this branch (rebased onto it) is a no-op there.

Dashboard fixes (found by rendering the app, not by `verify`):
- dateRange picker now filters every widget query (ObjectStack 15, framework#2501);
  widgets on objects without the bound field (crm_account/contact/lead/product,
  no close_date) crashed with `no such column`. Opt them out via
  filterBindings: { dateRange: false }.
- Remove non-functional dashboard header action buttons (Export PDF / Schedule
  Email / Customize / New-record / broken /reports links) from all 4 dashboards
  and the orphaned action-label translations from all 4 locale bundles.

Toolchain: install under Node 22 (.nvmrc) — nanoid@6 engines + engine-strict
reject the environment's odd-numbered Node 25.

Verified: validate + typecheck + build + vitest (17/17) green; server boots
(38 plugins); all 4 dashboards render with live seeded data and zero analytics/
console errors.

Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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