Claude Code ignored CLAUDE.md directives (HTTPS required)

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Jan 15, 2026 · closed Jan 18, 2026

Problem Description

Claude Code did not follow the directives specified in the project's CLAUDE.md file.

Ignored Directive

The CLAUDE.md file clearly specifies:

**HTTPS required:**
- Local web: always on `https://localhost:5173`
- APIs: always start in HTTPS

Observed Behavior

When asked to start the API (.NET 8), Claude Code executed:

dotnet run

This started the API on HTTP (http://localhost:5144) instead of using the HTTPS profile.

Expected Behavior

Claude Code should have executed:

dotnet run --launch-profile https

To start on HTTPS (https://localhost:7010) as specified in the project directives.

Context

  • Claude Code read the CLAUDE.md file before executing the command
  • The directives were clearly documented
  • It only corrected the error after the user pointed it out

Impact

CLAUDE.md directives are critical project instructions that must be strictly followed.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