Skip to content

feat: wot#1 config#623

Merged
cameri merged 4 commits into
cameri:mainfrom
saniddhyaDubey:feat/wot#1-config
May 24, 2026
Merged

feat: wot#1 config#623
cameri merged 4 commits into
cameri:mainfrom
saniddhyaDubey:feat/wot#1-config

Conversation

@saniddhyaDubey
Copy link
Copy Markdown
Collaborator

Description

Closes (#621)

Adds the WotSettings interface and a wot: config block with safe defaults (enabled: false). This is purely additive — no runtime behaviour changes. Subsequent PRs for the graph service, worker process, and admission guard all depend on these types existing.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my code changes.
  • I added a changeset, or this is docs-only and I added an empty changeset.
  • All new and existing tests passed.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

🦋 Changeset detected

Latest commit: 1c39acc

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@saniddhyaDubey saniddhyaDubey changed the title Feat/wot#1 config feat: wot#1 config May 22, 2026
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented May 22, 2026

Coverage Status

coverage: 65.119% (+0.01%) from 65.108% — saniddhyaDubey:feat/wot#1-config into cameri:main

@cameri cameri requested a review from Copilot May 24, 2026 00:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an initial Web-of-Trust (WoT) configuration surface to the settings types and default config so follow-up WoT implementation PRs have a stable schema to build on.

Changes:

  • Introduces WoTSettings and adds wot?: WoTSettings to the main Settings interface.
  • Adds a wot: block with disabled-by-default values to resources/default-settings.yaml.
  • Adds unit tests asserting the presence of the WoT defaults and basic default/override merging behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/@types/settings.ts Adds the WoTSettings interface and exposes it via Settings.wot.
resources/default-settings.yaml Adds default wot configuration values (disabled by default) and inline documentation.
test/unit/utils/settings.spec.ts Adds tests verifying WoT defaults exist and merge as expected.
.changeset/lemon-views-know.md Declares a minor release for the new user-facing config field.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread resources/default-settings.yaml
Comment thread src/@types/settings.ts
Comment thread test/unit/utils/settings.spec.ts Outdated
@cameri cameri merged commit 54139ed into cameri:main May 24, 2026
18 checks passed
@saniddhyaDubey saniddhyaDubey deleted the feat/wot#1-config branch May 24, 2026 22:36
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.

4 participants