Files
moreminimore-chat/.hermes/evidence/chatwoot-private/baseline.md
2026-08-15 13:10:14 +07:00

5.2 KiB

Private Fork Baseline Evidence

Captured: 2026-08-15T11:57:57+07:00 Repository: /Users/kunthawat/Gitea/Chatwoot

Repository

HEAD=9a73c1473ffa0ae6a9c7725046b8ca17922dcc83
SHALLOW=true
STATUS=?? .hermes/
?? HANDOFF.md
?? engineering-log.md

The audited HEAD matches the current HEAD. The existing untracked planning/log files were present before implementation. No application source changes are present.

Runtime

ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin25]
node v26.5.1
pnpm 10.2.0

pnpm emitted these baseline warnings:

[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides". See https://pnpm.io/settings for the new home of each setting.
WARN Unsupported engine: wanted: {"node":"24.x"} (current: {"node":"v26.5.1","pnpm":"10.2.0"})

bundle -v and bundle exec rails -v are blocked before Rails boot:

Could not find 'bundler' (2.5.16) required by your /Users/kunthawat/Gitea/Chatwoot/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `gem install bundler:2.5.16`

No package installation was performed in this baseline task.

Backend narrow baseline

All seven commands were run separately. Every command exited 1 in 0 seconds before loading the application because Bundler 2.5.16 is missing:

bundle exec rspec spec/lib/chatwoot_hub_spec.rb
bundle exec rspec spec/jobs/internal/check_new_versions_job_spec.rb
bundle exec rspec spec/controllers/installation/onboarding_controller_spec.rb
bundle exec rspec spec/services/notification/push_notification_service_spec.rb
bundle exec rspec spec/controllers/api/v1/accounts_controller_spec.rb
bundle exec rspec spec/services/website_branding_service_spec.rb
bundle exec rspec spec/controllers/dashboard_controller_spec.rb

Baseline blocker: install/use the lockfile's Bundler and compatible Ruby toolchain before backend specs can provide pass/fail application results.

Frontend narrow baseline

All three commands were run separately. Every command exited 1 because node_modules is absent:

pnpm test app/javascript/dashboard/helper/AnalyticsHelper/specs/helper.spec.js

Result:

sh: vitest: command not found
ELIFECYCLE Test failed
WARN Local package.json exists, but node_modules missing
pnpm test app/javascript/shared/composables/specs/useBranding.spec.js

Result: same vitest: command not found / missing node_modules blocker.

pnpm eslint app/javascript/dashboard/helper/AnalyticsHelper/index.js app/javascript/entrypoints/v3app.js app/javascript/shared/components/Branding.vue

Result:

sh: eslint: command not found
ELIFECYCLE Command failed
WARN Local package.json exists, but node_modules missing

Baseline blocker: install dependencies using the repository-approved toolchain before frontend tests/lint can provide application results.

Static checks

git diff --check

Result: exit 0, no output.

Baseline status

  • Repository identity: PASS
  • Backend application baseline: BLOCKED by missing Bundler 2.5.16
  • Frontend application baseline: BLOCKED by missing node_modules (vitest/eslint unavailable)
  • No baseline failures are classified as application regressions because the test runners did not boot.

Follow-up environment-unblocked baseline

Captured: 2026-08-15T12:18:12+07:00. The repository toolchain was installed outside the repository and a temporary PostgreSQL 18 test cluster was prepared at /tmp/chatwoot-pgdata with pgvector.

ruby 3.4.4
Bundler 2.5.16
node v24.19.0
pnpm 10.2.0
Bundle complete! 151 Gemfile dependencies, 379 gems now installed.

Targeted backend commands were rerun against RAILS_ENV=test, POSTGRES_HOST=127.0.0.1, database chatwoot_test:

spec/lib/chatwoot_hub_spec.rb                         8 examples, 0 failures
spec/jobs/internal/check_new_versions_job_spec.rb     1 example, 0 failures
spec/controllers/installation/onboarding_controller_spec.rb 6 examples, 0 failures
spec/services/notification/push_notification_service_spec.rb 3 examples, 0 failures
spec/controllers/api/v1/accounts_controller_spec.rb  27 examples, 5 failures
spec/lib/chatwoot_exception_tracker_spec.rb           2 examples, 0 failures

The five accounts_controller_spec failures are baseline failures on the pristine HEAD: the requests returned 404 or did not invoke AccountBuilder/ChatwootCaptcha under the local test environment. They are recorded as pre-existing and are not attributed to SM-01.04.

Targeted frontend commands were rerun with Node 24 and installed dependencies:

pnpm test app/javascript/dashboard/helper/AnalyticsHelper/specs/helper.spec.js
  1 file, 11 tests passed
pnpm test app/javascript/shared/composables/specs/useBranding.spec.js
  1 file, 8 tests passed
pnpm eslint app/javascript/dashboard/helper/AnalyticsHelper/index.js app/javascript/entrypoints/v3app.js app/javascript/shared/components/Branding.vue
  ESLint: No issues found

Warnings observed but not failures: pnpm ignores the deprecated pnpm.overrides field, Browserslist data is outdated, and Rails emits existing enum deprecation warnings.