Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
271 commits
Select commit Hold shift + click to select a range
a4c7463
docs: add agent workflow and session documentation
jrepp Oct 3, 2025
046cd8f
docs: update API test suite TODO with progress
jrepp Oct 3, 2025
7088ea6
docs: add test coverage reports and summaries
jrepp Oct 3, 2025
4eee8a1
docs: reorganize and update internal documentation
jrepp Oct 3, 2025
b7e7ac6
chore: remove duplicate docs from root directory
jrepp Oct 3, 2025
211cd50
build: add build directory structure and update Makefile
jrepp Oct 3, 2025
9f59b78
feat: implement auth adapter system with mock support
jrepp Oct 3, 2025
677c5d6
test: add integration tests for auth adapter system
jrepp Oct 3, 2025
e84f8db
docs: add auth adapter implementation summary
jrepp Oct 3, 2025
50bb34c
wip: add v2 API integration tests with mock auth
jrepp Oct 3, 2025
d261143
refactor: add SearchProvider dependency injection to Server
jrepp Oct 3, 2025
699a371
docs: add search provider dependency injection guide
jrepp Oct 3, 2025
a986784
docs: add search provider test results and handler migration plan
jrepp Oct 3, 2025
0cd08af
refactor(products): migrate products handler to use database instead …
jrepp Oct 3, 2025
da9aa44
docs: update handler migration progress - Phase 1A complete
jrepp Oct 3, 2025
32575ba
docs: add handler migration session summary
jrepp Oct 3, 2025
46eddf8
refactor(drafts): add database-first approach for listing drafts
jrepp Oct 3, 2025
2ec143c
docs: update handler migration progress - 5/7 tests passing
jrepp Oct 3, 2025
bcb0297
fix(meilisearch): replace hardcoded timeouts with context-aware waits
jrepp Oct 3, 2025
ed92948
test(meilisearch): optimize integration tests and fix assertions
jrepp Oct 3, 2025
a6ddcb3
test(workspace): add timeout watchdog to local adapter integration tests
jrepp Oct 3, 2025
b338aeb
feat(workspace): implement Provider interface for local adapter via P…
jrepp Oct 3, 2025
4d0b70d
docs: comprehensive workspace abstraction and test coverage documenta…
jrepp Oct 3, 2025
102c1c3
feat(search): add ProjectIndex and LinksIndex to Provider interface
jrepp Oct 4, 2025
812dcc1
feat(search): implement ProjectIndex and LinksIndex in Algolia adapter
jrepp Oct 4, 2025
b96116b
feat(search): implement ProjectIndex and LinksIndex in Meilisearch ad…
jrepp Oct 4, 2025
d9e1544
refactor(links): migrate to use search.Provider interface
jrepp Oct 4, 2025
a5dc37d
refactor(api): update V1 reviews to use legacy links functions
jrepp Oct 4, 2025
bdf8420
docs: add ProjectIndex and LinksIndex migration session notes
jrepp Oct 4, 2025
ae4f491
docs: audit and refactor PROVIDER_MIGRATION_FIXME_LIST for clarity
jrepp Oct 4, 2025
bd10d71
feat(local): add config and filesystem abstraction
jrepp Oct 4, 2025
7124bb3
refactor(local): extract document storage to separate module
jrepp Oct 4, 2025
68ff2f0
refactor(local): use filesystem abstraction in services
jrepp Oct 4, 2025
323d15e
test(local): add comprehensive service tests
jrepp Oct 4, 2025
f3ad866
test(local): enhance adapter tests
jrepp Oct 4, 2025
57fdfe2
docs: add local adapter test plan and progress
jrepp Oct 4, 2025
378407d
perf(tests): optimize API tests with shared containers
jrepp Oct 5, 2025
e6ce271
refactor(tests): update integration suite for shared containers
jrepp Oct 5, 2025
579b4ba
feat(workspace): add Google Workspace adapter wrapper
jrepp Oct 6, 2025
b85ab87
refactor(workspace): update Provider interface for consistency
jrepp Oct 6, 2025
9d9e883
refactor(workspace): enhance mock adapter for testing
jrepp Oct 6, 2025
28cbbcd
refactor(workspace): improve Google Service implementation
jrepp Oct 6, 2025
9853b6c
refactor(server): add workspace provider dependency injection
jrepp Oct 6, 2025
3f64102
refactor(api/v2): use workspace provider interface in handlers
jrepp Oct 6, 2025
bf0559d
refactor(api/v1): update handlers for workspace provider (WIP)
jrepp Oct 6, 2025
f479a82
refactor(document): improve header replacement and processing
jrepp Oct 6, 2025
ca0dc2e
refactor(indexer): use workspace provider in indexing operations
jrepp Oct 6, 2025
fc2c271
chore: update dependencies and web embedding
jrepp Oct 6, 2025
b2a4d3c
test(api): improve test client and suite infrastructure
jrepp Oct 6, 2025
f81725e
test(api): update existing tests for workspace provider
jrepp Oct 6, 2025
02aa689
test(api): add comprehensive test suite architecture
jrepp Oct 6, 2025
f90b10b
docs: add API testing documentation
jrepp Oct 6, 2025
c083724
docs: add workspace provider migration documentation
jrepp Oct 6, 2025
a801b54
docs: add V1 API refactoring documentation
jrepp Oct 6, 2025
8ae0353
docs: add workspace refactoring and V2 migration docs
jrepp Oct 6, 2025
f5489ad
docs: update API integration test status and provider migration tracking
jrepp Oct 6, 2025
f5b92d0
chore: add gitignore patterns for backup and temp files
jrepp Oct 6, 2025
921eb6b
docs: add V1.5 API transition documentation
jrepp Oct 6, 2025
ba3de6d
refactor(api): migrate v1 handlers to provider abstractions (partial)
jrepp Oct 6, 2025
728372d
docs: add API handler modularization plan
jrepp Oct 6, 2025
02246a7
docs: add session checkpoint summary before modularization
jrepp Oct 6, 2025
c6419c2
docs: add detailed drafts module migration guide
jrepp Oct 6, 2025
ba2daf5
docs: add quick reference card for drafts migration
jrepp Oct 6, 2025
bcbe413
build: promote test dependencies to main requires
jrepp Oct 6, 2025
ced0b67
refactor(api): migrate products endpoint from Algolia to database
jrepp Oct 6, 2025
4a80ed2
refactor(api): migrate V1 handlers to workspace/search providers
jrepp Oct 6, 2025
532eba4
refactor(server): update handler registrations for provider migration
jrepp Oct 6, 2025
0fa528c
test(api): add products endpoint integration tests
jrepp Oct 6, 2025
3c0266e
docs: add provider interface extensions architectural plan
jrepp Oct 6, 2025
75d2f22
feat: extend provider interfaces for directory search and OR filters
jrepp Oct 6, 2025
a063591
feat: add provider-agnostic document consistency checker
jrepp Oct 6, 2025
b77deb1
feat: migrate API handlers to use provider interface extensions
jrepp Oct 6, 2025
98d4cd6
docs: update provider migration tracking documents
jrepp Oct 6, 2025
f80e872
docs: add comprehensive provider migration completion docs
jrepp Oct 6, 2025
c274dde
docs: update docs-internal README with provider migration completion
jrepp Oct 6, 2025
f31075e
perf: enable parallel test execution in Makefile
jrepp Oct 6, 2025
91cc79f
docs: add comprehensive test parallelization guide
jrepp Oct 6, 2025
6097084
docs: mandate prompt storage in AI agent commits
jrepp Oct 6, 2025
b7f92a6
docs: add comprehensive development velocity analysis
jrepp Oct 6, 2025
ec7a594
docs: add visual development timeline with ASCII charts
jrepp Oct 6, 2025
2bc05c1
docs: add AI agent usage analysis with best practices
jrepp Oct 6, 2025
848e6a0
docs: add 16 reusable prompt templates from Hermes project
jrepp Oct 6, 2025
fd9049a
docs: add evidence-based clarifications with examples
jrepp Oct 6, 2025
3738fb0
docs: add deliverables overview and usage guide
jrepp Oct 6, 2025
78ec130
docs: add test coverage comparison baseline vs refactored
jrepp Oct 6, 2025
136a813
docs: reorganize docs-internal with archived/completed structure
jrepp Oct 6, 2025
825e22b
feat: add canary command for docker-compose validation
jrepp Oct 6, 2025
0aa1af6
feat: add canary wrapper script and make target
jrepp Oct 6, 2025
b550638
feat: add complete containerized testing environment
jrepp Oct 6, 2025
d50e372
docs: add comprehensive testing environments guide
jrepp Oct 6, 2025
298c643
fix(testing): optimize Docker builds and fix configuration issues
jrepp Oct 6, 2025
817e8c0
docs: update testing environments status with known issues
jrepp Oct 6, 2025
6cd1724
docs: add Docker testing infrastructure session summary
jrepp Oct 6, 2025
b23843e
feat(config): implement profile-based configuration system
jrepp Oct 6, 2025
3e37b75
docs: add profile configuration implementation session notes
jrepp Oct 6, 2025
fd56893
feat(auth): add Dex OIDC authentication adapter
jrepp Oct 6, 2025
86d3ede
feat(auth): integrate Dex provider into auth middleware
jrepp Oct 6, 2025
432dc91
feat(auth): add command-line flag for auth provider selection
jrepp Oct 6, 2025
ccfaa2a
feat(docker): add Dex IDP services to docker-compose environments
jrepp Oct 6, 2025
4333875
build(docker): add Dockerfiles for backend and frontend
jrepp Oct 6, 2025
5e1be8a
docs: add comprehensive Dex and auth provider documentation
jrepp Oct 6, 2025
29a8253
docs: update README files and add provider selection test script
jrepp Oct 6, 2025
a11b075
refactor(web): replace deprecated 'inject as service' with 'service'
jrepp Oct 7, 2025
cb1140f
test(web): fix 2 failing unit tests and Algolia proxy routes
jrepp Oct 7, 2025
a983bdb
docs(testing): add test fix documentation and status tracking
jrepp Oct 7, 2025
ceb829a
refactor(web): replace deprecated .uniq() with modern Set-based dedup…
jrepp Oct 7, 2025
7de4312
docs(testing): add comprehensive session summary for Oct 6 test fixes
jrepp Oct 7, 2025
b7c03e0
refactor(web): add generic search service to replace algolia-specific…
jrepp Oct 7, 2025
100c6a1
refactor(web): update components to use search service
jrepp Oct 7, 2025
5aab856
refactor(web): update routes and services to use search service
jrepp Oct 7, 2025
0ec2d27
refactor(web): update types and utils for search service
jrepp Oct 7, 2025
235c74c
refactor(web): rename mirage/algolia to mirage/search and remove old …
jrepp Oct 7, 2025
ad8e7c1
refactor(web): update test helpers for search service
jrepp Oct 7, 2025
13a96fb
refactor(web): update integration tests for search service
jrepp Oct 7, 2025
721d8c1
refactor(web): remove dead Torii code and formalize auth pattern
jrepp Oct 7, 2025
76c9849
chore(web): improve test infrastructure and silence external deprecat…
jrepp Oct 7, 2025
a72fef2
test(web): add comprehensive service tests and test utilities
jrepp Oct 7, 2025
dcc4a6c
docs: add comprehensive testing documentation and strategy guides
jrepp Oct 7, 2025
ae88830
feat: validate auth flow with Dex OIDC and fix proxy configuration
jrepp Oct 7, 2025
f9e6208
feat(auth): add UserClaims and ClaimsProvider support
jrepp Oct 8, 2025
1cbd918
feat(auth/dex): implement ClaimsProvider for profile extraction
jrepp Oct 8, 2025
78c0550
feat(auth/dex): implement ClaimsProvider for profile extraction
jrepp Oct 8, 2025
ea80662
fix: set TargetMimeType in CreateShortcut
jrepp Oct 8, 2025
40704f6
test: add comprehensive provider and adapter tests
jrepp Oct 8, 2025
a29b75f
docs: update local workspace provider completion status
jrepp Oct 8, 2025
ad63f4d
test: remove redundant local adapter integration tests
jrepp Oct 8, 2025
f73539e
test: add consolidated document storage unit tests
jrepp Oct 8, 2025
11ba4bf
test: add /me endpoint integration tests
jrepp Oct 8, 2025
bdda448
fix: add JSON tags to workspace.User struct
jrepp Oct 8, 2025
7fa74d9
fix: implement missing CreateDocument template support
jrepp Oct 8, 2025
42a187e
config: enable local workspace provider in testing environment
jrepp Oct 8, 2025
1c6176e
docs: add local workspace testing documentation
jrepp Oct 8, 2025
6380d24
feat: add local workspace verification and automation scripts
jrepp Oct 8, 2025
7ed426a
docs: document test reorganization from integration to unit
jrepp Oct 8, 2025
f3220eb
docs: add comprehensive test documentation
jrepp Oct 8, 2025
f35fc96
docs: add summary documents for session work
jrepp Oct 8, 2025
0eab6f5
refactor: simplify container names in testing environment
jrepp Oct 8, 2025
1199186
docs: add container name simplification guide
jrepp Oct 8, 2025
0b35ba4
chore: add Playwright test artifacts to .gitignore
jrepp Oct 8, 2025
b0bf249
fix(server): enable local workspace provider initialization
jrepp Oct 8, 2025
08d46f4
config(testing): switch workspace provider from google to local
jrepp Oct 8, 2025
4cbb024
test: add Playwright E2E authentication tests
jrepp Oct 8, 2025
17c409b
docs: add local workspace user info fix summary
jrepp Oct 8, 2025
c470f98
feat(auth): add base_url configuration for environment-agnostic OAuth…
jrepp Oct 8, 2025
6c44ed8
fix(config): correct base_url and HERMES_BASE_URL for OAuth redirects
jrepp Oct 8, 2025
0b72fee
docs: add comprehensive OAuth redirect implementation and validation …
jrepp Oct 8, 2025
e1f1962
fix(web): resolve Ember Data store initialization error
jrepp Oct 8, 2025
2b9e68c
feat(api): add unified search endpoint /api/v2/search/{index}
jrepp Oct 8, 2025
db4d1ba
docs: add comprehensive search endpoint implementation documentation
jrepp Oct 8, 2025
924f8bc
fix(web): add missing session store for ember-simple-auth
jrepp Oct 8, 2025
27b8122
docs: add comprehensive Playwright MCP validation summary
jrepp Oct 8, 2025
b7401d5
docs: add comprehensive frontend validation action plan
jrepp Oct 8, 2025
43c4bfb
feat(web): replace Algolia SDK with native fetch-based search
jrepp Oct 8, 2025
041d2d8
docs: add search service migration documentation
jrepp Oct 8, 2025
3c4cc95
docs: add frontend search validation results
jrepp Oct 8, 2025
44ce163
fix(api): support Algolia-style sorting suffixes and filter attribute…
jrepp Oct 8, 2025
1879a37
tidy: remove extra doc artifacts
jrepp Oct 8, 2025
13ef56a
docs: relocate testing documentation to docs-internal/
jrepp Oct 8, 2025
8cc9155
chore: remove temporary refactoring scripts
jrepp Oct 8, 2025
9f08ef3
chore: update project configuration and documentation
jrepp Oct 8, 2025
348e1e6
feat(local-workspace): add directory-based document format support
jrepp Oct 8, 2025
1eabaf9
feat(local-workspace): implement document indexing on startup
jrepp Oct 8, 2025
2c07b23
fix(api): prevent empty facet strings in draft search queries
jrepp Oct 8, 2025
d9c167a
fix(search): add missing filterable attributes to Meilisearch schema
jrepp Oct 8, 2025
63ab4bc
docs: add Local workspace provider completion and E2E test results
jrepp Oct 8, 2025
72d5d49
fix(web): add runtime stubs for ember-animated components
jrepp Oct 8, 2025
73c087a
docs: document animation component fix and test session
jrepp Oct 8, 2025
f3001e1
test: add comprehensive Playwright document creation test
jrepp Oct 8, 2025
7deb816
fix(web): add ember-concurrency babel plugin for async arrow runtime
jrepp Oct 8, 2025
bf66a34
fix(api): gracefully handle missing user info in /me endpoint
jrepp Oct 8, 2025
d5f17c1
docs: add validation and fix documentation
jrepp Oct 8, 2025
ccf365e
docs: add comprehensive config.hcl documentation and track in git
jrepp Oct 8, 2025
07fc41b
test: update Playwright config for local dev environment
jrepp Oct 8, 2025
e8c0158
fix: resolve ember-power-select compatibility issue
jrepp Oct 8, 2025
56fd90c
fix: implement UpdateDoc stub for local workspace
jrepp Oct 8, 2025
d430ed0
docs: add ember-concurrency fix documentation
jrepp Oct 8, 2025
bad065f
feat(testing): add comprehensive document templates for local workspace
jrepp Oct 8, 2025
c5ef15a
refactor(testing): enhance config.hcl with comprehensive document typ…
jrepp Oct 8, 2025
92ce2bb
docs(testing): add comprehensive refactoring documentation
jrepp Oct 8, 2025
3784501
docs(config): enhance document type template documentation
jrepp Oct 8, 2025
82ef692
fix(local): handle template files without frontmatter
jrepp Oct 8, 2025
b24535a
test(local): migrate all tests to afero in-memory filesystem
jrepp Oct 8, 2025
5ff94b1
docs: add template copy fix analysis and test migration guide
jrepp Oct 8, 2025
11809dd
docs: add local adapter test migration summary
jrepp Oct 8, 2025
6089015
feat(hashicorpdocs): add PATH document type for Golden Paths
jrepp Oct 8, 2025
f9b144a
feat(hashicorpdocs): register PATH document type
jrepp Oct 8, 2025
fc8cab9
feat(config): add PATH document type configuration
jrepp Oct 8, 2025
1409c5c
feat(templates): add PATH document template
jrepp Oct 8, 2025
bced5f7
docs: compress copilot-instructions.md (65% reduction)
jrepp Oct 9, 2025
16848d6
docs: add implementation and testing guides
jrepp Oct 9, 2025
6f7bf11
feat(api): add document content API endpoints
jrepp Oct 9, 2025
d00d78b
test: add Playwright E2E tests for document editor
jrepp Oct 9, 2025
12571ba
test: add testing environment utilities and fixtures
jrepp Oct 9, 2025
892d1bf
feat(web): add promise timeout utilities to prevent hangs
jrepp Oct 9, 2025
67ca518
fix(web): add timeout handling and logging to prevent dashboard hangs
jrepp Oct 9, 2025
19fcefa
fix(config): change ADR flight_icon from 'building' to 'layers'
jrepp Oct 9, 2025
25452a4
refactor(web): simplify create button text to 'Create Draft'
jrepp Oct 9, 2025
ad6d2f9
docs: add session documentation for admin hang investigation
jrepp Oct 9, 2025
bd8df4c
fix(web): correct auth endpoint and add proxy scripts
jrepp Oct 9, 2025
22480fb
fix(e2e): update tests for testing environment and /auth/local
jrepp Oct 9, 2025
d4cb386
fix(testing): update Dex and docker-compose for multi-user auth
jrepp Oct 9, 2025
e15b429
feat(scripts): add development environment selector
jrepp Oct 9, 2025
d0b1fef
docs(copilot): update development workflow instructions
jrepp Oct 9, 2025
769c379
fix(web): remove broken fetch import and simplify store
jrepp Oct 9, 2025
d7c232a
fix(web): workaround Ember Data 4.12 RequestManager initialization issue
jrepp Oct 9, 2025
c77bf9d
fix(web): use RESTAdapter and add PersonAdapter.queryRecord method
jrepp Oct 9, 2025
429c02b
docs: add outbox pattern design with identity and audit tracking
jrepp Oct 9, 2025
1320a28
test: add E2E test for critical content display bug
jrepp Oct 9, 2025
21b31dd
test: add template marker validation to document creation E2E test
jrepp Oct 9, 2025
2ce2ebe
docs: add E2E test documentation for critical bug validation
jrepp Oct 9, 2025
b20ca36
docs: add ADRs for provider abstraction, playwright, and meilisearch
jrepp Oct 9, 2025
fab2a49
docs: add RFCs for new features and architecture improvements
jrepp Oct 9, 2025
e629929
docs: add session summary for ADR/RFC documentation work
jrepp Oct 9, 2025
637d106
docs: rename all ADR and RFC files to use uppercase document type pre…
jrepp Oct 9, 2025
c3182cb
feat: add root-level make targets for development workflows
jrepp Oct 9, 2025
2f8c1d8
docs: remove duplicate config files
jrepp Oct 9, 2025
83ad8a9
docs: create memo system with YAML frontmatter
jrepp Oct 9, 2025
acb1cd8
docs: reorganize TODOs with standardized format
jrepp Oct 9, 2025
8289bb9
docs: add remaining memo files and RFC documentation
jrepp Oct 9, 2025
054bbe2
docs: add YAML frontmatter to ADRs and RFCs
jrepp Oct 9, 2025
f2828ea
refactor: clean up obsolete files and update documentation
jrepp Oct 9, 2025
27c5426
docs: major documentation cleanup and new onboarding memos
jrepp Oct 9, 2025
22201e7
refactor: rename config.hcl to config-example.hcl
jrepp Oct 9, 2025
8078f18
docs: add provider-specific setup guides
jrepp Oct 9, 2025
dd2ea1a
docs: rewrite README for developer quick-start focus
jrepp Oct 9, 2025
0b0087c
docs: add comprehensive environment variable reference
jrepp Oct 9, 2025
4430f68
test: add dashboard E2E testing TODOs
jrepp Oct 9, 2025
5161cd2
docs: remove archived and completed documentation sections
jrepp Oct 9, 2025
19b3bb4
docs: remove sessions, testing, and api-development folders
jrepp Oct 9, 2025
0eba794
docs: restructure dashboard E2E testing into separate TODOs
jrepp Oct 9, 2025
f12e161
test: add E2E test for dashboard recently viewed feature
jrepp Oct 9, 2025
7b7f269
docs: add TODOs for issues discovered during E2E testing
jrepp Oct 9, 2025
897d1fe
test: add partial implementation of awaiting review E2E test
jrepp Oct 9, 2025
1239640
fix: Make 'Create draft' button text workspace-aware (TODO-016)
jrepp Oct 9, 2025
cd68109
docs: update TODO-015 with corrected problem statement and solution
jrepp Oct 10, 2025
f961f01
docs: clarify people API architecture - no database table
jrepp Oct 10, 2025
c563989
fix(web): resolve people search via direct adapter calls
jrepp Oct 10, 2025
17beedd
feat: implement 'Awaiting Review' dashboard feature with API endpoint
jrepp Oct 10, 2025
815a902
docs: remove obsolete TODO files (issues resolved)
jrepp Oct 10, 2025
7ab38d1
fix(web): resolve search service injection naming collision
jrepp Oct 10, 2025
7d43987
test(integration): add Meilisearch projects search validation tests
jrepp Oct 10, 2025
618dba9
feat(search): implement ProjectIndex.Search() for Meilisearch adapter
jrepp Oct 10, 2025
671005c
docs: add comprehensive search fix implementation summary
jrepp Oct 10, 2025
063313c
docs: move API refactoring RFC to proper location with YAML frontmatter
jrepp Oct 10, 2025
c2fbde6
chore: remove obsolete IMPLEMENTATION_AWAITING_REVIEW.md working docu…
jrepp Oct 10, 2025
ce41f75
refactor: remove V1 API legacy code (~3,700 lines)
jrepp Oct 10, 2025
c24075a
feat: implement document template variable expansion
jrepp Oct 10, 2025
e9bdff2
docs(adr): add ADR-001 for staying with classic Ember CLI build
jrepp Oct 10, 2025
8d99565
chore(deps): update yarn.lock after Embroider rollback
jrepp Oct 10, 2025
a2851d1
docs(ember): add comprehensive Ember development guide and best pract…
jrepp Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
88 changes: 88 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# .dockerignore for Hermes backend build
# Only include what's needed for the Go server binary

