Skip to content

Expand ERP modules and add dual AGPL/commercial licensing - #1

Draft
Asadalisabeni wants to merge 2 commits into
mainfrom
agent/erp-modules-dual-licensing
Draft

Expand ERP modules and add dual AGPL/commercial licensing#1
Asadalisabeni wants to merge 2 commits into
mainfrom
agent/erp-modules-dual-licensing

Conversation

@Asadalisabeni

@Asadalisabeni Asadalisabeni commented Jul 24, 2026

Copy link
Copy Markdown
Owner

What changed

  • expanded Inventory with warehouse-aware stock, transfers, adjustments, opname, reversals, and dynamic negative-stock authorization
  • added Purchasing flows for purchase requests, purchase orders, goods receipts, and suppliers
  • added CRM, Accounting, HR, and User Management modules
  • introduced database-backed role permissions with full Manager authorization configurable from the UI
  • redesigned the application shell and dashboard with a responsive Tailwind interface
  • completed the as-built Inventory Service Design Specification with contracts, invariants, diagrams, concurrency controls, recovery procedures, limitations, ADRs, and test traceability
  • added AGPL-3.0-only community licensing plus a separate commercial/OEM licensing path
  • added COMMERCIAL-LICENSE.md, CONTRIBUTING.md, CLA.md, and TRADEMARKS.md
  • updated Guzzle to 7.15.1 to resolve dependency security advisories

Why

This turns the inventory prototype into a locally runnable, auditable portfolio platform while preserving an open community edition and a commercial licensing option for proprietary, OEM, reseller, and white-label use. The architecture documentation now reflects the actual Laravel 13 implementation rather than the earlier unfinished design.

User and developer impact

Managers receive all permissions by default and permissions can be changed inside the application without source-code edits. Inventory writes remain immutable and transactional. Existing installations should run the included migrations and seed the permission/account definitions before use. Future contributors have an authoritative service contract and extension checklist.

Validation

  • php artisan test — 12 tests, 61 assertions passed
  • php artisan view:cache — passed
  • npm.cmd run build — passed
  • composer validate --strict --no-check-publish — passed
  • composer audit --locked --no-interaction — no advisories
  • official AGPL-3.0 text verified word-for-word against GNU
  • local /login smoke test — HTTP 200
  • workspace and repository copies of the Inventory Service Design Specification are byte-identical

Licensing

Copyright © 2026 As'ad Alisabeni.

Community use is offered under GNU AGPL-3.0-only. Proprietary/OEM rights require a separate signed commercial agreement.

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