Skip to content

Commit 4213cf8

Browse files
committed
Merge develop → main: README badges + .vscode/ gitignore
Brings two documentation fixes from PR #5: - README badges: CI, CodeQL, OpenSSF Scorecard (will render broken while repo is private, auto-resolve on public flip) - .vscode/ removed from tree and added to .gitignore — closes the root cause of the settings.json leak caught during the previous develop → main strip merge scripts/strip_for_main.sh ran clean in mid-merge mode (16 paths checked, nothing to remove this round since a72a959 already handled the dev file deletions). Build guard PASS. Pre-commit hook (.githooks/pre-commit) also verified — no forbidden paths in the staged changes.
2 parents a72a959 + 90aded2 commit 4213cf8

3 files changed

Lines changed: 44 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ __pycache__/
3838
# M-sec gate artifacts — generated by ./scripts/gates.sh full, not checked in
3939
coverage.out
4040
sbom.spdx.json
41+
42+
# Editor-specific settings — VSCode auto-recreates settings.json with Snyk
43+
# IDE preferences and other per-user state. Keep it out of the tree entirely.
44+
# strip_for_main.sh and .githooks/pre-commit both enforce this for main;
45+
# ignoring it in .gitignore prevents accidental commits on ANY branch.
46+
.vscode/

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added — M-sec README badges (Task 30)
11+
12+
- **`README.md`** — added three CI-health badges ahead of the existing
13+
language/license/tech row:
14+
- **CI**`ci.yml` workflow status on `main`
15+
- **CodeQL**`codeql.yml` SAST status on `main`
16+
- **OpenSSF Scorecard** — supply-chain posture score
17+
Badges will show as "not found" or broken while the repo is private
18+
(CI badge requires viewer auth; CodeQL and Scorecard require public
19+
repo access). They're added now so the moment the repo flips public
20+
they light up without a README update — fire-and-forget. CodeQL
21+
and Scorecard will ALSO need their workflow triggers re-enabled
22+
per TD-VUL-006 fix sequence. A comment in the README notes this.
23+
24+
### Fixed — `.vscode/` removed from tree and gitignored
25+
26+
- **`.vscode/settings.json`** — was tracked on develop but carries
27+
per-user editor settings (e.g. Snyk IDE prefs). Untracked via
28+
`git rm` and added to `.gitignore` so it stays out of every branch.
29+
This closes the loop on the leak that happened during the first
30+
develop → main strip merge attempt: VSCode recreated the file between
31+
`rm -rf` and `git commit`, so it landed in the merge commit. The
32+
commit was amended to remove it (see `a72a959`), but the root cause
33+
was that the file was tracked on develop at all. Now both the strip
34+
script and .gitignore cooperate to keep it out.
35+
1036
### Fixed — strip_for_main.sh mid-merge support + two drift fixes
1137

1238
- **`scripts/strip_for_main.sh`** — the documented `git merge develop

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# AgentAuth
22

3+
[![CI](https://github.com/devonartis/agentauth/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/devonartis/agentauth/actions/workflows/ci.yml)
4+
[![CodeQL](https://github.com/devonartis/agentauth/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/devonartis/agentauth/actions/workflows/codeql.yml)
5+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/devonartis/agentauth/badge)](https://securityscorecards.dev/viewer/?uri=github.com/devonartis/agentauth)
36
[![Go Reference](https://pkg.go.dev/badge/github.com/devonartis/agentauth.svg)](https://pkg.go.dev/github.com/devonartis/agentauth)
47
[![Go Report Card](https://goreportcard.com/badge/github.com/devonartis/agentauth)](https://goreportcard.com/report/github.com/devonartis/agentauth)
58
[![License](https://img.shields.io/badge/License-AGPL--3.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
@@ -9,6 +12,15 @@
912
[![EdDSA](https://img.shields.io/badge/Signing-Ed25519%20EdDSA-8B5CF6)](https://ed25519.cr.yp.to/)
1013
[![SPIFFE](https://img.shields.io/badge/Identity-SPIFFE-0F9D58)](https://spiffe.io/)
1114

15+
<!--
16+
Badge note: CI, CodeQL, and OpenSSF Scorecard badges will show as "not found"
17+
or broken while this repo is private — those badges require public repo visibility
18+
(and for CodeQL/Scorecard, the workflows must be re-enabled, see TD-VUL-006).
19+
They're added now so the moment the repo flips public, they light up without
20+
needing a README update. Fire-and-forget.
21+
-->
22+
23+
1224
**Ephemeral agent credentialing for AI systems.**
1325

1426
AgentAuth is a credential broker that issues short-lived, scope-attenuated tokens to AI agents. Each agent gets a unique [SPIFFE](https://spiffe.io/)-format identity and operates with only the permissions its task requires. Tokens are signed with Ed25519 (EdDSA), expire in minutes, and are revocable at four levels (token, agent, task, delegation chain). Every credential event is recorded in a tamper-evident audit trail.

0 commit comments

Comments
 (0)