# Exclude testing infrastructure
testing/
tests/

# Exclude documentation
docs-internal/
*.md
!README.md

# Exclude build artifacts
build/
/hermes
*.exe
*.dll
*.so
*.dylib
*.test
*.out
coverage*.out
coverage*.html

# Exclude config files with secrets
config.hcl
credentials.json
token.json
.env*

# Exclude version control
.git/
.github/
.gitignore
.gitattributes

# Exclude test outputs and logs
workspace.test
test_results.log
test_output.log
test_final.log
*.log
*.patch

# Exclude macOS and OS files
.DS_Store
Thumbs.db

# Exclude Python scripts
*.py
*.sh
refactor_*.py
fix_*.py
scripts/

# Exclude web development files (keep only dist/ and web.go)
web/node_modules/
web/.yarn/
web/.pnp.*
web/.npm/
web/.eslintcache
web/tests/
web/mirage/
web/tmp/
web/.cache/
web/babel.config.js
web/ember-cli-build.js
web/package.json
web/yarn.lock
web/tsconfig.json
web/testem.js
web/tailwind.config.js
web/.template-lintrc.js
web/.eslintrc.js
web/.prettierrc.js
web/types/
web/vendor/

# Keep only web/dist (needed for go:embed) and web/web.go
!web/dist/
!web/web.go

