Skip to content

chore(release): 0.27.0 - #155

Merged
leemour merged 5 commits into
mainfrom
chore/release-files
Nov 24, 2026
Merged

leemour merged 5 commits into
mainfrom
chore/release-files

Conversation

@leemour

@leemour leemour commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Task

Release 0.27.0, so the client-file commands (#154: files list, files download, files sync) reach npm.

What

  • package.json and src/version.ts: 0.26.0 → 0.27.0. A minor, because the section has Added.
  • CHANGELOG.md: changes/feat-crm-files.md collected under ## 0.27.0 — 19.11.2026.
  • bin/b24-live --write now also checks files: it puts a small PDF in the test deal's first file field, lists the deal's files, downloads that one and compares the saved bytes and the extracted text. It then creates a test contact and a test company, lists their files and deletes them, and asks the portal that none of the "WireCat test …" records is left. It prints counts, kinds and field shapes only.
  • Fix from the fresh audit: api call of the methods files reads through (crm.documentgenerator.document.list/get, crm.timeline.comment.*, disk.file.get) now also checks files.list or files.download, so files: deny holds there (WC-PERM-22), with a regression row each. The MCP server names file names and downloaded text as untrusted data (WC-MCP-11).
  • docs/dev/DESIGN.md, docs/usage.md: what the live run showed (below).

Seen on the live portal (agent run, 2026-11-19, the owner's permission to create and delete test records)

  • A file field read with original names (useOriginalUfNames: Y) is a list of { id, url, urlMachine }.
  • files list --deal listed the one file (source field, no issues); files download saved the same bytes and extracted the PDF's text. The download came from the portal's own host: no redirect to another host.
  • Documents: crm.documentgenerator.document.list answers with the crm scope alone (the webhook has no documentgenerator scope). For a record that does not exist it answers ACCESS_DENIED.
  • files list --person and --organization on fresh test records answered with no issues, so the BINDINGS activity filter is accepted for contacts and companies. That it returns only their activities is not checked: api call may not add an activity (crm.activity.* is denied by default).
  • Not checked: whether an activity's file id is a Drive id, and comment-file downloads. The webhook has no disk scope, and a comment's or activity's upload would stay on the user's Drive after the deal is deleted.
  • Every test lead, deal, contact and company was deleted, and the portal answered 0 for each title. A first run stopped after creating a test contact; that contact was deleted by hand and the portal answered 0.

Conformance

release:check

Passed on this tree: standards, lint, typecheck, 610 tests with coverage (statements 94.2 %, branches 84.5 %), lint:commands, audit:commands, contracts:check, contracts:upgrade, test-matrix, docs:check, generate:check, version:check, security:no-leak, package:check and smoke. audit:commands failed once on a 404 for a just-published @wirecat/cli-memo@0.146.0 tarball and passed on the re-run.

Live check

0.27.0 cb3f544c08d9f05b6496931bdc459ec4e12ac887 2026-11-24 bin/b24-live v2:3e6a5695ff605b08812fa99879dbb006da708db3898370e7caca9472d3b59180

The owner ran bin/b24-live burobiz --write on cb3f544 in his terminal (2026-11-24): every step passed, and the portal answered that no "WireCat test …" lead, deal, contact or company is left. The agent's earlier run stopped at the owner-only stage-tasks setting, as designed.

Since the first draft: rebased on main (#159, shared CRM account remove), @wirecat/cli-core 0.722.0 → 0.739.0, which carries cli-core#3176 (a deal moved in the same second its stage-task rules were set now opens its task), with a regression test in src/crm/stage-tasks.test.ts; the 0.27.0 changelog is re-dated 24.11.2026.

Fresh audit

A new subagent with the prompt in docs/dev/skills/release/fresh-audit.md: 14 repository gaps, 6 handbook gaps. Every check it ran passed (606 tests then); test:slow did not run, as another session held the shared lock.

Fixed here (new in 0.27.0):

  • WC-PERM-22: files: deny could be got round through api call.
  • WC-MCP-11 / WC-SECR-21: the MCP untrusted list did not name file names and file text.

Follow-ups, not release blockers (most were already listed at 0.25.0):

  • files list reads activities while api.crm.activity.list is denied by default (the reverse of WC-PERM-22; cli-core's alsoChecks).
  • WC-TEST-14: the upgrade check starts from 0.17.0, not 0.26.0; this release moves the store to version 69.
  • WC-TEST-20: no testTimeout: 15_000 in vitest.config.ts.
  • WC-SECR-25: no oauth_client in doctor.
  • WC-ARCH-23: OAuth URLs not in constants.json.
  • WC-CMD-30: phone_region default "".
  • WC-CMD-19: calls export declares no output entity.
  • WC-STYLE-5: uncommented as casts.
  • b24 text in the template-owned AGENTS.md.
  • WC-DOC-22: the skill size check is not in docs:check.
  • No docs/compare.md pointing to the site's comparison page.
  • CLAUDE.md restates WC-DOC-14's fragment exception without linking it.
  • Handbook (cli-base): WC-ARCH-5 exceptions out of date; WC-SECR-25 assumes one WireCat app per service; WC-SECR-26 names only ydisk; WC-REL-17 with WC-REL-5 do not say whether a renumbered release needs its own live line; dead ../PUBLISHING.md link from node_modules; temporary audit differences undocumented.

Comparison page

Not re-proved: the b24 comparison page in cli-docs has no files row, and nothing it lists changed.

Slice reviews

#154 is the only code change since 0.26.0 besides #153 (glama.json).

🤖 Generated with Claude Code

leemour and others added 3 commits November 24, 2026 05:27
Raises the version to 0.27.0, a minor because the section has Added (client
files, #154). The changes/ fragment is collected under the dated section.

bin/b24-live --write now also puts a small PDF in the test deal's first file
field, lists the deal's files and downloads that one, checking the saved bytes
and the extracted text; then creates a test contact and company, lists their
files and deletes them, and asks the portal that none is left.

DESIGN.md and usage.md record what the live run showed: a file field's shape
with original names, downloads from the portal host with no redirect, and
documents listed with the crm scope alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s data

The fresh audit of 0.27.0 found that api call of the methods files reads
through (crm.documentgenerator.document.list/get, crm.timeline.comment.*,
disk.file.get) checked only its own api.* key, so files: deny could be got
round. Each now also checks files.list or files.download (WC-PERM-22), with a
regression row per method. The MCP server's list of untrusted text now names
file names and downloaded file text (WC-MCP-11).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…les were set opens its task

The regression test runs the stage-tasks rules through the command against the fake portal, with the move in the same
second the rules were set, as bin/b24-live does. The 0.27.0 section now also carries the shared account remove (#159).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour force-pushed the chore/release-files branch from 5429a8a to cb3f544 Compare November 24, 2026 04:37
@socket-security

socket-security Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-core@​0.722.0 ⏵ 0.739.098 +1100100 +19670

View full report

leemour and others added 2 commits November 24, 2026 22:28
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… cli-core 0.739.0 does

cli-core #3258 stopped offering `schedule exec` over MCP and limits it to the tool's own schedules folder; the pin in
src/mcp.test.ts and docs/security.md still named it. The 0.27.0 changelog says so under "may break callers".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 9339c58 into main Nov 24, 2026
16 checks passed
@leemour
leemour deleted the chore/release-files branch November 24, 2026 21:39
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