Skip to content

Land the Lavish fix (#4) and the ClickUp skill (#6) on main - #7

Merged
demy00 merged 6 commits into
mainfrom
feature/lavish-read-list-format
Oct 1, 2026
Merged

demy00 merged 6 commits into
mainfrom
feature/lavish-read-list-format

Conversation

@demy00

@demy00 demy00 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

#4 and #6 were merged into their stacked base branches (feature/fm-upstream-sync and feature/lavish-read-list-format) rather than main, because those base branches were not deleted after the merge below them, so GitHub did not retarget them. feature/lavish-read-list-format now holds both reviewed changes on top of #5. This PR brings them to main unchanged; merge with Create a merge commit.

🤖 Generated with Claude Code

demy00 and others added 6 commits September 29, 2026 07:55
…ents are never lost

lavish-axi frames queued feedback as a TOON list, not a table, whenever an
item carries a nested object such as a table-cell target. The adapter only
recognized the tabular header, so read reported 0 of N items as complete and
answers dropped board choices. One shared parser now reads both shapes for
read, the silence check, and the keyed-answer extraction; read shows each
item's nested target and never certifies an unparseable block as complete.
…rk (#6)

* feat(skills): install the clickup-tickets add-on skill

Install the clickup-tickets skill from the firstmate-clickup add-on
(szobonyaerik/firstmate-clickup@8994f1e)
so firstmate can read and update ClickUp tickets through the pinned cup CLI.

- Copy the skill verbatim, adding only user-invocable: false and
  metadata.internal: true to match sibling internal skills.
- Register its load trigger in AGENTS.md section 13, gated on
  config/clickup.json being present.
- Document the private config/clickup.json in docs/configuration.md and the
  AGENTS.md section 2 layout, and classify the skill in the documentation
  audience inventory.
- Keep the installer's config/clickup.json .gitignore line so re-running the
  installer stays a no-op.

Add-on commit installed from: szobonyaerik/firstmate-clickup@8994f1e
cup: @krodak/clickup-cli 1.46.1 installed globally with npm (nvm node v22.22.3 prefix); `cup --version` -> 1.46.1. No profile created.

Conflicts between the add-on rules and AGENTS.md (rules left unchanged):
- "Spawn a Haiku helper" for bulk reads and the session-start look is a model-specific native subagent, outside AGENTS.md section 4 dispatch (fm-spawn, verified harnesses, dispatch profiles); non-Claude primaries have no Haiku.
- "Ask the owner 'ticket or local only?'" on every new firstmate-filed work adds an owner question where AGENTS.md section 9 asks only for review, approval, merge, or design pick.
- The one ClickUp look at session start is a network read outside bin/fm-session-start.sh and its deferred network stage (section 3).
- "Every ticket assigned to the owner is in scope" is broader than the requested scope (only OwnDivision and Theovya); only the config project map narrows it.
- "Tell the owner" in a secondmate home must go through the parent channel (section 9); the rules do not say so.

Noticed:
- This Claude environment has a claude.ai ClickUp MCP connector attached, which the skill forbids using.
- config/clickup.example.json seeds personal and life entries not wanted yet; the local config/clickup.json must be trimmed to the team profile and the OwnDivision/Theovya projects.
- cup lives in the active nvm Node's global prefix; switching Node versions hides it.
- .gitignore already ignored config/, so the installer's config/clickup.json line is redundant but kept so re-running the installer is a no-op.

Skills used: firstmate-coding-guidelines.

* no-mistakes(review): Load clickup-tickets on first ClickUp use, not session start

* fix(skills): trigger clickup-tickets on first ClickUp use, not session start

Skill descriptions are now the always-loaded trigger index, so the add-on's
verbatim "Use at session start" would load the skill and its live ClickUp
read at startup. Change only the frontmatter description to match the
trigger-index entry; the rules body stays verbatim. The same change is
suggested upstream to the firstmate-clickup add-on.
@demy00
demy00 merged commit 911f513 into main Oct 1, 2026
35 of 37 checks passed
demy00 added a commit that referenced this pull request Oct 16, 2026
## Conflict resolutions

The trial merge listed 13 conflicted files; the actual merge also conflicts in `tests/fm-procevent.test.sh` (14 total).

| File | Fork origin | Resolution |
| --- | --- | --- |
| `.agents/skills/agent-skill-trigger-index/SKILL.md` | 09efd59 (#6, clickup-tickets) | Fork's `clickup-tickets` trigger line re-added to upstream's list unchanged. |
| `AGENTS.md` | 3843b2c (#8, skill selection); 89e1459 (#3, `feature/` prefix) | Fork's `fm-skill-select.sh --apply` line and the `feature/` default wording re-applied on upstream's new section 7 text (upstream added `--base-branch` and self-repo consent lines next to it; both kept). |
| `README.md` | 89e1459 (#3), via earlier fork syncs | Default ship-branch prefix wording stays `feature/` in upstream's rewritten bullet. |
| `bin/fm-captain-hold.sh` | 999f9d8 (#1, done-archive evidence) | Fork's done-archive lookup re-applied unchanged on upstream's version. |
| `bin/fm-dod-lib.sh` | 89e1459 (#3), 16cc4bd | Upstream's new base-branch/forge/consent code kept; its two `fm/$id` defaults now call `fm_task_branch` and the lib sources `fm-task-branch-lib.sh`, as the fork did before. |
| `bin/fm-procevent-lavish.sh` | 826e32b, 79d101b, d0ac8f4, cbfb295 (#7) | True clash, decided by the captain (option A) - see below. |
| `bin/fm-spawn.sh` | 89e1459 (#3), 16cc4bd, b7edc11, 153f4e2, de04c2d | Fork's `feature/` branch naming and legacy-brief branch binding re-applied unchanged on upstream's version. |
| `bin/fm-timeout-lib.sh` | 9e8b923 (bash without `BASHPID`) | Upstream fixed the same macOS bash 3.2 bug independently (5838f10, kunchenguid#6028, perl watchdog takes the pre-exec parent). Took upstream's code; the fork's regression test for it is kept and passes on upstream's fix. |
| `docs/architecture.md` | 89e1459 (#3) | `feature/` default and the `fm-task-branch-lib.sh` ownership line re-applied. |
| `tests/fm-brief.test.sh` | 89e1459 (#3), via earlier fork syncs | Expected branch names stay `feature/<id>` in upstream's updated cases. |
| `tests/fm-calm-pi-extension.test.sh` | bc3f178 (#10), 1757302 (#8 CI fix) | Upstream fixed the `/reload` geometry flake its own way (`wait_for_geometry_reload` on a durable status row), so the fork's `pipe-pane` version is dropped. Kept the fork's lookup-counting export renderer, the report-based Chrome hang attempt check, and the `tuiMode: regular` settings pin next to upstream's `--tui-mode regular` flag. |
| `tests/fm-procevent.test.sh` | #7 | Both test sets kept; see the Lavish decision. |
| `tests/fm-review-diff.test.sh` | 89e1459 (#3) | Fork's two unrecorded-`feature/` branch cases re-added; case letters shifted after upstream's new cases. |
| `tests/fm-timeout-lib.test.sh` | 9e8b923 | Fork's no-`BASHPID` test kept on top of upstream's tests. |

## Decision: Lavish list-form parser (captain chose option A)

Both sides fixed the same bug: Lavish emits queued feedback as a TOON list (not a table) when items carry nested content, and the adapter read it as an empty, complete result.

- Fork (#7): one parser that flattens and presents every nested field (table-cell `target:`, `attachments:`, other `fields:`, message uid/selector/text), adds `unpresented_items:`, and refuses `complete: yes` when nested content cannot be parsed.
- Upstream (fc8972c, kunchenguid#5404): one parser that skips nested targets and attachments; its tests assert nested content is absent from `read`. It also adds stricter refusals (unrecognized header keeps its declared count and counts as malformed; `answers`/`reconciles` exit 3 when not fully accounted for), and 228b27d renames the message count to `captain_message_count`.

Options:

- **A (chosen):** keep the fork's presenting parser, port upstream's strictness onto it (declared count + malformed on an unrecognized header, `answers`/`reconciles` exit 3, `captain_message_count`), keep both test sets, and adapt upstream's three "absent" assertions to check nested content appears only under its own labelled section and never replaces the item's own text.
  Cost: this region will likely conflict again on the next upstream sync.
- **B:** take upstream's parser and tests wholesale and drop the fork's nested presentation.
  Cost: Lavish reads lose table-cell location, text-selection range, and image attachment paths.
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