# Exclude IDE
.idea/
.vscode/
*.swp
*.swo
*~
26 changes: 26 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Minimal .env example for local development and testing
# Copy to .env and fill in your actual values

# Required for web frontend
HERMES_WEB_GOOGLE_OAUTH2_CLIENT_ID=your-client-id.apps.googleusercontent.com

# Required for backend Google API access
GOOGLE_APPLICATION_CREDENTIALS=./credentials.json

# Required for search functionality
HERMES_WEB_ALGOLIA_APP_ID=your-algolia-app-id
HERMES_WEB_ALGOLIA_SEARCH_API_KEY=your-search-api-key
ALGOLIA_ADMIN_API_KEY=your-admin-api-key

# Optional: Override default index names
HERMES_WEB_ALGOLIA_DOCS_INDEX_NAME=hermes_docs
HERMES_WEB_ALGOLIA_DRAFTS_INDEX_NAME=hermes_drafts
HERMES_WEB_ALGOLIA_INTERNAL_INDEX_NAME=hermes_internal
HERMES_WEB_ALGOLIA_PROJECTS_INDEX_NAME=hermes_projects

# Optional: Database (uses Docker defaults if not set)
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/hermes?sslmode=disable

# Optional: Application settings
HERMES_WEB_SHORT_LINK_BASE_URL=http://localhost:8000
LOG_LEVEL=info
90 changes: 90 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Hermes Environment Variables Template
# Copy this file to .env and fill in your actual values
# WARNING: Never commit .env files with real credentials!

