Skip to content

v0.1.1: Fix validation, add indicator, community files - #1

Merged
RemoteCTO merged 2 commits into
mainfrom
v0.1.1
Feb 13, 2026
Merged

RemoteCTO merged 2 commits into
mainfrom
v0.1.1

Conversation

@RemoteCTO

Copy link
Copy Markdown
Owner

Summary

  • Case-insensitive validation: Sonnet sometimes produces lowercase section headings (session summary vs Session Summary). The validator now matches case-insensitively, preventing valid summaries from being rejected and triggering unnecessary retries with halved transcripts.
  • SEAMLESS_INDICATOR env var: Custom display commands now receive a SEAMLESS_INDICATOR env var that's always set when the plugin is active (S when idle, emoji for other states). Makes it easy to confirm the plugin is running in your statusline.
  • UPS error logging: UserPromptSubmit hook errors now logged to ~/.seamless-claude/ups-errors.log instead of being silently swallowed — aids diagnosis when Claude Code shows generic "hook error" messages.
  • Test fix: SEAMLESS_DISPLAY_CMD no longer leaks from host environment into integration tests.
  • Community files: Changelog, contributing guide (includes changelog requirement), security policy, issue templates, PR template.

Test plan

  • 158 tests pass, 0 fail
  • Biome lint clean (34 files)
  • No personal references in diff (verified grep)
  • Install plugin update and verify S indicator appears in statusline
  • Trigger compaction and verify case-insensitive validation accepts result

Bug fixes:
- Case-insensitive section heading validation. Sonnet
  sometimes produces lowercase headings which caused
  valid summaries to fail and trigger retries.
- Test env leak: SEAMLESS_DISPLAY_CMD no longer
  inherited from host environment in integration tests.

Features:
- SEAMLESS_INDICATOR env var for custom display
  commands. Shows S when idle, emoji when active.
- Error logging for UPS hook (ups-errors.log).

Community:
- Apache 2.0 licence, contributing guide, security
  policy, issue/PR templates, changelog.
Copilot AI review requested due to automatic review settings February 13, 2026 08:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR releases version 0.1.1 with bug fixes, a new indicator feature for custom statuslines, improved error logging, and community contribution files.

Changes:

  • Fixed case-insensitive section heading validation to prevent false rejections when Claude produces lowercase headings
  • Added SEAMLESS_INDICATOR environment variable (always set to S or status emoji) for custom display commands
  • Added error logging to ~/.seamless-claude/ups-errors.log for UserPromptSubmit hook failures
  • Fixed test environment leakage of SEAMLESS_DISPLAY_CMD
  • Added community files (CONTRIBUTING.md, SECURITY.md, CHANGELOG.md, GitHub templates)
  • Streamlined CI workflow to test Node 18 and 22 only

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
lib/validate.mjs Implements case-insensitive section heading matching
test/validate.test.mjs Adds test coverage for case-insensitive validation
lib/statusline.mjs Adds indicator() function and STATUS_INDICATORS mapping
scripts/statusline.mjs Passes SEAMLESS_INDICATOR to custom display commands
test/statusline.test.mjs Adds indicator tests and fixes SEAMLESS_DISPLAY_CMD test leakage
scripts/user-prompt-submit.mjs Adds error logging to ups-errors.log file
package.json Version bump to 0.1.1
package-lock.json Version bump and bin field sync
.claude-plugin/plugin.json Version bump to 0.1.1
README.md Documents indicator feature and error log location
CHANGELOG.md New file documenting all changes in Keep a Changelog format
CONTRIBUTING.md New contribution guide with setup, testing, and PR process
SECURITY.md New security policy with vulnerability reporting instructions
LICENCE Updates copyright from Edward Woodcock to RemoteCTO
NOTICE Simplifies notice and updates copyright to RemoteCTO
.github/workflows/ci.yml Streamlines workflow: Node 18/22 only, combines lint and test jobs
.github/PULL_REQUEST_TEMPLATE.md New PR template with checklist including changelog requirement
.github/ISSUE_TEMPLATE/bug_report.md New bug report template with environment and log sections
.github/ISSUE_TEMPLATE/feature_request.md New feature request template

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md Outdated
Comment thread scripts/user-prompt-submit.mjs Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread CONTRIBUTING.md Outdated
- Use npm ci in CI workflow (reproducible builds)
- Fix lint:fix command in CONTRIBUTING.md (biome
  uses --write, not --fix)
- Fix changelog: CI tests Node 18/22, not 18/20/22
- Use DATA_DIR for UPS error log path (respects
  SEAMLESS_DATA_DIR override)
@RemoteCTO
RemoteCTO merged commit ddd9eb1 into main Feb 13, 2026
2 checks passed
@RemoteCTO
RemoteCTO deleted the v0.1.1 branch February 13, 2026 08:32
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.

2 participants