Skip to content

Pre-promotion cleanup: fix URLs, add community health files#11

Merged
roger296 merged 8 commits intomainfrom
fix/pre-promotion-cleanup
Apr 22, 2026
Merged

Pre-promotion cleanup: fix URLs, add community health files#11
roger296 merged 8 commits intomainfrom
fix/pre-promotion-cleanup

Conversation

@roger296
Copy link
Copy Markdown
Owner

Summary

  • Fix broken repo URLs in README.md, install.sh, and GETTING_STARTED.md — all pointed to the old luca-general-ledger repo name or gl-mvp project name
  • Remove MIT license badge from README (custom license to be added later)
  • Add community health files: CONTRIBUTING.md, SECURITY.md, CHANGELOG.md
  • Add GitHub templates: bug report, feature request, and PR template
  • Rename luca-installation-guide (1).docx to remove the download artifact suffix

Not included (needs manual action)

  • CI workflow (.github/workflows/test.yml) — the PAT needs workflow scope to push Actions files. The file is ready locally and can be pushed once the permission is added, or committed via the GitHub UI.
  • GitHub topics and description — the PAT needs Metadata write permission. Set these via the repo Settings page:
    • Description: AI-driven general ledger with cryptographic audit trail. Conversational accounting via 50 MCP tools for Claude.
    • Topics: accounting, general-ledger, double-entry, ai, mcp, claude, typescript, postgresql

Test plan

  • Verify README curl/clone URLs point to roger296/lucaV0.5
  • Verify install.sh URLs point to roger296/lucaV0.5
  • Verify GETTING_STARTED.md references lucaV0.5 not gl-mvp
  • Verify no LICENSE badge appears in README
  • Verify issue templates appear when creating new issues
  • Verify PR template loads when opening new PRs

roger296 and others added 8 commits April 22, 2026 05:29
- Fix repo URLs in README.md, install.sh (luca-general-ledger → lucaV0.5)
- Update GETTING_STARTED.md references from gl-mvp to lucaV0.5
- Remove MIT license badge (custom license coming later)
- Add CONTRIBUTING.md, SECURITY.md, CHANGELOG.md
- Add issue templates (bug report, feature request) and PR template
- Rename luca-installation-guide (1).docx to remove download artifact

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs npm test with PostgreSQL 16 service container on pushes to main
and pull requests. Enables status checks for branch protection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The knexfile reads TEST_DATABASE_URL for the test environment.
Without it, the fallback password doesn't match the CI service container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Integration tests need the chart of accounts, approval rules,
transaction type mappings, and default admin user seeded before
they can run. Without seeds, tests fail with foreign key violations
(account codes not found in accounts table).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests create chain files in 'chains/default' (the config default),
but the MCP tool handlers read config.chainDir. Setting CHAIN_DIR
to /tmp/test-chains in CI caused the handlers to look for chain
files in a different directory than where the tests created them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The 'creates chain directory' test constructed a ChainWriter without
the required getPeriodStatus callback, unlike all other tests that
use the makeWriter() helper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The gl_get_transaction MCP tool queries transaction_lines with
ORDER BY line_number, but the column was never added to the schema.
This migration adds it so the query works without falling through
to the catch handler.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…emoved

The afterEach cleanup was failing with EACCES when removing nested
chain directories because makeWritable only set 0o666 on entries
(no execute bit for directories). Directories need 0o777 to be
traversable and deletable by fs.rm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@roger296 roger296 merged commit ed6e977 into main Apr 22, 2026
1 check passed
@roger296 roger296 deleted the fix/pre-promotion-cleanup branch April 22, 2026 05:40
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