# =============================================================================
# Google Workspace Integration
# =============================================================================

# Google OAuth 2.0 Client ID (for web frontend authentication)
# Get this from Google Cloud Console > APIs & Services > Credentials
HERMES_WEB_GOOGLE_OAUTH2_CLIENT_ID=your-client-id.apps.googleusercontent.com

# Google Service Account Credentials (for backend API access)
# Path to your service account JSON file (e.g., ./credentials.json)
# Download from Google Cloud Console > IAM & Admin > Service Accounts
GOOGLE_APPLICATION_CREDENTIALS=./credentials.json

# =============================================================================
# Algolia Search Configuration
# =============================================================================

# Algolia Application ID
HERMES_WEB_ALGOLIA_APP_ID=your-algolia-app-id

# Algolia Search API Key (public, read-only key for frontend)
HERMES_WEB_ALGOLIA_SEARCH_API_KEY=your-algolia-search-api-key

# Algolia Admin API Key (for backend indexing operations)
# Keep this secret! Only use in backend/testing
ALGOLIA_ADMIN_API_KEY=your-algolia-admin-api-key

# Algolia Index Names (customize per environment: dev, staging, prod)
HERMES_WEB_ALGOLIA_DOCS_INDEX_NAME=hermes_docs_dev
HERMES_WEB_ALGOLIA_DRAFTS_INDEX_NAME=hermes_drafts_dev
HERMES_WEB_ALGOLIA_INTERNAL_INDEX_NAME=hermes_internal_dev
HERMES_WEB_ALGOLIA_PROJECTS_INDEX_NAME=hermes_projects_dev

