# Changelog

## Score

- CAI 34 → 35 (+1.2)

## Lenses

- Code Health 55 → 55 (+0.0)
- Architecture 82 → 82 (+0.0)
- Maturity 50 → 55 (+5.2)
- Readiness 20 → 22 (+1.8)
- Security 47 → 47 (+0.0)
- Accessibility 40 → 40 (+0.0)

## Resolved (17)

- High CVE: MessagePack 2.1.152
- High CVE: MessagePack 2.1.152
- High CVE: NuGet.Protocol 5.11.0
- Inconsistent naming for user-related interfaces. 'IUser' is used in the Application layer, while 'IUserEntity' is used in the Domain layer. This creates confusion about whether these are the same concept or different layers.
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- The 'User' class in the Web layer is used for authorization, but it is not clearly distinguished from domain entities. It appears to be a wrapper or DTO for the current user context.
- The Getting Started section lists prerequisites (VS Code/Visual Studio, .NET 6 SDK, PostgreSQL) and setup steps but omits critical configuration details such as connection strings, environment variables, and how to configure the application for different environments. (README.md)
- The concept of a 'Community' is inconsistently named. While most commands and queries use 'Community' (e.g., CreateCommunityCommand), the handlers and one query use 'Subreddit' (e.g., CreateSubredditHandler, GetAllSubredditsHandler). This suggests 'Community' and 'Subreddit' are used interchangeably for the same domain concept.

## New (20)

- High CVE: MessagePack 2.1.152
- High CVE: MessagePack 2.1.152
- High CVE: NuGet.Protocol 5.11.0
- Inconsistent naming for Community commands. Some use 'Community' while others use 'Subreddit' (see above). Also, the command names are consistent within the Community namespace, but inconsistent with the Query/Handler names in the same namespace.
- Inconsistent naming for Post commands and handlers. 'Post' is used consistently here, which is good. However, compare with Community/Reply naming.
- Inconsistent naming for Post queries. Some use 'GetPosts' (plural) while others use 'GetPost' (singular) or 'GetPostById'. Also, 'GetPostsByFilter' vs 'GetPostsByUserName' vs 'GetPostById' shows a mix of query types.
- Inconsistent naming for page models. 'EditModel', 'CreateModel', 'DeleteModel' are used. This is consistent within each entity's namespace.
- Inconsistent naming for the current user context. 'User' is used in the Authorization namespace, but 'UserEntity' is used for the domain model. Additionally, 'User' is used for the current user context, while 'IUser' and 'IUserEntity' are used for interfaces and domain models respectively.
- Inconsistent terminology for 'Community' entities. Some handlers/queries use 'Subreddit' in their name, while others (e.g., CreateCommunityCommand, GetAllCommunitiesQuery) use 'Community'.
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- Medium CVE: MessagePack 2.1.152
- The 'Getting Started' section is a bare template with only prerequisites and an empty setup; no actual steps or environment variables are shown. (README.md)

## Architecture

- Unchanged — 2 containers · 2 contexts · 1 edges
