Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .allstar/binary_artifacts.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# These binaries are intentionally included in the repository because they are
# required for build tooling or platform-specific runtime components.
# required for build tooling or platform-specific runtime components.
# No additional binary artifacts are permitted beyond this list.

optConfig:
Expand Down
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.swift]
indent_size = 4

[*.{rs,go}]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@

# Scala Steward: Reformat with scalafmt 3.8.3
a9110aafdb5e6d26522ee297ab8cb357601ff091

# style: auto-fix and manually resolve all lint errors across the repo
# Mass formatting — markdownlint, yamllint, shellcheck. No logic changes.
03b3786ee9c3124d13715b5113eb439265aa89c3
46 changes: 46 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Normalize all text files to LF
* text=auto eol=lf

# Scripts -- must be LF (executed in Docker/Linux)
*.sh text eol=lf
*.bash text eol=lf

# Data/config
*.sql text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.properties text eol=lf

# Source code
*.scala text eol=lf
*.kt text eol=lf
*.kts text eol=lf
*.java text eol=lf
*.swift text eol=lf
*.ts text eol=lf
*.js text eol=lf
*.rs text eol=lf
*.go text eol=lf

# Docs
*.md text eol=lf
*.txt text eol=lf

# Docker
Dockerfile text eol=lf
docker-compose*.yml text eol=lf

# Binary -- never touch
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.jar binary
*.zip binary
*.tar.gz binary
*.woff binary
*.woff2 binary
*.ttf binary
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
### Description

Summarize the changes you're submitting in a few sentences, including Jira ticket ATL-xxxx if applicable.
Link to any discussion, related issues and bug reports to give the context to help the reviewer understand the PR.

### Alternatives Considered (optional)

Link to existing ADR (Architecture Decision Record), if any. If relevant, describe other approaches explored and the selected approach. Documenting why the methods were not selected will create a knowledge base for future reference, helping prevent others from revisiting less optimal ideas.

### Checklist

- [ ] My PR follows the [contribution guidelines](https://github.com/hyperledger-identus/cloud-agent/blob/main/CONTRIBUTING.md) of this project
- [ ] My PR is free of third-party dependencies that don't comply with the [Allowlist](https://toc.hyperledger.org/governing-documents/allowed-third-party-license-policy.html#approved-licenses-for-allowlist)
- [ ] I have commented my code, particularly in hard-to-understand areas
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ updates:
groups:
pip-demo-deps:
patterns:
- "*"
- "*"
10 changes: 10 additions & 0 deletions .github/workflows/file-hygiene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: File Hygiene

on:
pull_request:
push:
branches: [main]

jobs:
lint:
uses: hyperledger-identus/.github/.github/workflows/lint-files.yml@f2c9e417fa46f69b015a9cdbaafdfb9e52e4ed60 # main
9 changes: 9 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ignores:
- ".claude/**"
- "node_modules/**"
- "**/node_modules/**"
- "target/**"
- "tmp/**"
- "atala-prism/**"
- "cloud-agent/client/**"
- "tests/integration-tests/tmp/**"
44 changes: 44 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# markdownlint configuration
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md

default: true

# Allow long lines (common in tables, URLs, and generated content)
MD013: false

# Allow multiple top-level headings (common in multi-section docs)
MD025: false

# Allow inline HTML (needed for badges, details/summary, etc.)
MD033: false

# Allow duplicate headings (common in CHANGELOG files with repeated version patterns)
MD024: false

# Allow first line to be HTML (centered logos in READMEs)
MD041: false

# Disable ordered list prefix check (lists broken by code blocks/paragraphs
# restart numbering which triggers false positives)
MD029: false

# Allow heading level jumps (common in CHANGELOG.md files)
MD001: false

# Allow emphasis used as heading (common in generated changelogs)
MD036: false

# Allow empty links (common in generated API docs)
MD042: false

# Allow code blocks without language (legacy docs)
MD040: false

# Allow indented code blocks (mixed style in existing docs)
MD046: false

# Allow non-descriptive link text like "here" (legacy docs)
MD059: false

# Allow images without alt text (legacy docs)
MD045: false
6 changes: 6 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.claude/
node_modules/
target/
tmp/
atala-prism/
cloud-agent/client/
5 changes: 5 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SC2221/SC2222: Case pattern overlap (catch-all before specific) — intentional
# in argument parsing where -* and --* are both handled together
# SC2034: Unused variable — false positive for vars exported via env to docker-compose
# SC3045: POSIX ulimit — in generated gradlew file
disable=SC2221,SC2222,SC2034,SC3045
61 changes: 46 additions & 15 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,49 @@
###########################################
# These are the rules used for #
# linting all the yaml files in the stack #
# NOTE: #
# You can disable line with: #
# # yamllint disable-line #
###########################################
---
extends: default

rules:
new-lines:
level: warning
type: unix
line-length:
max: 600
comments:
min-spaces-from-content: 1 # Used to follow prettier standard: https://github.com/prettier/prettier/pull/10926
level: warning
# Allow long lines (common in CI workflows and docker-compose)
line-length: disable

# Allow truthy values like 'on' (used in GitHub Actions triggers)
truthy:
allowed-values: ["true", "false", "yes", "no", "on"]

# Relaxed comment indentation
comments-indentation: disable

# Allow YAML files without document start marker (---)
document-start: disable

# Allow spaces inside brackets (common in Docker Compose port mappings)
brackets:
min-spaces-inside: 0
max-spaces-inside: 1

# Allow spaces inside braces (common in compose environment vars)
braces:
min-spaces-inside: 0
max-spaces-inside: 1

# Relax comment spacing (allow 1 space before inline comments)
comments:
min-spaces-from-content: 1

# Relax indentation to allow 2-space variants
indentation:
spaces: consistent
indent-sequences: whatever

# Allow blank lines at end of file
empty-lines:
max-end: 1

ignore: |
# Helm templates contain Go templating that breaks YAML syntax
infrastructure/charts/
# Large OpenAPI spec has its own validation
cloud-agent/service/api/http/
# Build artifacts
target/
node_modules/
.claude/
Loading
Loading