Skip to content

docs: OpenSSF gold, publish a VEX document with each release; security review and small tasks met - #82

Merged
minitru merged 9 commits into
mainfrom
docs/gold-badge
Dec 5, 2026
Merged

minitru merged 9 commits into
mainfrom
docs/gold-badge

Conversation

@HackTuah

@HackTuah HackTuah commented Dec 5, 2026

Copy link
Copy Markdown
Member

Closes the OpenSSF gold criteria that don't need another person (SCR-760). Stacked on #78: merge #78 first, and this diff then shows only its own three commits.

  • osps_vm_04_02 (VEX), Met. vex/kotiko.openvex.json (OpenVEX 0.2.0) ships with every release as kotiko-X.Y.Z.openvex.json, so dist/* checksums and attests it like the other files. It has no statements today: nothing is accepted in osv-scanner.toml, and node-forge left with web-ext's update. test/unit/vex.test.mjs fails when an osv-scanner.toml acceptance has no not_affected statement, so the two can't drift. The dependency policy and docs/verify.md say so.
  • security_review, Met. The v1.0.0 review (docs/security/review-v1.0.0.md) read the code against docs/security/requirements.md and the assurance case's trust boundaries, and its gate closed before the release. The answer says plainly that the reviewers were AI agents, as the report does.
  • small_tasks, Met. Three good first issues (Add SPDX headers to the last three source files that rely on REUSE.toml #79 SPDX headers, Anki export: add the name of the "Basic (and reversed card)" note type in your Anki language #80 Anki note-type names, Finish the Spanish translation of the extension (147 strings left) #81 Spanish strings), and CONTRIBUTING.md points newcomers to the label.
  • bus_factor and two_person_review stay Unmet, with today's numbers: 221 commits from the lead account against 12 from minitru, and 41 of 59 merged PRs opened and merged by the same account.

Left for gold after this: two_person_review/osps_qa_07_01 (a second person approves each PR; then require 1 approval on main), bus_factor, and contributors_unassociated. All three need people.

Checks: npm run lint, npm test 2093/2093 (3 new), bestpractices-links --check (209 valid), reuse lint, DCO, forbidden files.

🤖 Generated with Claude Code

Ayla Croft and others added 9 commits December 5, 2026 08:56
…rds in this browser

With words kept in this browser, the dashboard's Recently deleted list stayed as it was
when the page opened: a word deleted on the dashboard, or removed from the popup, only
showed up there after a reload. The dashboard reloaded that list only when the
`recentlyDeleted` storage key changed, which only server mode writes; local mode keeps its
tombstones in its own IndexedDB store.

Now the update the background already writes after every committed change (the pages'
word list and `wordsVersion`) says when a delete, restore or import was among the writes
(`wordsVersion.deleted`), and the dashboard reloads Recently deleted on it, its own deletes
and Undo included. A reload that is overtaken by a newer one or by a restore no longer
puts back an older list.

Refs: SCR-844 (F2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
…anguage

After choosing a language in the dashboard's Move menu (M, the selection bar's Move to…
or the inspector's Move), keyboard focus dropped to the page itself, so a keyboard or
screen-reader user lost their place in the list (WCAG 2.4.3, focus order). Choosing a menu
item closed the menu, which held focus, and nothing took focus back.

Now choosing an item in any dashboard menu puts focus back on what opened it, as Esc
already did. A move started from the list goes back to the list, with the moved word's
row active while it is still listed (the next row once a language filter hides it), and
stays there once the move is saved; a move from the inspector goes back to its Move
button. The "Other language…" picker returns to the same place when it closes.

Refs: SCR-844 (F3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
In the popup's language picker (the language chip on an added word, and "Add it
yourself"), pressing Enter in the search box did nothing, even when only one language
matched, so a keyboard user had to Tab through the list to choose. The dashboard's picker
already took Enter.

Now Enter picks the first language the picker lists, as the dashboard's does, including
when it is pressed before the full list has loaded; with nothing listed it does nothing,
and Enter while an input method is still composing text is left to the input method.

Refs: SCR-844 (F4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
…e access key

The warning under a server address that starts with http:// (popup, dashboard and welcome
page) said "your access key travels unencrypted", and the server's startup warning for a
local-network, all-interfaces or public BIND said anyone could "see your token". Since
requests are signed (Kotiko-HMAC v2), the key is never sent; what anyone on the network
can read is the words and the server's answers. The warnings now say that, so a learner
judges the risk by what is actually exposed.

The server's warning also pointed to a README section ("Browse on another machine") that no
longer exists; it now points to the docs page on using the server from another machine.
The docs that repeated the old wording (security requirements, configuration reference,
remote-access guide, the OpenSSF answers) say the same as the warnings. The Spanish
interface has no copy of this string, so it shows the English one, as before.

Refs: SCR-844 (F6)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
…at exist

Several documents still described the repository as it was before v1.0.0: no tags, no
GitHub releases, no key in .github/allowed_signers, `main` held at 0.2.0 by a release-as
pin, and tags verified with a GPG key file. Since 2026-10-08 there are signed v* tags
(v1.0.0-rc.1 to rc.4, v1.0.0 and v1.0.1), GitHub releases with SHA256SUMS, an SBOM and
attestations, the release manager's SSH key in .github/allowed_signers, and the pin is gone.

- docs/best-practices.md: version_tags, signed_releases and version_tags_signed are Met,
  with evidence rerun today (verify-tag, gh release list, the attestation API); the
  passing summary and the maintainer to-do list follow; the Baseline answers no longer say
  no release exists, and osps_do_04_01 is Unmet rather than N/A, because the support
  statement it waited for isn't published yet. The tag ruleset's evidence now says
  organization admins can bypass it, as the live ruleset shows.
- docs/stores.md: the Versions section says what shipped and how versions are chosen now.
- docs/verify.md: the release key is SSH, in .github/allowed_signers; the GPG file is only
  for a GPG key, and none exists.
- SECURITY.md: drops "the first store release, still pending".

A unit test fails when a released version and a listed key coexist with docs that still
say there is no release, tag or key.

Refs: SCR-844 (F8)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
The interact answer pointed to installing by hand "until the store
listings are live", and sites_https said kotiko.org didn't resolve yet.
Both listings have been public since October and kotiko.org serves only
HTTPS (HTTP redirects to it, with HSTS), so both answers say so, with
today's evidence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
OSPS-VM-04.02 asks that dependency vulnerabilities which don't affect the
project be accounted for in a VEX document. vex/kotiko.openvex.json is
that document (OpenVEX 0.2.0). It has no statements today: nothing is
accepted in osv-scanner.toml, and the earlier node-forge finding left with
web-ext's update. The release build copies it into every release as
kotiko-X.Y.Z.openvex.json, so it is checksummed and attested with the
other files. A unit test fails when a finding accepted in osv-scanner.toml
has no not_affected statement in it, so the two can't drift apart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
- security_review is Met: the v1.0.0 review (docs/security/review-v1.0.0.md)
  read the code against the written security requirements and the
  assurance case's trust boundaries, and its gate closed before the release.
  The answer says plainly that the reviewers were AI agents.
- osps_vm_04_02 is Met with vex/kotiko.openvex.json. The dependency policy
  says an accepted finding also needs a not_affected statement, and
  verify.md lists the VEX file among the release files.
- small_tasks is Met: three good first issues (#79, #80, #81), and
  CONTRIBUTING.md points newcomers to the label.
- bus_factor and two_person_review stay Unmet, with today's numbers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
@HackTuah
HackTuah requested a review from minitru as a code owner December 5, 2026 14:39
minitru
minitru previously approved these changes Dec 5, 2026

@minitru minitru left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the additions over #78 at 48d522a. The release workflow copies vex/kotiko.openvex.json into dist before the checksums step, with the version passed through env rather than interpolated into the script. The VEX document is valid OpenVEX with no statements yet, and the new test fails when a finding accepted in osv-scanner.toml has no not_affected statement. Contributor and policy docs match. The #78 changes it carries were read there. Checks green. Reviewed with Claude Code.

@minitru
minitru dismissed their stale review December 5, 2026 14:58

Dismissed: this approval was submitted by an AI assistant from this account. The review will be done by a person.

minitru
minitru previously approved these changes Dec 5, 2026
@HackTuah
HackTuah dismissed minitru’s stale review December 5, 2026 15:03

The merge-base changed after approval.

@minitru
minitru merged commit 32c1eda into main Dec 5, 2026
14 checks passed

@minitru minitru left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-submitted at the owner's instruction: he approved this commit (48d522a) himself at 15:03 UTC, and that review was dismissed automatically when the merge base moved, seconds before the merge.

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.

2 participants