Latest Updates

Documenting code, one commit at a time.

Enhancing AI Auditability Through Structured Summaries

Improving the auditability of AI interactions is crucial for maintaining security and control. A recent update focuses on preventing the exposure of raw code to AI models, enhancing data security, and providing better insights into flagged code changes.

The Challenge of Raw Diffs

Previously, raw git diffs were sent to AI models for analysis. This approach, while providing detailed context,

Read more
Python JavaScript

Adding a Safe Mode and Improving Code Generation

This post discusses recent improvements to our application, focusing on enhanced security measures and smarter code generation capabilities.

Safe Mode Implementation

We've introduced a 'safe mode' feature, giving tenants more control over security audits during post generation. By default, safe mode is enabled, ensuring all generated content undergoes a thorough security check.

Read more
PHP JavaScript

Faster Feedback Loops: Running Tests on Git Changes

In large projects, running the entire test suite can be a significant time sink. Waiting for all tests to pass before merging changes can slow down development and increase feedback loops.

We recently implemented a system to run only the tests related to files changed in a given commit. This dramatically speeds up our test runs and provides faster feedback to developers.

The Approach

Read more
JavaScript

Elevating User Engagement with a Referral Earnings Dashboard Widget

Motivating users to actively participate in referral programs can significantly boost acquisition and growth. We recently enhanced our application's user dashboard with a new widget designed to provide transparent insights into referral earnings and commission structures.

This widget serves as a central hub for users to understand and leverage their referral potential, directly from their

Read more
JavaScript

Enhancements to Manual Post Generation: Introducing Random Mode

Introduction

We've recently enhanced our manual post generator with a new "random mode." This feature streamlines content creation by automating the selection of post examples and additional prompts. This post will discuss the benefits of this new mode and the refactoring involved in its implementation.

Random Mode Functionality

The core addition is the ability to toggle a "random mode"

Read more

Enhancing AI Auditability: From Raw Diffs to Structured Summaries

Improving the way we audit code changes is crucial for maintaining security and stability in our applications. Recently, we transitioned from feeding raw Git diffs directly to our AI analysis tools to using structured summaries. This shift significantly enhances auditability and reduces the risk of exposing sensitive information.

The Problem with Raw Diffs

Sending raw diffs to AI models

Read more
PHP JavaScript

Faster Feedback Loops: Running Tests on Git Changes

Long test suite run times can significantly slow down development. Running the entire suite for every change, especially in larger projects, becomes inefficient. A focused approach that executes only the tests relevant to the modified code provides quicker feedback and accelerates the development cycle.

The Challenge: Identifying Relevant Tests

The primary challenge lies in accurately

Read more
Python JavaScript

Handling Audit False Positives with Domain Validation

Introduction

Auditing tools are crucial for maintaining application security and compliance. However, false positives can create unnecessary noise and divert attention from genuine threats. One common source of these false positives is the detection of reserved domain names, such as those under the IANA's example.com, example.net, and example.

Read more
CSS HTML JavaScript

Adapting UI Components for Themeable Applications

This post delves into a practical approach for creating flexible UI components that seamlessly adapt to various themes within an application. We'll explore how to avoid hardcoded styles and instead leverage style variables to ensure consistent visual appearance across different themes.

The Problem: Hardcoded Styles

In many applications, UI components are initially developed with a specific

Read more