Engineering conventions and best practices for Sea Haven Industries
Find a file
Adam Moussa 651dff5dd3
Add Bedrock, dev-env, and Lambda template pages (#7)
Adds three handbook pages covering conventions that were previously
scattered across feedback memories or rederived from scratch each
time:

- bedrock.md captures the cross-region inference profile requirement
  for Claude 4.x Bedrock Agents and the alias-version pinning gotcha,
  plus the IAM resource pattern and the KB Docker requirement.
- dev-environment.md documents the workstation directory layout,
  pyenv/Node conventions, the macOS launchd/TCC sandbox gotcha, and
  cleanup cadence.
- lambda-template.md provides a minimal SAM scaffold that follows the
  Lambda defaults already in aws-infrastructure.md (Python 3.12,
  arm64, explicit 60-day log retention, scoped Secrets Manager
  access, module-level secret cache).

Also extends two existing pages:

- sam-project-layout.md gains a Lambda Layers section with the
  BuildMethod nesting pattern that caused a ~22-hour production
  outage when violated.
- naming-conventions.md adds a Legacy Stacks note acknowledging that
  pre-convention PascalCase stacks (SeaHavenDoorUnlockStack,
  WorkorderIngestStack) stay as-is rather than risk stack
  replacement.
2026-05-14 19:50:37 -04:00
constructs Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
hooks Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
scripts Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
aws-infrastructure.md Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
bedrock.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
cicd.md Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
code-review.md Add engineering handbook 2026-05-02 16:42:44 -04:00
commit-messages.md Add engineering handbook 2026-05-02 16:42:44 -04:00
CONTRIBUTING.md Add engineering handbook 2026-05-02 16:42:44 -04:00
dev-environment.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
git-workflow.md Add CDK version policy, update Node 24 and GitHub Actions CI/CD (#6) 2026-05-14 18:39:13 -04:00
github-standards.md Add Dependabot version update configuration standards 2026-05-02 17:29:58 -04:00
lambda-template.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
LICENSE Add engineering handbook 2026-05-02 16:42:44 -04:00
naming-conventions.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
pull-requests.md Update PR description template to match team format (#4) 2026-05-08 13:56:21 -04:00
README.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
sam-project-layout.md Add Bedrock, dev-env, and Lambda template pages (#7) 2026-05-14 19:50:37 -04:00
secrets-and-config.md Add engineering handbook 2026-05-02 16:42:44 -04:00

Engineering Handbook

Engineering conventions and best practices for Sea Haven Industries.

Contents

Contributing

See CONTRIBUTING.md.

License

This work is licensed under CC-BY-4.0. The commit messages section adapts content from commit-messages-guide by Romulo Oliveira, also licensed under CC-BY-4.0.