# =============================================================================
# Application Configuration
# =============================================================================

# Short Link Base URL (for generating short URLs)
HERMES_WEB_SHORT_LINK_BASE_URL=http://localhost:8000

# Google Analytics Tag ID (optional, for tracking)
HERMES_WEB_GOOGLE_ANALYTICS_TAG_ID=

# =============================================================================
# Database Configuration
# =============================================================================

# PostgreSQL connection string
# Default for local Docker: postgresql://postgres:postgres@localhost:5432/hermes?sslmode=disable
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/hermes?sslmode=disable

# =============================================================================
# Datadog Configuration (optional)
# =============================================================================

# Datadog API Key (for monitoring and logging)
DATADOG_API_KEY=

# Datadog Application Key
DATADOG_APP_KEY=

# Datadog Site (e.g., datadoghq.com, datadoghq.eu)
DATADOG_SITE=datadoghq.com

# =============================================================================
# Testing Configuration
# =============================================================================

# Set to "true" to enable test mode
TEST_MODE=false

# Test database URL (separate from production)
TEST_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/hermes_test?sslmode=disable

# =============================================================================
# Server Configuration
# =============================================================================

# Server address and port
SERVER_ADDRESS=:8000

# Log level (debug, info, warn, error)
LOG_LEVEL=info

# Environment (development, staging, production)
ENVIRONMENT=development
Loading